edu.internet2.middleware.grouper.internal.dao
Interface AttributeAssignValueDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3AttributeAssignValueDAO

public interface AttributeAssignValueDAO
extends GrouperDAO

attribute assign value data access methods


Method Summary
 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
 AttributeAssignValue findById(String id, boolean exceptionIfNotFound)
           
 AttributeAssignValue findByUuidOrKey(Collection<String> idsToIgnore, String id, String attributeAssignId, boolean exceptionIfNull, Long valueInteger, String valueMemberId, String valueString)
           
 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
 

Method Detail

saveOrUpdate

void saveOrUpdate(AttributeAssignValue attributeAssignValue)
insert or update an attribute assign value object

Parameters:
attributeAssignValue -

delete

void delete(AttributeAssignValue attributeAssignValue)
delete an attribute assign value object

Parameters:
attributeAssignValue -

findById

AttributeAssignValue findById(String id,
                              boolean exceptionIfNotFound)
                              throws AttributeAssignValueNotFoundException
Parameters:
id -
exceptionIfNotFound -
Returns:
the attribute assign value or null if not there
Throws:
AttributeAssignValueNotFoundException

findByAttributeAssignId

Set<AttributeAssignValue> findByAttributeAssignId(String attributeAssignId)
find values of assignment

Parameters:
attributeAssignId -
Returns:
the attribute assign values or empty if not there

findByAttributeAssignId

Set<AttributeAssignValue> findByAttributeAssignId(String attributeAssignId,
                                                  QueryOptions queryOptions)
find values of assignment

Parameters:
attributeAssignId -
queryOptions -
Returns:
the attribute assign values or empty if not there

saveUpdateProperties

void saveUpdateProperties(AttributeAssignValue attributeAssignValue)
save the update properties which are auto saved when business method is called

Parameters:
attributeAssignValue -

findByUuidOrKey

AttributeAssignValue findByUuidOrKey(Collection<String> idsToIgnore,
                                     String id,
                                     String attributeAssignId,
                                     boolean exceptionIfNull,
                                     Long valueInteger,
                                     String valueMemberId,
                                     String valueString)
                                     throws GrouperDAOException
Parameters:
id - if find by id, that is it
idsToIgnore - dont return anything in this list, already used or will be used
attributeAssignId - to get values from
exceptionIfNull -
valueInteger - try to match this if possible
valueMemberId -
valueString -
Returns:
the attribute assign value or null
Throws:
GrouperDAOException
Since:
1.6.0