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 voidremove all cachesstatic voidattributeDefNameCacheRemove(AttributeDef attributeDef) remove this from all cachesvoiddelete(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 voidqueryByValueAddTablesWhereClause(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 voidqueryByValuesAddTablesWhereClause(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 necessaryvoidsaveOrUpdate(AttributeAssign attributeAssign) save or updatevoidsaveUpdateProperties(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:AttributeAssignDAOfind records which are disabled which shouldnt be, and enabled which shouldnt be- Specified by:
findAllEnabledDisabledMismatchin interfaceAttributeAssignDAO- Returns:
- the attribute assignments
- See Also:
-
findById
retrieve by id- Specified by:
findByIdin interfaceAttributeAssignDAO- Parameters:
id-exceptionIfNotFound-- Returns:
- the attribute assign
-
findById
retrieve by id- Specified by:
findByIdin 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:
findByIdsin 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:
findByOwnerMembershipIdsin 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:
findByOwnerAttributeAssignIdsin interfaceAttributeAssignDAO- Parameters:
ownerAttributeAssignIds-- Returns:
- the attribute assigns, will not return null
-
saveOrUpdate
save or update- Specified by:
saveOrUpdatein interfaceAttributeAssignDAO- Parameters:
attributeAssign-
-
findByGroupIdAndAttributeDefNameId
public Set<AttributeAssign> findByGroupIdAndAttributeDefNameId(String groupId, String attributeDefNameId) - Specified by:
findByGroupIdAndAttributeDefNameIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByGroupIdAndAttributeDefId
- Specified by:
findByGroupIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or null if not there
- See Also:
-
delete
delete- Specified by:
deletein interfaceAttributeAssignDAO- Parameters:
attributeAssign-
-
findAttributeDefNamesByGroupIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByGroupIdAndAttributeDefId(String groupId, String attributeDefId) Description copied from interface:AttributeAssignDAOfind attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByGroupIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute defs
- See Also:
-
findAttributeDefNamesByStemIdAndAttributeDefId
public Set<AttributeDefName> findAttributeDefNamesByStemIdAndAttributeDefId(String stemId, String attributeDefId) Description copied from interface:AttributeAssignDAOfind attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByStemIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute defs
- See Also:
-
findByStemIdAndAttributeDefId
- Specified by:
findByStemIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByStemIdAndAttributeDefNameId
public Set<AttributeAssign> findByStemIdAndAttributeDefNameId(String stemId, String attributeDefNameId) - Specified by:
findByStemIdAndAttributeDefNameIdin 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:AttributeAssignDAOfind attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByMemberIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute defs
- See Also:
-
findByMemberIdAndAttributeDefId
- Specified by:
findByMemberIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByMemberIdAndAttributeDefNameId
public Set<AttributeAssign> findByMemberIdAndAttributeDefNameId(String memberId, String attributeDefNameId) - Specified by:
findByMemberIdAndAttributeDefNameIdin 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:AttributeAssignDAOfind attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByAttributeDefIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute defs
- See Also:
-
findByAttributeDefIdAndAttributeDefId
public Set<AttributeAssign> findByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign) - Specified by:
findByAttributeDefIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByAttributeDefIdAndAttributeDefNameId
public Set<AttributeAssign> findByAttributeDefIdAndAttributeDefNameId(String attributeDefIdToAssignTo, String attributeDefNameIdToAssign) - Specified by:
findByAttributeDefIdAndAttributeDefNameIdin 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:AttributeAssignDAOfind attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByMembershipIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute defs
- See Also:
-
findByMembershipIdAndAttributeDefId
public Set<AttributeAssign> findByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign) - Specified by:
findByMembershipIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByMembershipIdAndAttributeDefNameId
public Set<AttributeAssign> findByMembershipIdAndAttributeDefNameId(String membershipIdToAssignTo, String attributeDefNameIdToAssign) - Specified by:
findByMembershipIdAndAttributeDefNameIdin 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:AttributeAssignDAOfind attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByAttrAssignIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute defs
- See Also:
-
findByAttrAssignIdAndAttributeDefId
public Set<AttributeAssign> findByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign) - Specified by:
findByAttrAssignIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or null if not there
- See Also:
-
findByAttrAssignIdAndAttributeDefNameId
public Set<AttributeAssign> findByAttrAssignIdAndAttributeDefNameId(String attrAssignIdToAssignTo, String attributeDefNameIdToAssign) - Specified by:
findByAttrAssignIdAndAttributeDefNameIdin 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:AttributeAssignDAOfind attribute def names (distinct) by attribute def id- Specified by:
findAttributeDefNamesByGroupIdMemberIdAndAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute defs
- See Also:
-
findByGroupIdMemberIdAndAttributeDefId
public Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign) - Specified by:
findByGroupIdMemberIdAndAttributeDefIdin 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:
findByGroupIdMemberIdAndAttributeDefNameIdin 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:
findByUuidOrKeyin 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:AttributeAssignDAOsave the update properties which are auto saved when business method is called- Specified by:
saveUpdatePropertiesin interfaceAttributeAssignDAO- See Also:
-
findByOwnerAttributeAssignId
- Specified by:
findByOwnerAttributeAssignIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerAttributeAssignId
public Set<AttributeAssign> findByOwnerAttributeAssignId(String ownerAttributeAssignId, QueryOptions queryOptions) - Specified by:
findByOwnerAttributeAssignIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerGroupId
- Specified by:
findByOwnerGroupIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerMemberId
- Specified by:
findByOwnerMemberIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerMembershipId
- Specified by:
findByOwnerMembershipIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByOwnerStemId
- Specified by:
findByOwnerStemIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByActionId
- Specified by:
findByActionIdin interfaceAttributeAssignDAO- Returns:
- the assignments
- See Also:
-
findByOwnerAttributeDefId
- Specified by:
findByOwnerAttributeDefIdin interfaceAttributeAssignDAO- Returns:
- the attribute assigns or empty if not there
- See Also:
-
findByAttributeDefNameId
- Specified by:
findByAttributeDefNameIdin 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:AttributeAssignDAOsecurely 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:
findGroupAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findGroupAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findGroupAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findGroupAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findStemAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findStemAttributeAssignmentsOnAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findMemberAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findMemberAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAttributeDefAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAttributeDefAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findMembershipAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findMembershipAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAnyMembershipAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAnyMembershipAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAnyMembershipAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOfind 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:
findAssignmentsOnAssignmentsin 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:AttributeAssignDAOfind 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:
findAssignmentsOnAssignmentsin 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:AttributeAssignDAOfind 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:
findAssignmentsOnAssignmentsByIdsin 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:AttributeAssignDAOfind 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:
findAssignmentsOnAssignmentsByIdsin 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:
findAttributeDefsByAttributeDefNameIdin 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:AttributeAssignDAOsecurely 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:
findGroupAttributeDefNamesin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findMemberAttributeDefNamesin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findMembershipAttributeDefNamesin interfaceAttributeAssignDAOattributeDefIds- 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:
findByAttributeTypeDefNameIdin 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:
findByAssignTypeIdin 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:AttributeAssignDAOsecurely 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:
findStemAttributeDefNamesin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAnyMembershipAttributeDefNamesin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAttributeDefAttributeDefNamesin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOfind by attribute name and value- Specified by:
findByAttributeDefNameAndValueStringin 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:AttributeAssignDAOsecurely search for assignments- Specified by:
findAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefId- 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:AttributeAssignDAOsearch for assignments on assignments attribute def names- Specified by:
findAssignmentsOnAssignmentsAttributeDefNamesin 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:AttributeAssignDAOsecurely 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:
findStemAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOfind 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:
findAssignmentsFromAssignmentsin 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:AttributeAssignDAOfind 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:
findAssignmentsFromAssignmentsByIdsin 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:AttributeAssignDAOsecurely 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:
findMemberAttributeAssignmentsOnAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findGroupAttributeAssignmentsOnAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAttributeDefAttributeAssignmentsOnAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findMembershipAttributeAssignmentsOnAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findAnyMembershipAttributeAssignmentsOnAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOReturns legacy group types (assigned to a given group) that were either migrated or created in the new attribute framework.- Specified by:
findLegacyGroupTypeAssignmentsByGroupIdin 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:AttributeAssignDAOsecurely 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:
findGroupAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findStemAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:AttributeAssignDAOsecurely 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:
findStemAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:
findAttributeDefAttributeAssignmentsin 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:AttributeAssignDAOsecurely 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:
findGroupAttributeAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findGroupAttributeAssignmentsOnAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findStemAttributeAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findStemAttributeAssignmentsOnAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findMemberAttributeAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findMemberAttributeAssignmentsOnAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findAttributeDefAttributeAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findAttributeDefAttributeAssignmentsOnAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findImmediateMembershipAttributeAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findImmediateMembershipAttributeAssignmentsOnAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findAnyMembershipAttributeAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findAnyMembershipAttributeAssignmentsOnAssignmentsByAttributein 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:AttributeAssignDAOsecurely 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:
findMemberAttributeAssignmentsin interfaceAttributeAssignDAOattributeDefIds- 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:
-