|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface class CategoryManager
The Category management Facade interface
Method Summary | |
---|---|
Item |
addMetaDataAttribute(long mdscatId, NamedValue attributedef, AttributeRequest[] attrrequest) Given an Attribute description, add the attribute to the given class and return the new Attribute item |
Item |
createCategorySubClass(NamedValue[] attributes, AttributeRequest[] attrrequest) Given an array of Attributes that describes a class object, create the Category class object and return the classobject id. |
void |
deleteCategory(long item) Delete a Category instance |
void |
freeCategoryClass(long ahcclassId) Frees the given class object. |
Item[] |
getRequiredCategories(long folderId, AttributeRequest[] requestedAttributes) Deprecated. Request REQUIRED_CATEGORIES on CategoryConfiguration |
Item |
modifyCategorySubClass(long mdscatId, NamedValue[] attributes, AttributeRequest[] attrrequest) modifies the given Category subclass. |
Item |
modifyMetaDataAttribute(long attributeId, NamedValue attributedef, AttributeRequest[] attrrequest) Given an Attribute description, modify the attribute to the given class and return the modified classobject id. |
void |
removeCategoryAttribute(long mdscatId, java.lang.String attributename) Deprecated. use removeMetaDataAttibute |
void |
removeCategoryConfiguration(long folderId) remove the existing CategoryConfiguration for a Folder |
void |
removeMetaDataAttribute(long attributeId) Remove an attribute from a MetaDataCategory class. |
void |
setCategoryConfiguration(long folderId, NamedValue[] config) Sets or updates the CategoryConfiguration for a Folder. |
Item |
updateCategory(long catId, NamedValue[] attrs, AttributeRequest[] attributes) Updates an existing Category |
Method Detail |
---|
Item createCategorySubClass(NamedValue[] attributes, AttributeRequest[] attrrequest) throws FdkException
CategoryManager
attributes
- array of attributes for creating the category class
attrrequest
- requested attributes for each item, or null.FdkException
- if the operation failsItem addMetaDataAttribute(long mdscatId, NamedValue attributedef, AttributeRequest[] attrrequest) throws FdkException
CategoryManager
mscatId
- id of category to which to add this attributeattributedef
- array of NamedValue for adding a new attribute
attrrequest
- requested attributes for each item, or null.FdkException
- if the operation failsItem modifyMetaDataAttribute(long attributeId, NamedValue attributedef, AttributeRequest[] attrrequest) throws FdkException
CategoryManager
attributeId
- id of attribute to be modified.attributedef
- array of NamedValue for adding a new attribute
attrrequest
- requested attributes for each item, or null.FdkException
- if the operation failsItem modifyCategorySubClass(long mdscatId, NamedValue[] attributes, AttributeRequest[] attrrequest) throws FdkException
CategoryManager
attributes
- array of attributes for creating the category class
FdkException
void removeCategoryAttribute(long mdscatId, java.lang.String attributename) throws FdkException
CategoryManager
mscatId
- id of category whose attribute will be modifiedattributename
- name of attribute to remove.FdkException
void removeMetaDataAttribute(long attributeId) throws FdkException
CategoryManager
attributeId
- id of MetaDataAttribute to remove.FdkException
void setCategoryConfiguration(long folderId, NamedValue[] config) throws FdkException
CategoryManager
folderId
- the folder for which to set the Category configurationconfig
- the Category configuration options to set; must include one or more of the following Attributes:
FdkException
- if the operation fails.void removeCategoryConfiguration(long folderId) throws FdkException
CategoryManager
folderId
- the folder for which to remove the Category configurationFdkException
- if the operation fails.void freeCategoryClass(long ahcclassId) throws FdkException
CategoryManager
ahcclass
- - the Item representing the Category ClassObjectFdkException
Item[] getRequiredCategories(long folderId, AttributeRequest[] requestedAttributes) throws FdkException
CategoryManager
folderId
- folder for to fetch the categoriesrequestedAttributes
- list of attributes needed for each itemFdkException
- if the operation failsItem updateCategory(long catId, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
CategoryManager
catId
- Category to be updatedahcDef
- the attributes to update.
attributes
- requested attributes for each item, or null.FileManager.updateDocuments
instead, which will return the new document Item (and its associated categories, which will reflect the update).FdkException
void deleteCategory(long item) throws FdkException
CategoryManager
categoryId
- the category ID to be deleted.FdkException
- if the operation fails.
|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |