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 childICategory
object by its name.Gets the description of the category.getName()
Gets the name of theICategory
object.Gets the parent category.void
setDescription
(String description) Sets the description of the category.Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, save
Methods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Method Details
-
getName
String getName()Gets the name of theICategory
object.- Specified by:
getName
in 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:
getDescription
in interfaceILibraryElement
- Returns:
- a
String
of the file.
-
getCategories
Collection getCategories()Gets the child categories- Returns:
- A collection of
ICategory
objects.
-
getCategory
Gets a childICategory
object by its name.- Parameters:
name
- The name of the child category.- Returns:
- A
ICategory
object.
-
getParentCategory
ICategory getParentCategory()Gets the parent category.- Returns:
- A
ICategory
object.
-