|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
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)Gets the required categories for a folder. |
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)Remove an attribute from a MetaDataCategory class. |
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 |
public Item addMetaDataAttribute(long mdscatId,
NamedValue attributedef,
AttributeRequest[] attrrequest)
throws FdkException
attributedef - array of NamedValue for adding a new attribute
attrrequest - requested attributes for each item, or null.FdkException - if the operation fails
public Item createCategorySubClass(NamedValue[] attributes,
AttributeRequest[] attrrequest)
throws FdkException
attributes - array of attributes for creating the category class
attrrequest - requested attributes for each item, or null.FdkException - if the operation fails
public void deleteCategory(long item)
throws FdkException
FdkException - if the operation fails.
public void freeCategoryClass(long ahcclassId)
throws FdkException
FdkException
public Item[] getRequiredCategories(long folderId,
AttributeRequest[] requestedAttributes)
throws FdkException
folderId - folder for to fetch the categoriesrequestedAttributes - list of attributes needed for each itemFdkException - if the operation fails
public Item modifyCategorySubClass(long mdscatId,
NamedValue[] attributes,
AttributeRequest[] attrrequest)
throws FdkException
attributes - array of attributes for creating the category class
FdkException
public Item modifyMetaDataAttribute(long attributeId,
NamedValue attributedef,
AttributeRequest[] attrrequest)
throws FdkException
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 fails
public void removeCategoryAttribute(long mdscatId,
java.lang.String attributename)
throws FdkException
attributename - name of attribute to remove.FdkException - deprecated use removeMetaDataAttibute
public void removeCategoryConfiguration(long folderId)
throws FdkException
folderId - the folder for which to remove the Category configurationFdkException - if the operation fails.
public void removeMetaDataAttribute(long attributeId)
throws FdkException
attributeId - id of MetaDataAttribute to remove.FdkException
public void setCategoryConfiguration(long folderId,
NamedValue[] config)
throws FdkException
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.
public Item updateCategory(long catId,
NamedValue[] attrs,
AttributeRequest[] attributes)
throws FdkException
catId - Category to be updatedattributes - requested attributes for each item, or null.FdkException
|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||