Interface OrgStructFunctions
- All Known Implementing Classes:
OrgStructFunctionsImpl
public interface OrgStructFunctions
-
Method Summary
Modifier and TypeMethodDescriptiongetManagers
(UserType user, boolean preAuthorized) getManagers
(UserType user, String orgType, boolean allowSelf, boolean preAuthorized) getManagersByOrgType
(UserType user, String orgType, boolean preAuthorized) getManagersOfOrg
(String orgOid, boolean preAuthorized) getManagersOids
(UserType user, boolean preAuthorized) getManagersOidsExceptUser
(@NotNull Collection<ObjectReferenceType> userRefList, boolean preAuthorized) getManagersOidsExceptUser
(UserType user, boolean preAuthorized) getOrgByName
(String name, boolean preAuthorized) getOrgByOid
(String oid, boolean preAuthorized) getOrgUnits
(UserType user, boolean preAuthorized) getOrgUnits
(UserType user, QName relation, boolean preAuthorized) getParentOrgByArchetype
(ObjectType object, String archetypeOid, boolean preAuthorized) getParentOrgByOrgType
(ObjectType object, String orgType, boolean preAuthorized) getParentOrgs
(ObjectType object, boolean preAuthorized) getParentOrgs
(ObjectType object, String relation, String orgType, boolean preAuthorized) getParentOrgs
(ObjectType object, QName relation, @NotNull Predicate<OrgType> predicate, boolean preAuthorized) getParentOrgs
(ObjectType object, QName relation, String orgType, boolean preAuthorized) getParentOrgsByRelation
(ObjectType object, String relation, boolean preAuthorized) getParentOrgsByRelation
(ObjectType object, QName relation, boolean preAuthorized) boolean
boolean
isManagerOf
(UserType user, String orgOid, boolean preAuthorized) boolean
isManagerOfOrgType
(UserType user, String orgType, boolean preAuthorized)
-
Method Details
-
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
-
getOrgUnits
-
getOrgByOid
- 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 -
isManagerOf
-
isManager
-
isManagerOfOrgType
boolean isManagerOfOrgType(UserType user, String orgType, boolean preAuthorized) throws SchemaException - Throws:
SchemaException
-