Package com.axemble.vdoc.sdk.impl
Class PortalCategory
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalElement
com.axemble.vdoc.sdk.impl.PortalCategory
- All Implemented Interfaces:
ICategory
,IElement
,ILibraryElement
,IProtocolSupport
,Serializable
- Author:
- vlygeros
- See Also:
-
Field Summary
FieldsFields inherited from class com.axemble.vdoc.sdk.impl.PortalElement
path, storageKey
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
-
Constructor Summary
ConstructorsConstructorDescriptionPortalCategory
(IModule module, com.axemble.webdrive.om.CategoryNode category) -
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 native object underneath.Gets the parent category.void
setDescription
(String description) Sets the description of the category.Methods inherited from class com.axemble.vdoc.sdk.impl.PortalElement
equals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setId
Methods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getPath, save
Methods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Field Details
-
category
protected com.axemble.webdrive.om.CategoryNode category
-
-
Constructor Details
-
PortalCategory
-
-
Method Details
-
getNativeObject
Description copied from interface:IElement
Gets the native object underneath.- Specified by:
getNativeObject
in interfaceIElement
- Returns:
- an object.
-
getName
Description copied from interface:ICategory
Gets the name of theICategory
object.- Specified by:
getName
in interfaceICategory
- Specified by:
getName
in interfaceILibraryElement
- Returns:
- The name of the category object.
-
getCategories
Description copied from interface:ICategory
Gets the child categories- Specified by:
getCategories
in interfaceICategory
- Returns:
- A collection of
ICategory
objects.
-
getCategory
Description copied from interface:ICategory
Gets a childICategory
object by its name.- Specified by:
getCategory
in interfaceICategory
- Parameters:
name
- The name of the child category.- Returns:
- A
ICategory
object.
-
getParentCategory
Description copied from interface:ICategory
Gets the parent category.- Specified by:
getParentCategory
in interfaceICategory
- Returns:
- A
ICategory
object.
-
getDescription
Description copied from interface:ICategory
Gets the description of the category.- Specified by:
getDescription
in interfaceICategory
- Specified by:
getDescription
in interfaceILibraryElement
- Returns:
- a
String
of the file.
-
setDescription
Description copied from interface:ICategory
Sets the description of the category.- Specified by:
setDescription
in interfaceICategory
- Parameters:
description
- the new description to set.
-