|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a tree-like directory realm.
Method Summary | |
Collection |
getAncestorContainers(EbiContext context,
EbiRealmPrincipal prin)
Enumerates the ancestor containers, all the way up to the root container, of the specified realm principal. |
Collection |
getChildren(EbiContext context,
EbiRealmContainer container,
boolean getSubcontainers,
boolean getUsers)
Enumerates objects that are children (immediate descendants) of the specified container. |
Collection |
getDescendants(EbiContext context,
EbiRealmContainer container,
boolean getSubcontainers,
boolean getUsers)
Enumerates objects that are descendants of the specified container. |
EbiRealmContainer |
getParentContainer(EbiContext context,
EbiRealmPrincipal prin)
Gets the parent container for the given container/user. |
EbiRealmContainer |
getRealmContainer(EbiContext context,
String name)
Gets a container, given its distinguished name. |
EbiRealmUser |
getRealmUser(EbiContext context,
String name)
Gets a realm user, given its distinguished name. |
EbiRealmContainer |
getRootContainer(EbiContext context)
Gets the root container for the realm. |
boolean |
isDescendant(EbiContext context,
EbiRealmContainer container,
Principal prin)
Tells whether the specified principal is descendant of the specified Realm Container. |
Method Detail |
public EbiRealmContainer getRootContainer(EbiContext context) throws EboUnrecoverableSystemException
context
- contextpublic EbiRealmContainer getParentContainer(EbiContext context, EbiRealmPrincipal prin) throws EboUnrecoverableSystemException
context
- contextprin
- the realm principal whose parent is to be retrievedpublic boolean isDescendant(EbiContext context, EbiRealmContainer container, Principal prin) throws EboUnrecoverableSystemException
context
- contextcontainer
- the Realm Containerprin
- the principalpublic Collection getChildren(EbiContext context, EbiRealmContainer container, boolean getSubcontainers, boolean getUsers) throws EboUnrecoverableSystemException
context
- contextcontainer
- the parent realm containergetSubcontainers
- if true, any subcontainers are enumeratedgetUsers
- if true, any users are enumeratedpublic Collection getDescendants(EbiContext context, EbiRealmContainer container, boolean getSubcontainers, boolean getUsers) throws EboUnrecoverableSystemException
context
- contextcontainer
- the ancestor realm containergetSubcontainers
- if true, any subcontainers are enumeratedgetUsers
- if true, any users are enumeratedpublic EbiRealmContainer getRealmContainer(EbiContext context, String name) throws EboUnrecoverableSystemException
context
- contextname
- the distinguished name of the containerpublic EbiRealmUser getRealmUser(EbiContext context, String name) throws EboUnrecoverableSystemException
context
- contextname
- the distinguished name of the userpublic Collection getAncestorContainers(EbiContext context, EbiRealmPrincipal prin) throws EboUnrecoverableSystemException
context
- contextprin
- the principal
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |