Class GroovyDsContainerNode
- java.lang.Object
-
- de.uplanet.lucy.server.usermanager.groovy.AbstractGroovyDsNode
-
- de.uplanet.lucy.server.usermanager.groovy.GroovyDsContainerNode
-
@Scriptable public final class GroovyDsContainerNode extends AbstractGroovyDsNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClassId()
Get the class ID of this org structure node.List<GroovyDsContainerNode>
getContainers()
Get a list of the child containers of this container.String
getDescription()
Get the description of this org structure node.String
getName()
Get the name of this org structure node.GroovyDsContainerNode
getParent()
Get the parent container of this org structure node.List<String>
getPath()
Get the path of this org structure node a a list of path elements.String
getPathAsString()
Get the path of this org structure node.List<GroovyDsSetNode>
getSets()
boolean
hasContainers()
Chech if this container has child containers.boolean
hasSets()
Check if this container has child sets.boolean
isContainer()
boolean
isSet()
String
toString()
Returns a string representation of the container object.-
Methods inherited from class de.uplanet.lucy.server.usermanager.groovy.AbstractGroovyDsNode
equals, get, getAt, getGuid, getPriority, hashCode, hasParent, isContainerClass, isDeleted, isDistListClass, isGroupClass, isObjectClass, isOrganizationClass, isOrgUnitClass, isRoleClass, isSetClass, save, set
-
-
-
-
Method Detail
-
isContainer
public boolean isContainer()
- Specified by:
isContainer
in classAbstractGroovyDsNode
- Returns:
true
since this class represents a container node.
-
isSet
public boolean isSet()
- Specified by:
isSet
in classAbstractGroovyDsNode
- Returns:
false
since this class represents a container node.
-
getClassId
public int getClassId()
Description copied from class:AbstractGroovyDsNode
Get the class ID of this org structure node.- Specified by:
getClassId
in classAbstractGroovyDsNode
- Returns:
- The class ID of this org structure node.
-
getName
public String getName()
Description copied from class:AbstractGroovyDsNode
Get the name of this org structure node.- Specified by:
getName
in classAbstractGroovyDsNode
- Returns:
- The name of this org structure node.
-
getPathAsString
public String getPathAsString()
Description copied from class:AbstractGroovyDsNode
Get the path of this org structure node.- Specified by:
getPathAsString
in classAbstractGroovyDsNode
- Returns:
- The path of this org structure node.
-
getPath
public List<String> getPath()
Description copied from class:AbstractGroovyDsNode
Get the path of this org structure node a a list of path elements.- Specified by:
getPath
in classAbstractGroovyDsNode
- Returns:
- The path of this org structure node.
-
getDescription
public String getDescription()
Description copied from class:AbstractGroovyDsNode
Get the description of this org structure node.- Specified by:
getDescription
in classAbstractGroovyDsNode
- Returns:
- The description of this org structure node.
-
getParent
public GroovyDsContainerNode getParent()
Description copied from class:AbstractGroovyDsNode
Get the parent container of this org structure node.- Specified by:
getParent
in classAbstractGroovyDsNode
- Returns:
- The parent container of this org structure node.
-
hasContainers
public boolean hasContainers()
Chech if this container has child containers.- Returns:
true
if this container has child containers, orfalse
otherwise.
-
getContainers
public List<GroovyDsContainerNode> getContainers()
Get a list of the child containers of this container.- Returns:
- A list of the child containers of this container.
-
hasSets
public boolean hasSets()
Check if this container has child sets.- Returns:
true
if this container has child sets, orfalse
otherwise.
-
getSets
public List<GroovyDsSetNode> getSets()
- Returns:
- A list of the child sets of this container.
-
-