public interface OrgStructFunctions
Modifier and Type | Method and 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(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 |
getParentOrgByOrgType(ObjectType object,
String orgType,
boolean preAuthorized) |
Collection<OrgType> |
getParentOrgs(ObjectType object,
boolean preAuthorized) |
Collection<OrgType> |
getParentOrgs(ObjectType object,
QName relation,
String orgType,
boolean preAuthorized) |
Collection<OrgType> |
getParentOrgs(ObjectType object,
String relation,
String orgType,
boolean preAuthorized) |
Collection<OrgType> |
getParentOrgsByRelation(ObjectType object,
QName relation,
boolean preAuthorized) |
Collection<OrgType> |
getParentOrgsByRelation(ObjectType object,
String relation,
boolean preAuthorized) |
boolean |
isManager(UserType user) |
boolean |
isManagerOf(UserType user,
String orgOid,
boolean preAuthorized) |
boolean |
isManagerOfOrgType(UserType user,
String orgType,
boolean preAuthorized) |
Collection<String> getManagersOids(UserType user, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
Collection<String> getManagersOidsExceptUser(UserType user, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
Collection<String> getManagersOidsExceptUser(@NotNull Collection<ObjectReferenceType> userRefList, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException, ExpressionEvaluationException
Collection<UserType> getManagers(UserType user, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
Collection<UserType> getManagersByOrgType(UserType user, String orgType, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
Collection<UserType> getManagers(UserType user, String orgType, boolean allowSelf, boolean preAuthorized) throws SchemaException, ObjectNotFoundException, SecurityViolationException
Collection<String> getOrgUnits(UserType user, boolean preAuthorized)
Collection<String> getOrgUnits(UserType user, QName relation, boolean preAuthorized)
OrgType getOrgByOid(String oid, boolean preAuthorized) throws SchemaException
SchemaException
OrgType getOrgByName(String name, boolean preAuthorized) throws SchemaException, SecurityViolationException
OrgType getParentOrgByOrgType(ObjectType object, String orgType, boolean preAuthorized) throws SchemaException, SecurityViolationException
Collection<OrgType> getParentOrgsByRelation(ObjectType object, QName relation, boolean preAuthorized) throws SchemaException, SecurityViolationException
Collection<OrgType> getParentOrgsByRelation(ObjectType object, String relation, boolean preAuthorized) throws SchemaException, SecurityViolationException
Collection<OrgType> getParentOrgs(ObjectType object, boolean preAuthorized) throws SchemaException, SecurityViolationException
Collection<OrgType> getParentOrgs(ObjectType object, String relation, String orgType, boolean preAuthorized) throws SchemaException, SecurityViolationException
Collection<OrgType> getParentOrgs(ObjectType object, QName relation, String orgType, boolean preAuthorized) throws SchemaException, SecurityViolationException
Collection<UserType> getManagersOfOrg(String orgOid, boolean preAuthorized) throws SchemaException, SecurityViolationException
boolean isManager(UserType user)
boolean isManagerOfOrgType(UserType user, String orgType, boolean preAuthorized) throws SchemaException
SchemaException
Copyright © 2019 Evolveum. All rights reserved.