Interface OrgStructFunctions
-
- All Known Implementing Classes:
OrgStructFunctionsImpl
public interface OrgStructFunctions
- Author:
- mederly
-
-
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(UserType user, boolean preAuthorized)
Collection<String>
getManagersOidsExceptUser(Collection<ObjectReferenceType> userRefList, 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
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, 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 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
-
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
-
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
-
-