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

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3FlatAttributeDefDAO

public interface FlatAttributeDefDAO
extends GrouperDAO


Method Summary
 void delete(FlatAttributeDef flatAttributeDef)
          delete a flat attribute def object
 Set<FlatAttributeDef> findBadFlatAttributeDefs()
          remove bad flat attr defs
 FlatAttributeDef findById(String flatAttributeDefId)
           
 Set<AttributeDef> findMissingFlatAttributeDefs(int page, int batchSize)
          find missing flat attr defs
 long findMissingFlatAttributeDefsCount()
          find missing flat attr defs count
 void removeAttributeDefForeignKey(String flatAttributeDefId)
           
 void saveBatch(Set<FlatAttributeDef> flatAttributeDefs)
          insert a batch of flat attr def objects
 void saveOrUpdate(FlatAttributeDef flatAttributeDef)
          insert or update a flat attribute def object
 

Method Detail

saveOrUpdate

void saveOrUpdate(FlatAttributeDef flatAttributeDef)
insert or update a flat attribute def object

Parameters:
flatAttributeDef -

saveBatch

void saveBatch(Set<FlatAttributeDef> flatAttributeDefs)
insert a batch of flat attr def objects

Parameters:
flatAttributeDefs -

delete

void delete(FlatAttributeDef flatAttributeDef)
delete a flat attribute def object

Parameters:
flatAttributeDef -

findById

FlatAttributeDef findById(String flatAttributeDefId)
Parameters:
flatAttributeDefId -
Returns:
flat attribute def

removeAttributeDefForeignKey

void removeAttributeDefForeignKey(String flatAttributeDefId)
Parameters:
flatAttributeDefId -

findMissingFlatAttributeDefs

Set<AttributeDef> findMissingFlatAttributeDefs(int page,
                                               int batchSize)
find missing flat attr defs

Parameters:
page -
batchSize -
Returns:
set of attr defs that need flat attr defs

findMissingFlatAttributeDefsCount

long findMissingFlatAttributeDefsCount()
find missing flat attr defs count

Returns:
long

findBadFlatAttributeDefs

Set<FlatAttributeDef> findBadFlatAttributeDefs()
remove bad flat attr defs

Returns:
set of flat attr defs that should be removed