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

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3AttributeDefScopeDAO

public interface AttributeDefScopeDAO
extends GrouperDAO

attribute assign value data access methods


Method Summary
 void delete(AttributeDefScope attributeDefScope)
          delete an attribute def scope object
 Set<AttributeDefScope> findByAttributeDefId(String attributeDefId, QueryOptions queryOptions)
          find all the scopes for a def
 AttributeDefScope findById(String id, boolean exceptionIfNotFound)
           
 AttributeDefScope findByUuidOrKey(Collection<String> idsToIgnore, String id, String attributeDefId, String attributeDefScopeType, boolean exceptionIfNull, String scopeString)
           
 void saveOrUpdate(AttributeDefScope attributeDefScope)
          insert or update an attribute def scope object
 void saveUpdateProperties(AttributeDefScope attributeDefScope)
          save the update properties which are auto saved when business method is called
 

Method Detail

saveOrUpdate

void saveOrUpdate(AttributeDefScope attributeDefScope)
insert or update an attribute def scope object

Parameters:
attributeDefScope -

findById

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

findByUuidOrKey

AttributeDefScope findByUuidOrKey(Collection<String> idsToIgnore,
                                  String id,
                                  String attributeDefId,
                                  String attributeDefScopeType,
                                  boolean exceptionIfNull,
                                  String scopeString)
                                  throws GrouperDAOException
Parameters:
id -
idsToIgnore -
attributeDefId -
attributeDefScopeType -
exceptionIfNull -
scopeString - is for matching (if id doesnt match)
Returns:
the attribute def scope or null
Throws:
GrouperDAOException
Since:
1.6.0

saveUpdateProperties

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

Parameters:
attributeDefScope -

findByAttributeDefId

Set<AttributeDefScope> findByAttributeDefId(String attributeDefId,
                                            QueryOptions queryOptions)
find all the scopes for a def

Parameters:
attributeDefId -
queryOptions -
Returns:
the attribute def scopes

delete

void delete(AttributeDefScope attributeDefScope)
delete an attribute def scope object

Parameters:
attributeDefScope -