Package com.axemble.vdoc.sdk.interfaces
Interface ICategory
- All Superinterfaces:
IElement,ILibraryElement,IProtocolSupport,Serializable
- All Known Implementing Classes:
PortalCategory
The ICategory interface represents a category object.
- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the child categoriesgetCategory(String name) Gets a childICategoryobject by its name.Gets the description of the category.getName()Gets the name of theICategoryobject.Gets the parent category.voidsetDescription(String description) Sets the description of the category.Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Method Details
-
getName
String getName()Gets the name of theICategoryobject.- Specified by:
getNamein interfaceILibraryElement- Returns:
- The name of the category object.
-
setDescription
Sets the description of the category.- Parameters:
description- the new description to set.
-
getDescription
String getDescription()Gets the description of the category.- Specified by:
getDescriptionin interfaceILibraryElement- Returns:
- a
Stringof the file.
-
getCategories
Collection getCategories()Gets the child categories- Returns:
- A collection of
ICategoryobjects.
-
getCategory
Gets a childICategoryobject by its name.- Parameters:
name- The name of the child category.- Returns:
- A
ICategoryobject.
-
getParentCategory
ICategory getParentCategory()Gets the parent category.- Returns:
- A
ICategoryobject.
-