Class Hib3AttributeAssignDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3AttributeAssignDAO
- All Implemented Interfaces:
AttributeAssignDAO
,GrouperDAO
Data Access Object for attribute def
- Version:
- $Id: Hib3AttributeAssignDAO.java,v 1.10 2009-10-02 05:57:58 mchyzer Exp $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
remove all cachesstatic void
attributeDefNameCacheRemove
(AttributeDef attributeDef) remove this from all cachesvoid
delete
(AttributeAssign attributeAssign) deletefilterAttributeDefNames
(GrouperSession grouperSession, Set<AttributeDefName> attibuteDefNames) findAllEnabledDisabledMismatch
(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) retrieve by idretrieve by idfindByIds
(Collection<String> ids, Boolean enabled, boolean useCache) retrieve by ids.findByMemberIdAndAttributeDefId
(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 exceptionIfNotFound, 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 checkAttributeReadOnStem, 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.static void
queryByValueAddTablesWhereClause
(ByHqlStatic byHqlStatic, StringBuilder sqlTables, StringBuilder sqlWhereClause, AttributeDefValueType attributeDefValueType, Object theValue) make sure if sending a value you are sending a value type, and add table if necessarystatic void
queryByValuesAddTablesWhereClause
(ByHqlStatic byHqlStatic, StringBuilder sqlTables, StringBuilder sqlWhereClause, AttributeDefValueType attributeDefValueType, Set<Object> theValues, String attributeAssignAlias) make sure if sending a value you are sending a value type, and add table if necessaryvoid
saveOrUpdate
(AttributeAssign attributeAssign) save or updatevoid
saveUpdateProperties
(AttributeAssign attributeAssign) save the update properties which are auto saved when business method is calledMethods inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
evict, evictEntity, evictQueries, getConfiguration, getConfiguration, getSessionFactory, getSessionFactory, hibernateInitted, initHibernateIfNotInitted, initHibernateIfNotInitted, resourceNameFromClassName, session, session
-
Constructor Details
-
Hib3AttributeAssignDAO
public Hib3AttributeAssignDAO()
-
-
Method Details
-
attributeAssignCacheClear
public static void attributeAssignCacheClear()remove all caches -
findAllEnabledDisabledMismatch
Description copied from interface:AttributeAssignDAO
find records which are disabled which shouldnt be, and enabled which shouldnt be- Specified by:
findAllEnabledDisabledMismatch
in interfaceAttributeAssignDAO
- Returns:
- the attribute assignments
- See Also:
-
findById
retrieve by id- Specified by:
findById
in interfaceAttributeAssignDAO
- Parameters:
id
-exceptionIfNotFound
-- Returns:
- the attribute assign
-
findById
retrieve by id- Specified by:
findById
in interfaceAttributeAssignDAO
- Parameters:
id
-exceptionIfNotFound
-useCache
-- Returns:
- the attribute assign
-
findByIds
retrieve by ids. note, this is not a secure method, will return any results queried- Specified by:
findByIds
in interfaceAttributeAssignDAO
- Parameters:
id
-exceptionIfNotFound
-useCache
-- Returns:
- the attribute assigns, will not return null
-
findByOwnerMembershipIds
retrieve by owner immediate membership ids. note, this is not a secure method, will return any results queried- Specified by:
findByOwnerMembershipIds
in interfaceAttributeAssignDAO
- Parameters:
ownerMembershipIds
-- Returns:
- the attribute assigns, will not return null
-
findByOwnerAttributeAssignIds
public Set<AttributeAssign> findByOwnerAttributeAssignIds(Collection<String> ownerAttributeAssignIds) retrieve by owner attribute assign ids. note, this is not a secure method, will return any results queried- Specified by:
findByOwnerAttributeAssignIds
in interfaceAttributeAssignDAO
- Parameters:
ownerAttributeAssignIds
-- Returns:
- the attribute assigns, will not return null
-
saveOrUpdate
save or update- Specified by:
saveOrUpdate
in interfaceAttributeAssignDAO
- Parameters:
attributeAssign
-
-
findByGroupIdAndAttributeDefNameId
public Set<AttributeAssign> findByGroupIdAndAttributeDefNameId(String groupId, String attributeDefNameId) - Specified by:
findByGroupIdAndAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByGroupIdAndAttributeDefId
- Specified by:
findByGroupIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
delete
delete- Specified by:
delete
in interfaceAttributeAssignDAO
- Parameters:
attributeAssign
-
-
findAttributeDefNamesByGroupIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByGroupIdAndAttributeDefId(String groupId, String attributeDefId) Description copied from interface:AttributeAssignDAO
find attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByGroupIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute defs
- See Also:
-
findAttributeDefNamesByStemIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByStemIdAndAttributeDefId(String stemId, String attributeDefId) Description copied from interface:AttributeAssignDAO
find attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByStemIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute defs
- See Also:
-
findByStemIdAndAttributeDefId
- Specified by:
findByStemIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByStemIdAndAttributeDefNameId
public Set<AttributeAssign> findByStemIdAndAttributeDefNameId(String stemId, String attributeDefNameId) - Specified by:
findByStemIdAndAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findAttributeDefNamesByMemberIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByMemberIdAndAttributeDefId(String memberId, String attributeDefId) Description copied from interface:AttributeAssignDAO
find attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByMemberIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute defs
- See Also:
-
findByMemberIdAndAttributeDefId
- Specified by:
findByMemberIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByMemberIdAndAttributeDefNameId
public Set<AttributeAssign> findByMemberIdAndAttributeDefNameId(String memberId, String attributeDefNameId) - Specified by:
findByMemberIdAndAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findAttributeDefNamesByAttributeDefIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign) Description copied from interface:AttributeAssignDAO
find attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByAttributeDefIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute defs
- See Also:
-
findByAttributeDefIdAndAttributeDefId
public Set<AttributeAssign> findByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign) - Specified by:
findByAttributeDefIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByAttributeDefIdAndAttributeDefNameId
public Set<AttributeAssign> findByAttributeDefIdAndAttributeDefNameId(String attributeDefIdToAssignTo, String attributeDefNameIdToAssign) - Specified by:
findByAttributeDefIdAndAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findAttributeDefNamesByMembershipIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign) Description copied from interface:AttributeAssignDAO
find attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByMembershipIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute defs
- See Also:
-
findByMembershipIdAndAttributeDefId
public Set<AttributeAssign> findByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign) - Specified by:
findByMembershipIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByMembershipIdAndAttributeDefNameId
public Set<AttributeAssign> findByMembershipIdAndAttributeDefNameId(String membershipIdToAssignTo, String attributeDefNameIdToAssign) - Specified by:
findByMembershipIdAndAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findAttributeDefNamesByAttrAssignIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign) Description copied from interface:AttributeAssignDAO
find attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByAttrAssignIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute defs
- See Also:
-
findByAttrAssignIdAndAttributeDefId
public Set<AttributeAssign> findByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign) - Specified by:
findByAttrAssignIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByAttrAssignIdAndAttributeDefNameId
public Set<AttributeAssign> findByAttrAssignIdAndAttributeDefNameId(String attrAssignIdToAssignTo, String attributeDefNameIdToAssign) - Specified by:
findByAttrAssignIdAndAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign) Description copied from interface:AttributeAssignDAO
find attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute defs
- See Also:
-
findByGroupIdMemberIdAndAttributeDefId
public Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign) - Specified by:
findByGroupIdMemberIdAndAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByGroupIdMemberIdAndAttributeDefNameId
public Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefNameId(String groupId, String memberId, String attributeDefNameIdToAssign) - Specified by:
findByGroupIdMemberIdAndAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByUuidOrKey
public AttributeAssign findByUuidOrKey(Collection<String> idsToIgnore, String id, String attributeDefNameId, String attributeAssignActionId, String ownerAttributeAssignId, String ownerAttributeDefId, String ownerGroupId, String ownerMemberId, String ownerMembershipId, String ownerStemId, boolean exceptionIfNotFound, Long disabledTimeDb, Long enabledTimeDb, String notes, boolean disallowed) throws GrouperDAOException - Specified by:
findByUuidOrKey
in interfaceAttributeAssignDAO
- Parameters:
idsToIgnore
- dont return anything in this list, already used or will be usedid
- if find by id, that is itattributeDefNameId
- 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 matchdisabledTimeDb
- 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
- See Also:
-
saveUpdateProperties
Description copied from interface:AttributeAssignDAO
save the update properties which are auto saved when business method is called- Specified by:
saveUpdateProperties
in interfaceAttributeAssignDAO
- See Also:
-
findByOwnerAttributeAssignId
- Specified by:
findByOwnerAttributeAssignId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerAttributeAssignId
public Set<AttributeAssign> findByOwnerAttributeAssignId(String ownerAttributeAssignId, QueryOptions queryOptions) - Specified by:
findByOwnerAttributeAssignId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerGroupId
- Specified by:
findByOwnerGroupId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerMemberId
- Specified by:
findByOwnerMemberId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerMembershipId
- Specified by:
findByOwnerMembershipId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerStemId
- Specified by:
findByOwnerStemId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByActionId
- Specified by:
findByActionId
in interfaceAttributeAssignDAO
- Returns:
- the assignments
- See Also:
-
findByOwnerAttributeDefId
- Specified by:
findByOwnerAttributeDefId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByAttributeDefNameId
- Specified by:
findByAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findGroupAttributeAssignments
public Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findGroupAttributeAssignments
public Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
queryByValueAddTablesWhereClause
public static void queryByValueAddTablesWhereClause(ByHqlStatic byHqlStatic, StringBuilder sqlTables, StringBuilder sqlWhereClause, AttributeDefValueType attributeDefValueType, Object theValue) make sure if sending a value you are sending a value type, and add table if necessary- Parameters:
byHqlStatic
-sqlTables
-sqlWhereClause
- should not be emptyattributeDefValueType
-theValue
-attributeAssignAlias
- is usually "aa"
-
queryByValuesAddTablesWhereClause
public static void queryByValuesAddTablesWhereClause(ByHqlStatic byHqlStatic, StringBuilder sqlTables, StringBuilder sqlWhereClause, AttributeDefValueType attributeDefValueType, Set<Object> theValues, String attributeAssignAlias) make sure if sending a value you are sending a value type, and add table if necessary- Parameters:
byHqlStatic
-sqlTables
-sqlWhereClause
- should not be emptyattributeDefValueType
-theValues
-attributeAssignAlias
- is usually "aa"
-
findGroupAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findGroupAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findStemAttributeAssignments
public Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) Description copied from interface:AttributeAssignDAO
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- Specified by:
findStemAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findStemAttributeAssignmentsOnAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findStemAttributeAssignmentsOnAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findMemberAttributeAssignments
public Set<AttributeAssign> findMemberAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMemberAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findMemberAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMemberAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAttributeDefAttributeAssignments
public Set<AttributeAssign> findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAttributeDefAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAttributeDefAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAttributeDefAttributeAssignments
in interfaceAttributeAssignDAO
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 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- Returns:
- the assignments
- See Also:
-
findMembershipAttributeAssignments
public Set<AttributeAssign> findMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMembershipAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findMembershipAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMembershipAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAnyMembershipAttributeAssignments
public Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAnyMembershipAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAnyMembershipAttributeAssignments
public Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAnyMembershipAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAnyMembershipAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAnyMembershipAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAssignmentsOnAssignments
public Set<AttributeAssign> findAssignmentsOnAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAssignmentsOnAssignments
in interfaceAttributeAssignDAO
- 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
- See Also:
-
findAssignmentsOnAssignments
public Set<AttributeAssign> findAssignmentsOnAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled, Boolean attributeCheckReadOnAttributeDef) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAssignmentsOnAssignments
in interfaceAttributeAssignDAO
- 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
- See Also:
-
findAssignmentsOnAssignmentsByIds
public Set<AttributeAssign> findAssignmentsOnAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAssignmentsOnAssignmentsByIds
in interfaceAttributeAssignDAO
- 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
- See Also:
-
findAssignmentsOnAssignmentsByIds
public Set<AttributeAssign> findAssignmentsOnAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled, Boolean attributeCheckReadOnAttributeDef) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAssignmentsOnAssignmentsByIds
in interfaceAttributeAssignDAO
- 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
- See Also:
-
findAttributeDefsByAttributeDefNameId
- Specified by:
findAttributeDefsByAttributeDefNameId
in interfaceAttributeAssignDAO
- Returns:
- the attribute defs or empty if not there
- See Also:
-
findGroupAttributeDefNames
public Set<AttributeDefName> findGroupAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeDefNames
in interfaceAttributeAssignDAO
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
- See Also:
-
filterAttributeDefNames
public Set<AttributeDefName> filterAttributeDefNames(GrouperSession grouperSession, Set<AttributeDefName> attibuteDefNames) - Parameters:
grouperSession
-attibuteDefNames
-- Returns:
- the names which are ok to view
-
findMemberAttributeDefNames
public Set<AttributeDefName> findMemberAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMemberAttributeDefNames
in interfaceAttributeAssignDAO
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
- See Also:
-
findMembershipAttributeDefNames
public Set<AttributeDefName> findMembershipAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMembershipAttributeDefNames
in interfaceAttributeAssignDAO
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmembershipIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
- See Also:
-
findByAttributeTypeDefNameId
public 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- Specified by:
findByAttributeTypeDefNameId
in interfaceAttributeAssignDAO
- Parameters:
attributeTypeDefNameId
- attribute def name of the type on the ownerqueryOptions
-- Returns:
- attributes grouped by the type assignment
-
findByAssignTypeId
find attribute assigns by ids, as root (no security). this is for one type assignment.- Specified by:
findByAssignTypeId
in interfaceAttributeAssignDAO
- Parameters:
attributeTypeAssignId
- type assign id- Returns:
- attributes
-
findStemAttributeDefNames
public Set<AttributeDefName> findStemAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findStemAttributeDefNames
in interfaceAttributeAssignDAO
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
- See Also:
-
findAnyMembershipAttributeDefNames
public Set<AttributeDefName> findAnyMembershipAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAnyMembershipAttributeDefNames
in interfaceAttributeAssignDAO
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIdsAndMemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
- See Also:
-
findAttributeDefAttributeDefNames
public Set<AttributeDefName> findAttributeDefAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAttributeDefAttributeDefNames
in interfaceAttributeAssignDAO
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsattributeDefAssignToIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)- Returns:
- the assignments
- See Also:
-
findByAttributeDefNameAndValueString
public Set<AttributeAssign> findByAttributeDefNameAndValueString(String attributeDefNameId, String value, QueryOptions queryOptions) Description copied from interface:AttributeAssignDAO
find by attribute name and value- Specified by:
findByAttributeDefNameAndValueString
in interfaceAttributeAssignDAO
- Returns:
- the attribute assigns that match
- See Also:
-
findAttributeAssignments
public Set<AttributeAssign> findAttributeAssignments(AttributeAssignType attributeAssignType, String attributeDefId, String attributeDefNameId, String ownerGroupId, String ownerStemId, String ownerMemberId, String ownerAttributeDefId, String ownerMembershipId, Boolean enabled, boolean includeAssignmentsOnAssignments) Description copied from interface:AttributeAssignDAO
securely search for assignments- Specified by:
findAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAssignmentsOnAssignmentsAttributeDefNames
public Set<AttributeDefName> findAssignmentsOnAssignmentsAttributeDefNames(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled) Description copied from interface:AttributeAssignDAO
search for assignments on assignments attribute def names- Specified by:
findAssignmentsOnAssignmentsAttributeDefNames
in interfaceAttributeAssignDAO
- Parameters:
attributeAssigns
- to search onenabled
- null for all...- Returns:
- the attribute def names
- See Also:
-
findStemAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findStemAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAssignmentsFromAssignments
public Set<AttributeAssign> findAssignmentsFromAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled, boolean useCache) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAssignmentsFromAssignments
in interfaceAttributeAssignDAO
- 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
- See Also:
-
edu.internet2.middleware.grouper.internal.dao.AttributeAssignDAO#findAssignmentsFromAssignments(java.util.Collection, edu.internet2.middleware.grouper.attr.assign.AttributeAssignType, java.lang.Boolean)
-
findAssignmentsFromAssignmentsByIds
public Set<AttributeAssign> findAssignmentsFromAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAssignmentsFromAssignmentsByIds
in interfaceAttributeAssignDAO
- 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
- See Also:
-
findMemberAttributeAssignmentsOnAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMemberAttributeAssignmentsOnAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findGroupAttributeAssignmentsOnAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeAssignmentsOnAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAttributeDefAttributeAssignmentsOnAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAttributeDefAttributeAssignmentsOnAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findMembershipAttributeAssignmentsOnAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMembershipAttributeAssignmentsOnAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAnyMembershipAttributeAssignmentsOnAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAnyMembershipAttributeAssignmentsOnAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findLegacyGroupTypeAssignmentsByGroupId
Description copied from interface:AttributeAssignDAO
Returns legacy group types (assigned to a given group) that were either migrated or created in the new attribute framework.- Specified by:
findLegacyGroupTypeAssignmentsByGroupId
in interfaceAttributeAssignDAO
- Returns:
- the values where the keys are the legacy group type names
- See Also:
-
findGroupAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findStemAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findStemAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findStemAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findStemAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-
findAttributeDefAttributeAssignments
public 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) - Specified by:
findAttributeDefAttributeAssignments
in interfaceAttributeAssignDAO
- 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
-
attributeDefNameCacheRemove
remove this from all caches- Parameters:
attributeDef
-
-
findGroupAttributeAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findGroupAttributeAssignmentsOnAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findGroupAttributeAssignmentsOnAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findStemAttributeAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Specified by:
findStemAttributeAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findStemAttributeAssignmentsOnAssignmentsByAttribute
public Set<Object[]> findStemAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnStem, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) Description copied from interface:AttributeAssignDAO
securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Specified by:
findStemAttributeAssignmentsOnAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findMemberAttributeAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Specified by:
findMemberAttributeAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findMemberAttributeAssignmentsOnAssignmentsByAttribute
public Set<Object[]> findMemberAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMemberAttributeAssignmentsOnAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findAttributeDefAttributeAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Specified by:
findAttributeDefAttributeAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findAttributeDefAttributeAssignmentsOnAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables- Specified by:
findAttributeDefAttributeAssignmentsOnAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findImmediateMembershipAttributeAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findImmediateMembershipAttributeAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findImmediateMembershipAttributeAssignmentsOnAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findImmediateMembershipAttributeAssignmentsOnAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findAnyMembershipAttributeAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAnyMembershipAttributeAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findAnyMembershipAttributeAssignmentsOnAssignmentsByAttribute
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findAnyMembershipAttributeAssignmentsOnAssignmentsByAttribute
in interfaceAttributeAssignDAO
- Parameters:
attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)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
- See Also:
-
findMemberAttributeAssignments
public 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) Description copied from interface:AttributeAssignDAO
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- Specified by:
findMemberAttributeAssignments
in interfaceAttributeAssignDAO
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
- See Also:
-