public interface Organization extends OrganizationalEntity
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
addChild(OrganizationalEntity pChild)
Add an organizational entity as a child of this organization. 
 | 
java.util.Collection | 
getChildOrganizations()
Get all sub-organizations that are immediately contained in this
  organization. 
 | 
java.util.Collection | 
getChildOrganizationsSortOnName(int pStartIndex,
                               int pEndIndex,
                               int pSortOrder)
Get all sub-organizations immediately contained in this organization, 
  sorted on the name of the organization, with index control of the result set 
  returned as a collection. 
 | 
java.util.Collection | 
getChildren()
Get all users and sub-organizations that are immediately
  contained in this organization. 
 | 
java.util.Collection | 
getChildUsers()
Get all users immediately contained in this organization. 
 | 
java.util.Collection | 
getChildUsersSortOnEmailAddress(int pStartIndex,
                               int pEndIndex,
                               int pSortOrder)
Get all users immediately contained in this organization, sorted 
  on the emailAddress of the user, with index control of the result set 
  returned as a collection. 
 | 
java.util.Collection | 
getChildUsersSortOnFirstName(int pStartIndex,
                            int pEndIndex,
                            int pSortOrder)
Get all users immediately contained in this organization, sorted 
  on the firstName of the user, with index control of the result set 
  returned as a collection. 
 | 
java.util.Collection | 
getChildUsersSortOnLastName(int pStartIndex,
                           int pEndIndex,
                           int pSortOrder)
Get all users immediately contained in this organization, sorted 
  on the lastName of the user, with index control of the result set 
  returned as a collection. 
 | 
java.util.Collection | 
getChildUsersSortOnLogin(int pStartIndex,
                        int pEndIndex,
                        int pSortOrder)
Get all users immediately contained in this organization, sorted 
  on the login of the user, with index control of the result set 
  returned as a collection. 
 | 
boolean | 
hasChild(OrganizationalEntity pChild)
Determine whether an organization has some entity as an
 immediate child. 
 | 
boolean | 
removeChild(OrganizationalEntity pChild)
Remove an organizational entity from this organization as a
 child. 
 | 
assignRole, getAncestorOrganizations, getAssignedRoles, getParentOrganization, hasAssignedRole, removeRolecreateRelativeRole, getAccessRights, getDescription, getEffectivePrincipals, getMembers, getOrganizationMembersSortOnName, getPrimaryKey, getRelativeRole, getRelativeRoles, getUserDirectory, getUserMembersSortOnEmailAddress, getUserMembersSortOnFirstName, getUserMembersSortOnLastName, getUserMembersSortOnLogin, hasMemberstatic final java.lang.String CLASS_VERSION
java.util.Collection getChildren()
java.util.Collection getChildOrganizations()
java.util.Collection getChildOrganizationsSortOnName(int pStartIndex,
                                                   int pEndIndex,
                                                   int pSortOrder)
pStartIndex - starting index of the sorted result set.pEndEndex - end index of the sorted result set.  a value of -1 sets the end index to infinite.pSortOrder - sort order of the return set.
 valid values = { UserDirectory.ASCENDING, UserDirectory.DESCENDING }java.util.Collection getChildUsers()
java.util.Collection getChildUsersSortOnLogin(int pStartIndex,
                                            int pEndIndex,
                                            int pSortOrder)
pStartIndex - starting index of the sorted result set.pEndEndex - end index of the sorted result set.  a value of -1 sets the end index to infinite.pSortOrder - sort order of the return set.
 valid values = { UserDirectory.ASCENDING, UserDirectory.DESCENDING }java.util.Collection getChildUsersSortOnFirstName(int pStartIndex,
                                                int pEndIndex,
                                                int pSortOrder)
pStartIndex - starting index of the sorted result set.pEndEndex - end index of the sorted result set.  a value of -1 sets the end index to infinite.pSortOrder - sort order of the return set.
 valid values = { UserDirectory.ASCENDING, UserDirectory.DESCENDING }java.util.Collection getChildUsersSortOnLastName(int pStartIndex,
                                               int pEndIndex,
                                               int pSortOrder)
pStartIndex - starting index of the sorted result set.pEndEndex - end index of the sorted result set.  a value of -1 sets the end index to infinite.pSortOrder - sort order of the return set.
 valid values = { UserDirectory.ASCENDING, UserDirectory.DESCENDING }java.util.Collection getChildUsersSortOnEmailAddress(int pStartIndex,
                                                   int pEndIndex,
                                                   int pSortOrder)
pStartIndex - starting index of the sorted result set.pEndEndex - end index of the sorted result set.  a value of -1 sets the end index to infinite.pSortOrder - sort order of the return set.
 valid values = { UserDirectory.ASCENDING, UserDirectory.DESCENDING }boolean hasChild(OrganizationalEntity pChild)
pChild - a principal representing a potential child of that
 organizationboolean addChild(OrganizationalEntity pChild) throws DirectoryModificationException
pChild - a principal representing a user or sub-organization to be
 added to the parent organizationDirectoryModificationException - occurs if the operation fails
 unexpectedly; a nested exception provides details.boolean removeChild(OrganizationalEntity pChild) throws DirectoryModificationException
pChild - a principal representing a user or sub-organization to be
 removed from the parent organizationDirectoryModificationException - occurs if the operation fails
 unexpectedly; a nested exception provides details.