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)
OrgType
getOrgByName(String name, boolean preAuthorized)
OrgType
getOrgByOid(String oid, boolean preAuthorized)
Collection<String>
getOrgUnits(UserType user, boolean preAuthorized)
Collection<String>
getOrgUnits(UserType user, QName relation, boolean preAuthorized)
OrgType
getParentOrgByArchetype(ObjectType object, String archetypeOid, boolean preAuthorized)
OrgType
getParentOrgByOrgType(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)
boolean
isManager(UserType user)
boolean
isManagerOf(UserType user, String orgOid, boolean preAuthorized)
boolean
isManagerOfOrgType(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
-
-