Interface AttributeAssignDAO
- All Superinterfaces:
GrouperDAO
- All Known Implementing Classes:
Hib3AttributeAssignDAO
attribute assign data access methods
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(AttributeAssign attributeAssign) delete an attribute assign objectfindAllEnabledDisabledMismatch
(long queryTime) find records which are disabled which shouldnt be, and enabled which shouldnt befindAnyMembershipAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments.findAnyMembershipAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType) securely search for assignments.findAnyMembershipAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments.findAnyMembershipAttributeAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments.findAnyMembershipAttributeAssignmentsOnAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of effective memberships (or immediate).findAnyMembershipAttributeAssignmentsOnAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments.findAnyMembershipAttributeDefNames
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled) securely search for attribute def names.findAssignmentsFromAssignments
(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled, boolean useCache) find assignments from assignments.findAssignmentsFromAssignmentsByIds
(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled) find assignments from assignments.findAssignmentsOnAssignments
(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled) find assignments on assignments.findAssignmentsOnAssignments
(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled, Boolean attributeCheckReadOnAttributeDef) find assignments on assignments.findAssignmentsOnAssignmentsAttributeDefNames
(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled) search for assignments on assignments attribute def namesfindAssignmentsOnAssignmentsByIds
(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled) find assignments on assignments.findAssignmentsOnAssignmentsByIds
(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled, Boolean attributeCheckReadOnAttributeDef) find assignments on assignments.findAttributeAssignments
(AttributeAssignType attributeAssignType, String attributeDefId, String attributeDefNameId, String ownerGroupId, String ownerStemId, String ownerMemberId, String ownerAttributeDefId, String ownerMembershipId, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignmentsfindAttributeDefAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments.findAttributeDefAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments.findAttributeDefAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> ownerAttributeDefIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, Boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2) findAttributeDefAttributeAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnOwnerAttributeDef, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments.findAttributeDefAttributeAssignmentsOnAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> mainOwnerAttributeDefIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of attribute defs.findAttributeDefAttributeAssignmentsOnAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnOwnerAttributeDef, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments.findAttributeDefAttributeDefNames
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled) securely search for attributeDefNames.findAttributeDefNamesByAttrAssignIdAndAttributeDefId
(String attrAssignIdToAssignTo, String attributeDefIdToAssign) find attribute def names (distinct) by attribute def idfindAttributeDefNamesByAttributeDefIdAndAttributeDefId
(String attributeDefIdToAssignTo, String attributeDefIdToAssign) find attribute def names (distinct) by attribute def idfindAttributeDefNamesByGroupIdAndAttributeDefId
(String groupId, String attributeDefId) find attribute def names (distinct) by attribute def idfindAttributeDefNamesByGroupIdMemberIdAndAttributeDefId
(String groupId, String memberId, String attributeDefIdToAssign) find attribute def names (distinct) by attribute def idfindAttributeDefNamesByMemberIdAndAttributeDefId
(String memberId, String attributeDefId) find attribute def names (distinct) by attribute def idfindAttributeDefNamesByMembershipIdAndAttributeDefId
(String membershipIdToAssignTo, String attributeDefIdToAssign) find attribute def names (distinct) by attribute def idfindAttributeDefNamesByStemIdAndAttributeDefId
(String stemId, String attributeDefId) find attribute def names (distinct) by attribute def idfindAttributeDefsByAttributeDefNameId
(String attributeDefNameId) findByActionId
(String actionId) findByAssignTypeId
(String attributeTypeAssignId) find attribute assigns by ids, as root (no security).findByAttrAssignIdAndAttributeDefId
(String attrAssignIdToAssignTo, String attributeDefIdToAssign) findByAttrAssignIdAndAttributeDefNameId
(String attrAssignIdToAssignTo, String attributeDefNameIdToAssign) findByAttributeDefIdAndAttributeDefId
(String attributeDefIdToAssignTo, String attributeDefIdToAssign) findByAttributeDefIdAndAttributeDefNameId
(String attributeDefIdToAssignTo, String attributeDefNameIdToAssign) findByAttributeDefNameAndValueString
(String attributeDefNameId, String value, QueryOptions queryOptions) find by attribute name and valuefindByAttributeDefNameId
(String attributeDefNameId) findByAttributeTypeDefNameId
(String attributeTypeDefNameId, QueryOptions queryOptions) find attribute assigns by ids, as root (no security).findByGroupIdAndAttributeDefId
(String groupId, String attributeDefId) findByGroupIdAndAttributeDefNameId
(String groupId, String attributeDefNameId) findByGroupIdMemberIdAndAttributeDefId
(String groupId, String memberId, String attributeDefIdToAssign) findByGroupIdMemberIdAndAttributeDefNameId
(String groupId, String memberId, String attributeDefNameIdToAssign) find by id, use cachefindByIds
(Collection<String> ids, Boolean enabled, boolean useCache) find attribute assignments by ids, this is not a secure method, any ids passed in will be returned if they existfindByMemberIdAndAttributeDefId
(String memberId, String attributeDefId) findByMemberIdAndAttributeDefNameId
(String memberId, String attributeDefNameId) findByMembershipIdAndAttributeDefId
(String membershipIdToAssignTo, String attributeDefIdToAssign) findByMembershipIdAndAttributeDefNameId
(String membershipIdToAssignTo, String attributeDefNameIdToAssign) findByOwnerAttributeAssignId
(String ownerAttributeAssignId) findByOwnerAttributeAssignId
(String ownerAttributeAssignId, QueryOptions queryOptions) findByOwnerAttributeAssignIds
(Collection<String> ownerAttributeAssignIds) retrieve by owner attribute assign ids.findByOwnerAttributeDefId
(String ownerAttributeDefId) findByOwnerGroupId
(String ownerGroupId) findByOwnerMemberId
(String ownerMemberId) findByOwnerMembershipId
(String ownerMembershipId) findByOwnerMembershipIds
(Collection<String> ownerMembershipIds) retrieve by owner immediate membership ids.findByOwnerStemId
(String ownerStemId) findByStemIdAndAttributeDefId
(String stemId, String attributeDefId) findByStemIdAndAttributeDefNameId
(String stemId, String attributeDefNameId) findByUuidOrKey
(Collection<String> idsToIgnore, String id, String attributeDefNameId, String attributeAssignActionId, String ownerAttributeAssignId, String ownerAttributeDefId, String ownerGroupId, String ownerMemberId, String ownerMembershipId, String ownerStemId, boolean exceptionIfNull, Long disabledTimeDb, Long enabledTimeDb, String notes, boolean disallowed) findGroupAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments.findGroupAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType) securely search for assignments.findGroupAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments.findGroupAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef) securely search for assignments.findGroupAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2) securely search for assignments.findGroupAttributeAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments.findGroupAttributeAssignmentsOnAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of groups.findGroupAttributeAssignmentsOnAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments.findGroupAttributeDefNames
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled) securely search for attribute def names.findImmediateMembershipAttributeAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments.findImmediateMembershipAttributeAssignmentsOnAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments.Returns legacy group types (assigned to a given group) that were either migrated or created in the new attribute framework.findMemberAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments.findMemberAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments.findMemberAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2) securely search for assignments.findMemberAttributeAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments.findMemberAttributeAssignmentsOnAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of members.findMemberAttributeAssignmentsOnAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments.findMemberAttributeDefNames
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled) securely search for attribute def names.findMembershipAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments.findMembershipAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments.findMembershipAttributeAssignmentsOnAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of immediate memberships.findMembershipAttributeDefNames
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled) securely search for attribute def names.findStemAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments.findStemAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments.findStemAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef) securely search for assignments.findStemAttributeAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2) securely search for assignments.findStemAttributeAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnStem, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments.findStemAttributeAssignmentsOnAssignments
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of stems.findStemAttributeAssignmentsOnAssignmentsByAttribute
(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments.findStemAttributeDefNames
(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled) securely search for attribute def names.void
saveOrUpdate
(AttributeAssign attributeAssign) insert or update an attribute assign objectvoid
saveUpdateProperties
(AttributeAssign attributeAssign) save the update properties which are auto saved when business method is called
-
Method Details
-
findAllEnabledDisabledMismatch
find records which are disabled which shouldnt be, and enabled which shouldnt be- Parameters:
queryTime
-- Returns:
- the attribute assignments
-
saveOrUpdate
insert or update an attribute assign object- Parameters:
attributeAssign
-
-
delete
delete an attribute assign object- Parameters:
attributeAssign
-
-
findById
find by id, use cache- Parameters:
id
-exceptionIfNotFound
-- Returns:
- the attribute assign or null if not there
-
findById
- Parameters:
id
-exceptionIfNotFound
-useCache
- true to use cache, false for not- Returns:
- the attribute assign or null if not there
-
findByGroupIdAndAttributeDefNameId
- Parameters:
groupId
-attributeDefNameId
-- Returns:
- the attribute assigns or null if not there
-
findByGroupIdAndAttributeDefId
- Parameters:
groupId
-attributeDefId
-- Returns:
- the attribute assigns or null if not there
-
findAttributeDefNamesByGroupIdAndAttributeDefId
Set<AttributeDefName> findAttributeDefNamesByGroupIdAndAttributeDefId(String groupId, String attributeDefId) find attribute def names (distinct) by attribute def id- Parameters:
groupId
-attributeDefId
-- Returns:
- the attribute defs
-
findByMemberIdAndAttributeDefNameId
Set<AttributeAssign> findByMemberIdAndAttributeDefNameId(String memberId, String attributeDefNameId) - Parameters:
memberId
-attributeDefNameId
-- Returns:
- the attribute assigns or null if not there
-
findByMemberIdAndAttributeDefId
- Parameters:
memberId
-attributeDefId
-- Returns:
- the attribute assigns or null if not there
-
findAttributeDefNamesByMemberIdAndAttributeDefId
Set<AttributeDefName> findAttributeDefNamesByMemberIdAndAttributeDefId(String memberId, String attributeDefId) find attribute def names (distinct) by attribute def id- Parameters:
memberId
-attributeDefId
-- Returns:
- the attribute defs
-
findByAssignTypeId
find attribute assigns by ids, as root (no security). this is for one type assignment.- Parameters:
attributeTypeAssignId
- type assign id- Returns:
- attributes
-
findByAttributeTypeDefNameId
Map<AttributeAssign,Set<AttributeAssignValueContainer>> findByAttributeTypeDefNameId(String attributeTypeDefNameId, QueryOptions queryOptions) find attribute assigns by ids, as root (no security). order by attribute type def name, so they are in order- Parameters:
attributeTypeDefNameId
- attribute def name of the type on the ownerqueryOptions
-- Returns:
- attributes grouped by the type assignment
-
findByStemIdAndAttributeDefNameId
- Parameters:
stemId
-attributeDefNameId
-- Returns:
- the attribute assigns or null if not there
-
findByStemIdAndAttributeDefId
- Parameters:
stemId
-attributeDefId
-- Returns:
- the attribute assigns or null if not there
-
findAttributeDefNamesByStemIdAndAttributeDefId
Set<AttributeDefName> findAttributeDefNamesByStemIdAndAttributeDefId(String stemId, String attributeDefId) find attribute def names (distinct) by attribute def id- Parameters:
stemId
-attributeDefId
-- Returns:
- the attribute defs
-
findAttributeDefNamesByAttributeDefIdAndAttributeDefId
Set<AttributeDefName> findAttributeDefNamesByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign) find attribute def names (distinct) by attribute def id- Parameters:
attributeDefIdToAssignTo
-attributeDefIdToAssign
-- Returns:
- the attribute defs
-
findByAttributeDefIdAndAttributeDefId
Set<AttributeAssign> findByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign) - Parameters:
attributeDefIdToAssignTo
-attributeDefIdToAssign
-- Returns:
- the attribute assigns or null if not there
-
findByAttributeDefIdAndAttributeDefNameId
Set<AttributeAssign> findByAttributeDefIdAndAttributeDefNameId(String attributeDefIdToAssignTo, String attributeDefNameIdToAssign) - Parameters:
attributeDefIdToAssignTo
-attributeDefNameIdToAssign
-- Returns:
- the attribute assigns or null if not there
-
findByOwnerAttributeAssignId
- Parameters:
ownerAttributeAssignId
-- Returns:
- the attribute assigns or empty if not there
-
findByOwnerAttributeAssignId
Set<AttributeAssign> findByOwnerAttributeAssignId(String ownerAttributeAssignId, QueryOptions queryOptions) - Parameters:
ownerAttributeAssignId
-queryOptions
-- Returns:
- the attribute assigns or empty if not there
-
findByOwnerAttributeDefId
- Parameters:
ownerAttributeDefId
-- Returns:
- the attribute assigns or empty if not there
-
findAttributeDefsByAttributeDefNameId
- Parameters:
attributeDefNameId
-- Returns:
- the attribute defs or empty if not there
-
findByOwnerGroupId
- Parameters:
ownerGroupId
-- Returns:
- the attribute assigns or empty if not there
-
findByOwnerMembershipIds
retrieve by owner immediate membership ids. note, this is not a secure method, will return any results queried- Parameters:
ownerMembershipIds
-- Returns:
- the attribute assigns, will not return null
-
findByOwnerAttributeAssignIds
retrieve by owner attribute assign ids. note, this is not a secure method, will return any results queried- Parameters:
ownerAttributeAssignIds
-- Returns:
- the attribute assigns, will not return null
-
findByOwnerStemId
- Parameters:
ownerStemId
-- Returns:
- the attribute assigns or empty if not there
-
findByOwnerMemberId
- Parameters:
ownerMemberId
-- Returns:
- the attribute assigns or empty if not there
-
findByOwnerMembershipId
- Parameters:
ownerMembershipId
-- Returns:
- the attribute assigns or empty if not there
-
findAttributeDefNamesByMembershipIdAndAttributeDefId
Set<AttributeDefName> findAttributeDefNamesByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign) find attribute def names (distinct) by attribute def id- Parameters:
membershipIdToAssignTo
-attributeDefIdToAssign
-- Returns:
- the attribute defs
-
findByMembershipIdAndAttributeDefId
Set<AttributeAssign> findByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign) - Parameters:
membershipIdToAssignTo
-attributeDefIdToAssign
-- Returns:
- the attribute assigns or null if not there
-
findByMembershipIdAndAttributeDefNameId
Set<AttributeAssign> findByMembershipIdAndAttributeDefNameId(String membershipIdToAssignTo, String attributeDefNameIdToAssign) - Parameters:
membershipIdToAssignTo
-attributeDefNameIdToAssign
-- Returns:
- the attribute assigns or null if not there
-
findAttributeDefNamesByAttrAssignIdAndAttributeDefId
Set<AttributeDefName> findAttributeDefNamesByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign) find attribute def names (distinct) by attribute def id- Parameters:
attrAssignIdToAssignTo
-attributeDefIdToAssign
-- Returns:
- the attribute defs
-
findByAttrAssignIdAndAttributeDefId
Set<AttributeAssign> findByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign) - Parameters:
attrAssignIdToAssignTo
-attributeDefIdToAssign
-- Returns:
- the attribute assigns or null if not there
-
findByAttributeDefNameId
- Parameters:
attributeDefNameId
-- Returns:
- the attribute assigns or empty if not there
-
findByAttrAssignIdAndAttributeDefNameId
Set<AttributeAssign> findByAttrAssignIdAndAttributeDefNameId(String attrAssignIdToAssignTo, String attributeDefNameIdToAssign) - Parameters:
attrAssignIdToAssignTo
-attributeDefNameIdToAssign
-- Returns:
- the attribute assigns or null if not there
-
findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId
Set<AttributeDefName> findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign) find attribute def names (distinct) by attribute def id- Parameters:
groupId
-memberId
-attributeDefIdToAssign
-- Returns:
- the attribute defs
-
findByGroupIdMemberIdAndAttributeDefId
Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign) - Parameters:
groupId
-memberId
-attributeDefIdToAssign
-- Returns:
- the attribute assigns or null if not there
-
findByGroupIdMemberIdAndAttributeDefNameId
Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefNameId(String groupId, String memberId, String attributeDefNameIdToAssign) - Parameters:
groupId
-memberId
-attributeDefNameIdToAssign
-- Returns:
- the attribute assigns or null if not there
-
saveUpdateProperties
save the update properties which are auto saved when business method is called- Parameters:
attributeAssign
-
-
findByUuidOrKey
AttributeAssign findByUuidOrKey(Collection<String> idsToIgnore, String id, String attributeDefNameId, String attributeAssignActionId, String ownerAttributeAssignId, String ownerAttributeDefId, String ownerGroupId, String ownerMemberId, String ownerMembershipId, String ownerStemId, boolean exceptionIfNull, Long disabledTimeDb, Long enabledTimeDb, String notes, boolean disallowed) throws GrouperDAOException - Parameters:
id
- if find by id, that is itidsToIgnore
- dont return anything in this list, already used or will be usedattributeDefNameId
- which attribute is assignedattributeAssignActionId
- is the action for this assignmentownerAttributeAssignId
- owner must matchownerAttributeDefId
- owner must matchownerGroupId
- owner must matchownerMemberId
- owner must matchownerMembershipId
- owner must matchownerStemId
- owner must matchexceptionIfNull
-disabledTimeDb
- if there are multiple without id match, and this matches, that is goodenabledTimeDb
- if there are multiple without id match, this is goodnotes
- if there are multiple without id match, this is gooddisallowed
- if there are multiple without id match, this is good- Returns:
- the attribute assign or null
- Throws:
GrouperDAOException
- Since:
- 1.6.0
-
findByActionId
- Parameters:
actionId
-- Returns:
- the assignments
-
findGroupAttributeAssignments
Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limit- Returns:
- the assignments
-
findGroupAttributeAssignments
Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included- Returns:
- the assignments
-
findStemAttributeAssignments
Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included- Returns:
- the assignments
-
findStemAttributeAssignments
Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup- Returns:
- the assignments
-
findStemAttributeAssignments
Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookupattributeCheckReadOnAttributeDef
- if check READ security on attribute def- Returns:
- the assignments
-
findStemAttributeAssignments
Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookupattributeCheckReadOnAttributeDef
- if check READ security on attribute defidOfAttributeDefNameOnAssignment
- id of attribute def name that there is an assignment on assignment of with a valueattributeValuesOnAssignment
- values that the attribute def name on assignment of assignment hasidOfAttributeDefNameOnAssignment2
- second id of attribute def name that there is an assignment on assignment of with a valueattributeValuesOnAssignment2
- second values that the attribute def name on assignment of assignment has- Returns:
- the assignments
-
findMemberAttributeAssignments
Set<AttributeAssign> findMemberAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or member ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included- Returns:
- the assignments
-
findAttributeDefAttributeAssignments
Set<AttributeAssign> findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or attribute def assign to ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsattributeDefAssignToIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included- Returns:
- the assignments
-
findMembershipAttributeAssignments
Set<AttributeAssign> findMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmembershipIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included- Returns:
- the assignments
-
findAnyMembershipAttributeAssignments
Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIdsAndMemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included- Returns:
- the assignments
-
findAnyMembershipAttributeAssignments
Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIdsAndMemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- attr, perm, limit, or null for all- Returns:
- the assignments
-
findAssignmentsOnAssignments
Set<AttributeAssign> findAssignmentsOnAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled) find assignments on assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security- Parameters:
attributeAssigns
- to find assignments on these assignmentsattributeAssignType
- of the assignments we are looking for or null for allenabled
- null for all, true for enabled only, false for disabled only- Returns:
- the assignments
-
findAssignmentsOnAssignmentsByIds
Set<AttributeAssign> findAssignmentsOnAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled) find assignments on assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security- Parameters:
attributeAssignIds
- to find assignments on these assignment idsattributeAssignType
- of the assignments we are looking forattributeDefType
- attr, perm, limit, or null for allenabled
- null for all, true for enabled only, false for disabled only- Returns:
- the assignments
-
findAssignmentsOnAssignments
Set<AttributeAssign> findAssignmentsOnAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled, Boolean attributeCheckReadOnAttributeDef) find assignments on assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security- Parameters:
attributeAssigns
- to find assignments on these assignmentsattributeAssignType
- of the assignments we are looking for or null for allenabled
- null for all, true for enabled only, false for disabled onlyattributeCheckReadOnAttributeDef
- if check read on attribute def- Returns:
- the assignments
-
findAssignmentsOnAssignmentsByIds
Set<AttributeAssign> findAssignmentsOnAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled, Boolean attributeCheckReadOnAttributeDef) find assignments on assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security- Parameters:
attributeAssignIds
- to find assignments on these assignment idsattributeAssignType
- of the assignments we are looking forattributeDefType
- attr, perm, limit, or null for allenabled
- null for all, true for enabled only, false for disabled onlyattributeCheckReadOnAttributeDef
- if check read on attribute def- Returns:
- the assignments
-
findGroupAttributeDefNames
Set<AttributeDefName> findGroupAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled) securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
-
findMemberAttributeDefNames
Set<AttributeDefName> findMemberAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled) securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or member ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
-
findMembershipAttributeDefNames
Set<AttributeDefName> findMembershipAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled) securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmembershipIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
-
findStemAttributeDefNames
Set<AttributeDefName> findStemAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled) securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
-
findAnyMembershipAttributeDefNames
Set<AttributeDefName> findAnyMembershipAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled) securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIdsAndMemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
-
findAttributeDefAttributeDefNames
Set<AttributeDefName> findAttributeDefAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled) securely search for attributeDefNames. need to pass in either the assign ids, def ids, def name ids, or attribute def assign to ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsattributeDefAssignToIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
-
findByAttributeDefNameAndValueString
Set<AttributeAssign> findByAttributeDefNameAndValueString(String attributeDefNameId, String value, QueryOptions queryOptions) find by attribute name and value- Parameters:
attributeDefNameId
-value
-queryOptions
-- Returns:
- the attribute assigns that match
-
findAttributeAssignments
Set<AttributeAssign> findAttributeAssignments(AttributeAssignType attributeAssignType, String attributeDefId, String attributeDefNameId, String ownerGroupId, String ownerStemId, String ownerMemberId, String ownerAttributeDefId, String ownerMembershipId, Boolean enabled, boolean includeAssignmentsOnAssignments) securely search for assignments- Parameters:
attributeAssignType
-attributeDefId
- optionalattributeDefNameId
- mutually exclusive with attributeDefIdsownerGroupId
- optionalownerStemId
- optionalownerMemberId
- optionalownerAttributeDefId
- optionalownerMembershipId
- optionalenabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included- Returns:
- the assignments
-
findAssignmentsOnAssignmentsAttributeDefNames
Set<AttributeDefName> findAssignmentsOnAssignmentsAttributeDefNames(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled) search for assignments on assignments attribute def names- Parameters:
attributeAssigns
- to search onattributeAssignType
-enabled
- null for all...- Returns:
- the attribute def names
-
findAttributeDefAttributeAssignments
Set<AttributeAssign> findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or attribute def assign to ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsattributeDefAssignToIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeDefType
- attr, perm, limit, or null for allincludeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup- Returns:
- the assignments
-
findAttributeDefAttributeAssignments
Set<AttributeAssign> findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> ownerAttributeDefIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, Boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2) - Parameters:
attributeAssignIds
-attributeDefIds
-attributeDefNameIds
-ownerAttributeDefIds
-actions
-enabled
-includeAssignmentsOnAssignments
-attributeDefType
-attributeDefValueType
-theValue
-attributeCheckReadOnAttributeDef
-idOfAttributeDefNameOnAssignment
- id of attribute def name that there is an assignment on assignment of with a valueattributeValuesOnAssignment
- values that the attribute def name on assignment of assignment hasidOfAttributeDefNameOnAssignment2
- second id of attribute def name that there is an assignment on assignment of with a valueattributeValuesOnAssignment2
- second values that the attribute def name on assignment of assignment has- Returns:
- the set of attribute assignments
-
findAnyMembershipAttributeAssignments
Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIdsAndMemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- attr, perm, limit, or null for allattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well- Returns:
- the assignments
-
findGroupAttributeAssignments
Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well- Returns:
- the assignments
-
findGroupAttributeAssignments
Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as wellattributeCheckReadOnAttributeDef
- if security should be checked on attribute def- Returns:
- the assignments
-
findGroupAttributeAssignments
Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as wellattributeCheckReadOnAttributeDef
- if security should be checked on attribute defidOfAttributeDefNameOnAssignment
- id of attribute def name that there is an assignment on assignment of with a valueattributeValuesOnAssignment
- values that the attribute def name on assignment of assignment hasidOfAttributeDefNameOnAssignment2
- second id of attribute def name that there is an assignment on assignment of with a valueattributeValuesOnAssignment2
- second values that the attribute def name on assignment of assignment has- Returns:
- the assignments
-
findMemberAttributeAssignments
Set<AttributeAssign> findMemberAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as wellattributeCheckReadOnAttributeDef
- if security should be checked on attribute defidOfAttributeDefNameOnAssignment
- id of attribute def name that there is an assignment on assignment of with a valueattributeValuesOnAssignment
- values that the attribute def name on assignment of assignment hasidOfAttributeDefNameOnAssignment2
- second id of attribute def name that there is an assignment on assignment of with a valueattributeValuesOnAssignment2
- second values that the attribute def name on assignment of assignment has- Returns:
- the assignments
-
findGroupAttributeAssignmentsByAttribute
Set<Object[]> findGroupAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnGroup
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-includeAssignmentsOnAssignments
- if include assignments on assignmentsfilter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attrdefs, attrdefnames, groups, assignments and optionally set of values
-
findGroupAttributeAssignmentsOnAssignmentsByAttribute
Set<Object[]> findGroupAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnGroup
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attr defs, attr def names, groups and assignments and optionally set of values
-
findStemAttributeAssignmentsOnAssignmentsByAttribute
Set<Object[]> findStemAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnGroup
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attr defs, attr def names, stems and assignments and optionally set of values
-
findAttributeDefAttributeAssignmentsOnAssignmentsByAttribute
Set<Object[]> findAttributeDefAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnOwnerAttributeDef, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnOwnerAttributeDef
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attr defs, attr def names, stems and assignments and optionally set of values
-
findMemberAttributeAssignments
Set<AttributeAssign> findMemberAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or member ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup- Returns:
- the assignments
-
findMembershipAttributeAssignments
Set<AttributeAssign> findMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmembershipIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be includedattributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well- Returns:
- the assignments
-
findStemAttributeAssignmentsOnAssignments
Set<AttributeAssign> findStemAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of stems. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookupincludeAssignmentsFromAssignments
- T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as wellownerAttributeAssignIds
- attribute assignment ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefIds
- attribute definition ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefNameIds
- attribute definition names ids of the owner assignments (where the attributes are assigned to)ownerActions
- actions of the owner assignmentuseCache
- to use a cache or not- Returns:
- the assignments
-
findAssignmentsFromAssignments
Set<AttributeAssign> findAssignmentsFromAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled, boolean useCache) find assignments from assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security- Parameters:
attributeAssigns
- to find assignments on these assignmentsattributeAssignType
- of the assignments we are looking for or null for allenabled
- null for all, true for enabled only, false for disabled onlyuseCache
-- Returns:
- the assignments
-
findAssignmentsFromAssignmentsByIds
Set<AttributeAssign> findAssignmentsFromAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled) find assignments from assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security- Parameters:
attributeAssignIds
- to find assignments on these assignment idsattributeAssignType
- of the assignments we are looking forattributeDefType
- attr, perm, limit, or null for allenabled
- null for all, true for enabled only, false for disabled only- Returns:
- the assignments
-
findByIds
find attribute assignments by ids, this is not a secure method, any ids passed in will be returned if they exist- Parameters:
ids
- no limit on number of ids passedenabled
- true to find enabled only, false to return disabled onlyuseCache
- true to use a cache for the query, false if not- Returns:
- the results never null
-
findMemberAttributeAssignmentsOnAssignments
Set<AttributeAssign> findMemberAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of members. need to pass in either the assign ids, def ids, def name ids, or member ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookupincludeAssignmentsFromAssignments
- T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as wellownerAttributeAssignIds
- attribute assignment ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefIds
- attribute definition ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefNameIds
- attribute definition names ids of the owner assignments (where the attributes are assigned to)ownerActions
- actions of the owner assignmentuseCache
- to use a cache or not- Returns:
- the assignments
-
findGroupAttributeAssignmentsOnAssignments
Set<AttributeAssign> findGroupAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of groups. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookupincludeAssignmentsFromAssignments
- T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as wellownerAttributeAssignIds
- attribute assignment ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefIds
- attribute definition ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefNameIds
- attribute definition names ids of the owner assignments (where the attributes are assigned to)ownerActions
- actions of the owner assignmentuseCache
- to use a cache or not- Returns:
- the assignments
-
findAttributeDefAttributeAssignmentsOnAssignments
Set<AttributeAssign> findAttributeDefAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> mainOwnerAttributeDefIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of attribute defs. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmainOwnerAttributeDefIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookupincludeAssignmentsFromAssignments
- T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as wellownerAttributeAssignIds
- attribute assignment ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefIds
- attribute definition ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefNameIds
- attribute definition names ids of the owner assignments (where the attributes are assigned to)ownerActions
- actions of the owner assignmentuseCache
- to use a cache or not- Returns:
- the assignments
-
findMembershipAttributeAssignmentsOnAssignments
Set<AttributeAssign> findMembershipAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of immediate memberships. need to pass in either the assign ids, def ids, def name ids, or imm membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmembershipIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookupincludeAssignmentsFromAssignments
- T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as wellownerAttributeAssignIds
- attribute assignment ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefIds
- attribute definition ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefNameIds
- attribute definition names ids of the owner assignments (where the attributes are assigned to)ownerActions
- actions of the owner assignmentuseCache
- to use a cache or not- Returns:
- the assignments
-
findAnyMembershipAttributeAssignmentsOnAssignments
Set<AttributeAssign> findAnyMembershipAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache) securely search for assignments on assignments of effective memberships (or immediate). need to pass in either the assign ids, def ids, def name ids, or imm membership ids cannot have more than 100 bind variables- Parameters:
attributeAssignIds
-attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIdsAndMemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeDefType
- null for all, or specify a type e.g. AttributeDefType.limitattributeDefValueType
- required if sending theValue, can be: floating, integer, memberId, string, timestamptheValue
- value if you are passing in one attributeDefNameLookupincludeAssignmentsFromAssignments
- T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as wellownerAttributeAssignIds
- attribute assignment ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefIds
- attribute definition ids of the owner assignments (where the attributes are assigned to)ownerAttributeDefNameIds
- attribute definition names ids of the owner assignments (where the attributes are assigned to)ownerActions
- actions of the owner assignmentuseCache
- to use a cache or not- Returns:
- the assignments
-
findLegacyGroupTypeAssignmentsByGroupId
Returns legacy group types (assigned to a given group) that were either migrated or created in the new attribute framework.- Parameters:
groupId
-- Returns:
- the values where the keys are the legacy group type names
-
findStemAttributeAssignmentsByAttribute
Set<Object[]> findStemAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnStem, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnStem
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-includeAssignmentsOnAssignments
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attrdefs, attrdefnames, stems, assignments and optionally set of values
-
findAttributeDefAttributeAssignmentsByAttribute
Set<Object[]> findAttributeDefAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnOwnerAttributeDef, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnOwnerAttributeDef
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-includeAssignmentsOnAssignments
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attrdefs, attrdefnames, stems, assignments and optionally set of values
-
findMemberAttributeAssignmentsByAttribute
Set<Object[]> findMemberAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-includeAssignmentsOnAssignments
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attrdefs, attrdefnames, members, assignments and optionally set of values
-
findMemberAttributeAssignmentsOnAssignmentsByAttribute
Set<Object[]> findMemberAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attr defs, attr def names, stems and assignments and optionally set of values
-
findImmediateMembershipAttributeAssignmentsByAttribute
Set<Object[]> findImmediateMembershipAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnGroup
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-includeAssignmentsOnAssignments
- if include assignments on assignmentsfilter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attrdefs, attrdefnames, groups/members/memberships array, assignments and optionally set of values
-
findImmediateMembershipAttributeAssignmentsOnAssignmentsByAttribute
Set<Object[]> findImmediateMembershipAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnGroup
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attr defs, attr def names, groups/members/memberships array, and assignments and optionally set of values
-
findAnyMembershipAttributeAssignmentsOnAssignmentsByAttribute
Set<Object[]> findAnyMembershipAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnGroup
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-filter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attr defs, attr def names, groups/members array, and assignments and optionally set of values
-
findAnyMembershipAttributeAssignmentsByAttribute
Set<Object[]> findAnyMembershipAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter) securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)checkAttributeReadOnGroup
-attributeCheckReadOnAttributeDef
-queryOptions
-retrieveValues
-includeAssignmentsOnAssignments
- if include assignments on assignmentsfilter
- filter if filtering by group infosplitFilter
- true (default) if filter has spaces, split and look for all anywhere- Returns:
- attrdefs, attrdefnames, groups/members array, assignments and optionally set of values
-