|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a Container principal in a directory hierarchy.
Field Summary | |
static String |
PRIN_TYPE_CONTAINER
The constant for the Container principal type. |
Method Summary | |
Collection |
getAncestorContainers(EbiContext context)
Enumerates any ancestors, all the way up to the Root Realm Container, of this container. |
Collection |
getChildren(EbiContext context,
boolean getSubcontainers,
boolean getUsers)
Enumerates the child objects (immediate descendants) of this Realm Container. |
Collection |
getDescendants(EbiContext context,
boolean getSubcontainers,
boolean getUsers)
Enumerates the descendant objects of this Realm Container. |
EbiRealmContainer |
getParentContainer(EbiContext context)
Gets the parent container for this Realm Container. |
boolean |
isAncestorOf(EbiContext context,
Principal prin)
Checks to see if this Realm Container is an ancestor of the specified principal |
boolean |
isRoot()
Tells whether this container is the root one. |
Methods implemented from interface com.sssw.fw.directory.api.EbiRealmPrincipal |
getFullQualifiedName,
getPrincipal,
getPrincipalType,
getRealm,
getShortName,
getUniqueID |
Methods implemented from interface java.security.Principal |
equals,
getName,
hashCode,
toString |
Field Detail |
public static final String PRIN_TYPE_CONTAINER
Method Detail |
public Collection getChildren(EbiContext context, boolean getSubcontainers, boolean getUsers) throws EboUnrecoverableSystemException
context
- contextgetSubcontainers
- if true, any child containers are included in the
returned resultsgetUsers
- if true, any users are included in the returned resultspublic Collection getDescendants(EbiContext context, boolean getSubcontainers, boolean getUsers) throws EboUnrecoverableSystemException
context
- contextgetSubcontainers
- if true, any descendant containers are included
in the returned resultsgetUsers
- if true, any users are included in the returned resultspublic EbiRealmContainer getParentContainer(EbiContext context) throws EboUnrecoverableSystemException
context
- contextpublic boolean isAncestorOf(EbiContext context, Principal prin) throws EboUnrecoverableSystemException
context
- contextprin
- the principalpublic Collection getAncestorContainers(EbiContext context) throws EboUnrecoverableSystemException
context
- contextpublic boolean isRoot()
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |