public interface AttributeAssignValueDAO extends GrouperDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(AttributeAssignValue attributeAssignValue)
delete an attribute assign value object
|
Set<AttributeAssignValue> |
findByAttributeAssignId(String attributeAssignId)
find values of assignment
|
Set<AttributeAssignValue> |
findByAttributeAssignId(String attributeAssignId,
QueryOptions queryOptions)
find values of assignment
|
Set<AttributeAssignValue> |
findByAttributeAssignIds(Collection<String> attributeAssignIds)
find values of assignment based on ids, batched (i.e.
|
AttributeAssignValue |
findById(String id,
boolean exceptionIfNotFound) |
AttributeAssignValue |
findByUuidOrKey(Collection<String> idsToIgnore,
String id,
String attributeAssignId,
boolean exceptionIfNull,
Long valueInteger,
String valueMemberId,
String valueString) |
Set<AttributeAssignValue> |
findByValueString(String value)
find values by value string
|
Map<String,AttributeAssignValue> |
findLegacyAttributesByGroupId(String groupId)
Returns legacy attributes (assigned to a given group) either migrated or created in the new attribute framework.
|
Map<String,Map<String,AttributeAssignValue>> |
findLegacyAttributesByGroupIds(Collection<String> groupId)
Returns legacy attributes (assigned to a given group) either migrated or created in the new attribute framework.
|
Map<AttributeAssign,Set<AttributeAssignValue>> |
findMemberAttributeAssignmentValues(Collection<String> memberIds,
Boolean enabled)
securely search for assignments.
|
Set<AttributeAssignValue> |
findValuesOnAssignments(Collection<String> attributeAssignIds,
AttributeAssignType attributeAssignType,
AttributeDefType attributeDefType,
Boolean enabled)
find values on this assignment and values on assignments on this assignment
|
void |
saveOrUpdate(AttributeAssignValue attributeAssignValue)
insert or update an attribute assign value object
|
void |
saveUpdateProperties(AttributeAssignValue attributeAssignValue)
save the update properties which are auto saved when business method is called
|
void saveOrUpdate(AttributeAssignValue attributeAssignValue)
attributeAssignValue
- void delete(AttributeAssignValue attributeAssignValue)
attributeAssignValue
- AttributeAssignValue findById(String id, boolean exceptionIfNotFound) throws AttributeAssignValueNotFoundException
id
- exceptionIfNotFound
- AttributeAssignValueNotFoundException
Set<AttributeAssignValue> findByAttributeAssignId(String attributeAssignId)
attributeAssignId
- Set<AttributeAssignValue> findByAttributeAssignIds(Collection<String> attributeAssignIds)
attributeAssignIds
- Set<AttributeAssignValue> findByAttributeAssignId(String attributeAssignId, QueryOptions queryOptions)
attributeAssignId
- queryOptions
- void saveUpdateProperties(AttributeAssignValue attributeAssignValue)
attributeAssignValue
- AttributeAssignValue findByUuidOrKey(Collection<String> idsToIgnore, String id, String attributeAssignId, boolean exceptionIfNull, Long valueInteger, String valueMemberId, String valueString) throws GrouperDAOException
id
- if find by id, that is itidsToIgnore
- dont return anything in this list, already used or will be usedattributeAssignId
- to get values fromexceptionIfNull
- valueInteger
- try to match this if possiblevalueMemberId
- valueString
- GrouperDAOException
Set<AttributeAssignValue> findByValueString(String value)
value
- Set<AttributeAssignValue> findValuesOnAssignments(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled)
attributeAssignIds
- attributeAssignType
- attributeDefType
- enabled
- Map<AttributeAssign,Set<AttributeAssignValue>> findMemberAttributeAssignmentValues(Collection<String> memberIds, Boolean enabled)
memberIds
- optionalenabled
- (null means all, true means enabled, false means disabled)Map<String,AttributeAssignValue> findLegacyAttributesByGroupId(String groupId)
groupId
- Map<String,Map<String,AttributeAssignValue>> findLegacyAttributesByGroupIds(Collection<String> groupId)
groupId
- Copyright © 2016 Internet2. All rights reserved.