|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeAssignDAO
attribute assign data access methods
Method Summary | |
---|---|
void |
delete(AttributeAssign attributeAssign)
delete an attribute assign object |
Set<AttributeAssign> |
findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<org.apache.commons.collections.keyvalue.MultiKey> groupIdsAndMemberIds,
Collection<String> actions,
Boolean enabled,
boolean includeAssignmentsOnAssignments)
securely search for assignments. |
Set<AttributeDefName> |
findAnyMembershipAttributeDefNames(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<org.apache.commons.collections.keyvalue.MultiKey> groupIdsAndMemberIds,
Collection<String> actions,
Boolean enabled)
securely search for attribute def names. |
Set<AttributeAssign> |
findAssignmentsOnAssignments(Collection<AttributeAssign> attributeAssigns,
AttributeAssignType attributeAssignType,
Boolean enabled)
find assignments on assignments. |
Set<AttributeAssign> |
findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> attributeDefAssignToIds,
Collection<String> actions,
Boolean enabled,
boolean includeAssignmentsOnAssignments)
securely search for assignments. |
Set<AttributeDefName> |
findAttributeDefAttributeDefNames(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> attributeDefAssignToIds,
Collection<String> actions,
Boolean enabled)
securely search for attributeDefNames. |
Set<AttributeDefName> |
findAttributeDefNamesByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo,
String attributeDefIdToAssign)
find attribute def names (distinct) by attribute def id |
Set<AttributeDefName> |
findAttributeDefNamesByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo,
String attributeDefIdToAssign)
find attribute def names (distinct) by attribute def id |
Set<AttributeDefName> |
findAttributeDefNamesByGroupIdAndAttributeDefId(String groupId,
String attributeDefId)
find attribute def names (distinct) by attribute def id |
Set<AttributeDefName> |
findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId(String groupId,
String memberId,
String attributeDefIdToAssign)
find attribute def names (distinct) by attribute def id |
Set<AttributeDefName> |
findAttributeDefNamesByMemberIdAndAttributeDefId(String memberId,
String attributeDefId)
find attribute def names (distinct) by attribute def id |
Set<AttributeDefName> |
findAttributeDefNamesByMembershipIdAndAttributeDefId(String membershipIdToAssignTo,
String attributeDefIdToAssign)
find attribute def names (distinct) by attribute def id |
Set<AttributeDefName> |
findAttributeDefNamesByStemIdAndAttributeDefId(String stemId,
String attributeDefId)
find attribute def names (distinct) by attribute def id |
Set<AttributeDef> |
findAttributeDefsByAttributeDefNameId(String attributeDefNameId)
|
Set<AttributeAssign> |
findByActionId(String actionId)
|
Set<AttributeAssign> |
findByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo,
String attributeDefIdToAssign)
|
Set<AttributeAssign> |
findByAttrAssignIdAndAttributeDefNameId(String attrAssignIdToAssignTo,
String attributeDefNameIdToAssign)
|
Set<AttributeAssign> |
findByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo,
String attributeDefIdToAssign)
|
Set<AttributeAssign> |
findByAttributeDefIdAndAttributeDefNameId(String attributeDefIdToAssignTo,
String attributeDefNameIdToAssign)
|
Set<AttributeAssign> |
findByAttributeDefNameId(String attributeDefNameId)
|
Set<AttributeAssign> |
findByGroupIdAndAttributeDefId(String groupId,
String attributeDefId)
|
Set<AttributeAssign> |
findByGroupIdAndAttributeDefNameId(String groupId,
String attributeDefNameId)
|
Set<AttributeAssign> |
findByGroupIdMemberIdAndAttributeDefId(String groupId,
String memberId,
String attributeDefIdToAssign)
|
Set<AttributeAssign> |
findByGroupIdMemberIdAndAttributeDefNameId(String groupId,
String memberId,
String attributeDefNameIdToAssign)
|
AttributeAssign |
findById(String id,
boolean exceptionIfNotFound)
|
Set<AttributeAssign> |
findByMemberIdAndAttributeDefId(String memberId,
String attributeDefId)
|
Set<AttributeAssign> |
findByMemberIdAndAttributeDefNameId(String memberId,
String attributeDefNameId)
|
Set<AttributeAssign> |
findByMembershipIdAndAttributeDefId(String membershipIdToAssignTo,
String attributeDefIdToAssign)
|
Set<AttributeAssign> |
findByMembershipIdAndAttributeDefNameId(String membershipIdToAssignTo,
String attributeDefNameIdToAssign)
|
Set<AttributeAssign> |
findByOwnerAttributeAssignId(String ownerAttributeAssignId)
|
Set<AttributeAssign> |
findByOwnerAttributeDefId(String ownerAttributeDefId)
|
Set<AttributeAssign> |
findByOwnerGroupId(String ownerGroupId)
|
Set<AttributeAssign> |
findByOwnerMemberId(String ownerMemberId)
|
Set<AttributeAssign> |
findByOwnerMembershipId(String ownerMembershipId)
|
Set<AttributeAssign> |
findByOwnerStemId(String ownerStemId)
|
Set<AttributeAssign> |
findByStemIdAndAttributeDefId(String stemId,
String attributeDefId)
|
Set<AttributeAssign> |
findByStemIdAndAttributeDefNameId(String stemId,
String attributeDefNameId)
|
AttributeAssign |
findByUuidOrKey(Collection<String> idsToIgnore,
String id,
String attributeDefNameId,
String attributeAssignActionId,
String ownerAttributeAssignId,
String ownerAttributeDefId,
String ownerGroupId,
String ownerMemberId,
String ownerMembershipId,
String ownerStemId,
boolean exceptionIfNull,
Long disabledTimeDb,
Long enabledTimeDb,
String notes)
|
Set<AttributeAssign> |
findGroupAttributeAssignments(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> groupIds,
Collection<String> actions,
Boolean enabled,
boolean includeAssignmentsOnAssignments)
securely search for assignments. |
Set<AttributeDefName> |
findGroupAttributeDefNames(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> groupIds,
Collection<String> actions,
Boolean enabled)
securely search for attribute def names. |
Set<AttributeAssign> |
findMemberAttributeAssignments(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> memberIds,
Collection<String> actions,
Boolean enabled,
boolean includeAssignmentsOnAssignments)
securely search for assignments. |
Set<AttributeDefName> |
findMemberAttributeDefNames(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> memberIds,
Collection<String> actions,
Boolean enabled)
securely search for attribute def names. |
Set<AttributeAssign> |
findMembershipAttributeAssignments(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> membershipIds,
Collection<String> actions,
Boolean enabled,
boolean includeAssignmentsOnAssignments)
securely search for assignments. |
Set<AttributeDefName> |
findMembershipAttributeDefNames(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> membershipIds,
Collection<String> actions,
Boolean enabled)
securely search for attribute def names. |
Set<AttributeAssign> |
findStemAttributeAssignments(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> stemIds,
Collection<String> actions,
Boolean enabled,
boolean includeAssignmentsOnAssignments)
securely search for assignments. |
Set<AttributeDefName> |
findStemAttributeDefNames(Collection<String> attributeAssignIds,
Collection<String> attributeDefIds,
Collection<String> attributeDefNameIds,
Collection<String> stemIds,
Collection<String> actions,
Boolean enabled)
securely search for attribute def names. |
void |
saveOrUpdate(AttributeAssign attributeAssign)
insert or update an attribute assign object |
void |
saveUpdateProperties(AttributeAssign attributeAssign)
save the update properties which are auto saved when business method is called |
Method Detail |
---|
void saveOrUpdate(AttributeAssign attributeAssign)
attributeAssign
- void delete(AttributeAssign attributeAssign)
attributeAssign
- AttributeAssign findById(String id, boolean exceptionIfNotFound)
id
- exceptionIfNotFound
-
Set<AttributeAssign> findByGroupIdAndAttributeDefNameId(String groupId, String attributeDefNameId)
groupId
- attributeDefNameId
-
Set<AttributeAssign> findByGroupIdAndAttributeDefId(String groupId, String attributeDefId)
groupId
- attributeDefId
-
Set<AttributeDefName> findAttributeDefNamesByGroupIdAndAttributeDefId(String groupId, String attributeDefId)
groupId
- attributeDefId
-
Set<AttributeAssign> findByMemberIdAndAttributeDefNameId(String memberId, String attributeDefNameId)
memberId
- attributeDefNameId
-
Set<AttributeAssign> findByMemberIdAndAttributeDefId(String memberId, String attributeDefId)
memberId
- attributeDefId
-
Set<AttributeDefName> findAttributeDefNamesByMemberIdAndAttributeDefId(String memberId, String attributeDefId)
memberId
- attributeDefId
-
Set<AttributeAssign> findByStemIdAndAttributeDefNameId(String stemId, String attributeDefNameId)
stemId
- attributeDefNameId
-
Set<AttributeAssign> findByStemIdAndAttributeDefId(String stemId, String attributeDefId)
stemId
- attributeDefId
-
Set<AttributeDefName> findAttributeDefNamesByStemIdAndAttributeDefId(String stemId, String attributeDefId)
stemId
- attributeDefId
-
Set<AttributeDefName> findAttributeDefNamesByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign)
attributeDefIdToAssignTo
- attributeDefIdToAssign
-
Set<AttributeAssign> findByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign)
attributeDefIdToAssignTo
- attributeDefIdToAssign
-
Set<AttributeAssign> findByAttributeDefIdAndAttributeDefNameId(String attributeDefIdToAssignTo, String attributeDefNameIdToAssign)
attributeDefIdToAssignTo
- attributeDefNameIdToAssign
-
Set<AttributeAssign> findByOwnerAttributeAssignId(String ownerAttributeAssignId)
ownerAttributeAssignId
-
Set<AttributeAssign> findByOwnerAttributeDefId(String ownerAttributeDefId)
ownerAttributeDefId
-
Set<AttributeDef> findAttributeDefsByAttributeDefNameId(String attributeDefNameId)
attributeDefNameId
-
Set<AttributeAssign> findByOwnerGroupId(String ownerGroupId)
ownerGroupId
-
Set<AttributeAssign> findByOwnerStemId(String ownerStemId)
ownerStemId
-
Set<AttributeAssign> findByOwnerMemberId(String ownerMemberId)
ownerMemberId
-
Set<AttributeAssign> findByOwnerMembershipId(String ownerMembershipId)
ownerMembershipId
-
Set<AttributeDefName> findAttributeDefNamesByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign)
membershipIdToAssignTo
- attributeDefIdToAssign
-
Set<AttributeAssign> findByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign)
membershipIdToAssignTo
- attributeDefIdToAssign
-
Set<AttributeAssign> findByMembershipIdAndAttributeDefNameId(String membershipIdToAssignTo, String attributeDefNameIdToAssign)
membershipIdToAssignTo
- attributeDefNameIdToAssign
-
Set<AttributeDefName> findAttributeDefNamesByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign)
attrAssignIdToAssignTo
- attributeDefIdToAssign
-
Set<AttributeAssign> findByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign)
attrAssignIdToAssignTo
- attributeDefIdToAssign
-
Set<AttributeAssign> findByAttributeDefNameId(String attributeDefNameId)
attributeDefNameId
-
Set<AttributeAssign> findByAttrAssignIdAndAttributeDefNameId(String attrAssignIdToAssignTo, String attributeDefNameIdToAssign)
attrAssignIdToAssignTo
- attributeDefNameIdToAssign
-
Set<AttributeDefName> findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign)
groupId
- memberId
- attributeDefIdToAssign
-
Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign)
groupId
- memberId
- attributeDefIdToAssign
-
Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefNameId(String groupId, String memberId, String attributeDefNameIdToAssign)
groupId
- memberId
- attributeDefNameIdToAssign
-
void saveUpdateProperties(AttributeAssign attributeAssign)
attributeAssign
- AttributeAssign findByUuidOrKey(Collection<String> idsToIgnore, String id, String attributeDefNameId, String attributeAssignActionId, String ownerAttributeAssignId, String ownerAttributeDefId, String ownerGroupId, String ownerMemberId, String ownerMembershipId, String ownerStemId, boolean exceptionIfNull, Long disabledTimeDb, Long enabledTimeDb, String notes) throws GrouperDAOException
id
- if find by id, that is itidsToIgnore
- dont return anything in this list, already used or will be usedattributeDefNameId
- which attribute is assignedattributeAssignActionId
- is the action for this assignmentownerAttributeAssignId
- owner must matchownerAttributeDefId
- owner must matchownerGroupId
- owner must matchownerMemberId
- owner must matchownerMembershipId
- owner must matchownerStemId
- owner must matchexceptionIfNull
- disabledTimeDb
- if there are multiple without id match, and this matches, that is goodenabledTimeDb
- if there are multiple without id match, this is goodnotes
- if there are multiple without id match, this is good
GrouperDAOException
Set<AttributeAssign> findByActionId(String actionId)
actionId
-
Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included
Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included
Set<AttributeAssign> findMemberAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included
Set<AttributeAssign> findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsattributeDefAssignToIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included
Set<AttributeAssign> findMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmembershipIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included
Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<org.apache.commons.collections.keyvalue.MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIdsAndMemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)includeAssignmentsOnAssignments
- if assignments on assignments should also be included
Set<AttributeAssign> findAssignmentsOnAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled)
attributeAssigns
- to find assignments on these assignmentsattributeAssignType
- of the assignments we are looking forenabled
- null for all, true for enabled only, false for disabled only
Set<AttributeDefName> findGroupAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)
Set<AttributeDefName> findMemberAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)
Set<AttributeDefName> findMembershipAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsmembershipIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)
Set<AttributeDefName> findStemAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsstemIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)
Set<AttributeDefName> findAnyMembershipAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<org.apache.commons.collections.keyvalue.MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsgroupIdsAndMemberIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)
Set<AttributeDefName> findAttributeDefAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled)
attributeAssignIds
- attributeDefIds
- optionalattributeDefNameIds
- mutually exclusive with attributeDefIdsattributeDefAssignToIds
- optionalactions
- (null means all actions)enabled
- (null means all, true means enabled, false means disabled)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |