|
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 - context
public EbiRealmContainer getParentContainer(EbiContext context,
EbiRealmPrincipal prin)
throws EboUnrecoverableSystemException
context - contextprin - the realm principal whose parent is to be retrieved
public boolean isDescendant(EbiContext context,
EbiRealmContainer container,
Principal prin)
throws EboUnrecoverableSystemException
context - contextcontainer - the Realm Containerprin - the principal
public 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 enumerated
public 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 enumerated
public EbiRealmContainer getRealmContainer(EbiContext context,
String name)
throws EboUnrecoverableSystemException
context - contextname - the distinguished name of the container
public EbiRealmUser getRealmUser(EbiContext context,
String name)
throws EboUnrecoverableSystemException
context - contextname - the distinguished name of the user
public 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 | ||||||||