Classification Web Service Future Additions

cancel
Showing results for 
Search instead for 
Did you mean: 

Classification Web Service Future Additions

resplin
Intermediate
0 0 999

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Web Services
Back to Classification Web Service.




Future additions to the classification web service.


Types


Category


  • Reference reference - the category reference
  • xsd:string title - the title of the category
  • xsd:string description - the description of the category

Classification


  • Name classification - the name of the classification
  • Reference[] rootCategories - the root categories
  • string title - the title of the classification
  • string description - the description of the classification

Methods


createClassification


Create a new classification.

Classification createClassification(Store store, string aspectName, string propertyName)

Parmeters:


  • store - the store to create the classification in
  • aspectName - the name of the classification aspect.  This should be the string representation of a QName.
  • propertyName - the name of the property on the classification aspect that will be used to store the classification value within.  This should be the string representation of a QName.

createRootCategory


Classification createRootCategory(Classification classification, string categoryName)


createCategory


Category createCategory(Category parentCategory, string categoryName)


deleteClassification


Delete a classification from the respository.

void deleteClassification(Classification classification)

Parameters:


  • classification - the classification to delete

deleteCategory


Delete a category.

void deleteCategory(Category category)

Parameters:


  • category - the category to delete




Notes


  • Should a name attribute be added to the category type? (currently title is being used as the name)