Interface OrgStructFunctions
- 
public interface OrgStructFunctions 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<UserType>getManagers(UserType user, boolean preAuthorized)Collection<UserType>getManagers(UserType user, String orgType, boolean allowSelf, boolean preAuthorized)Collection<UserType>getManagersByOrgType(UserType user, String orgType, boolean preAuthorized)Collection<UserType>getManagersOfOrg(String orgOid, boolean preAuthorized)Collection<String>getManagersOids(UserType user, boolean preAuthorized)Collection<String>getManagersOidsExceptUser(@NotNull Collection<ObjectReferenceType> userRefList, boolean preAuthorized)Collection<String>getManagersOidsExceptUser(UserType user, boolean preAuthorized)OrgTypegetOrgByName(String name, boolean preAuthorized)OrgTypegetOrgByOid(String oid, boolean preAuthorized)Collection<String>getOrgUnits(UserType user, boolean preAuthorized)Collection<String>getOrgUnits(UserType user, QName relation, boolean preAuthorized)OrgTypegetParentOrgByArchetype(ObjectType object, String archetypeOid, boolean preAuthorized)OrgTypegetParentOrgByOrgType(ObjectType object, String orgType, boolean preAuthorized)Collection<OrgType>getParentOrgs(ObjectType object, boolean preAuthorized)Collection<OrgType>getParentOrgs(ObjectType object, String relation, String orgType, boolean preAuthorized)Collection<OrgType>getParentOrgs(ObjectType object, QName relation, @NotNull Predicate<OrgType> predicate, boolean preAuthorized)Collection<OrgType>getParentOrgs(ObjectType object, QName relation, String orgType, boolean preAuthorized)Collection<OrgType>getParentOrgsByRelation(ObjectType object, String relation, boolean preAuthorized)Collection<OrgType>getParentOrgsByRelation(ObjectType object, QName relation, boolean preAuthorized)booleanisManager(UserType user)booleanisManagerOf(UserType user, String orgOid, boolean preAuthorized)booleanisManagerOfOrgType(UserType user, String orgType, boolean preAuthorized) 
 - 
 
- 
- 
Method Detail
- 
getManagersOids
Collection<String> getManagersOids(UserType user, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
 
- 
getManagersOidsExceptUser
Collection<String> getManagersOidsExceptUser(UserType user, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
 
- 
getManagersOidsExceptUser
Collection<String> getManagersOidsExceptUser(@NotNull @NotNull Collection<ObjectReferenceType> userRefList, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException, ExpressionEvaluationException
 
- 
getManagers
Collection<UserType> getManagers(UserType user, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
 
- 
getManagersByOrgType
Collection<UserType> getManagersByOrgType(UserType user, String orgType, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
 
- 
getManagers
Collection<UserType> getManagers(UserType user, String orgType, boolean allowSelf, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
 
- 
getOrgUnits
Collection<String> getOrgUnits(UserType user, boolean preAuthorized)
 
- 
getOrgUnits
Collection<String> getOrgUnits(UserType user, QName relation, boolean preAuthorized)
 
- 
getOrgByOid
OrgType getOrgByOid(String oid, boolean preAuthorized) throws SchemaException
- Throws:
 SchemaException
 
- 
getOrgByName
OrgType getOrgByName(String name, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getParentOrgByOrgType
OrgType getParentOrgByOrgType(ObjectType object, String orgType, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getParentOrgByArchetype
OrgType getParentOrgByArchetype(ObjectType object, String archetypeOid, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getParentOrgsByRelation
Collection<OrgType> getParentOrgsByRelation(ObjectType object, QName relation, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getParentOrgsByRelation
Collection<OrgType> getParentOrgsByRelation(ObjectType object, String relation, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getParentOrgs
Collection<OrgType> getParentOrgs(ObjectType object, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getParentOrgs
Collection<OrgType> getParentOrgs(ObjectType object, String relation, String orgType, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getParentOrgs
Collection<OrgType> getParentOrgs(ObjectType object, QName relation, String orgType, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getParentOrgs
Collection<OrgType> getParentOrgs(ObjectType object, QName relation, @NotNull @NotNull Predicate<OrgType> predicate, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
getManagersOfOrg
Collection<UserType> getManagersOfOrg(String orgOid, boolean preAuthorized) throws SchemaException, SecurityViolationException
 
- 
isManager
boolean isManager(UserType user)
 
- 
isManagerOfOrgType
boolean isManagerOfOrgType(UserType user, String orgType, boolean preAuthorized) throws SchemaException
- Throws:
 SchemaException
 
 - 
 
 -