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

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3AuditTypeDAO

public interface AuditTypeDAO
extends GrouperDAO

audit type data access methods


Method Summary
 void deleteEntriesAndTypesByCategoryAndAction(String category, String action)
          delete entries and types by category and action
 Set<AuditType> findAll()
          find all audit types
 Set<AuditType> findByCategory(String categoryName)
          find all audit types by category
 AuditType findByUuidOrName(String id, String auditCategory, String actionName, boolean exceptionIfNull)
           
 AuditType findByUuidOrName(String id, String auditCategory, String actionName, boolean exceptionIfNull, QueryOptions queryOptions)
           
 void saveOrUpdate(AuditType auditType)
          insert or update an audit entry object
 void saveUpdateProperties(AuditType auditType)
          save the update properties which are auto saved when business method is called
 

Method Detail

findAll

Set<AuditType> findAll()
find all audit types

Returns:
all audit types

findByCategory

Set<AuditType> findByCategory(String categoryName)
find all audit types by category

Parameters:
categoryName -
Returns:
all audit types

saveOrUpdate

void saveOrUpdate(AuditType auditType)
insert or update an audit entry object

Parameters:
auditType -

deleteEntriesAndTypesByCategoryAndAction

void deleteEntriesAndTypesByCategoryAndAction(String category,
                                              String action)
delete entries and types by category and action

Parameters:
category -
action -

findByUuidOrName

AuditType findByUuidOrName(String id,
                           String auditCategory,
                           String actionName,
                           boolean exceptionIfNull)
Parameters:
id -
auditCategory -
actionName -
exceptionIfNull -
Returns:
the stem or null
Throws:
GrouperDAOException
GroupNotFoundException
Since:
1.6.0

findByUuidOrName

AuditType findByUuidOrName(String id,
                           String auditCategory,
                           String actionName,
                           boolean exceptionIfNull,
                           QueryOptions queryOptions)
Parameters:
id -
auditCategory -
actionName -
exceptionIfNull -
queryOptions -
Returns:
the stem or null
Throws:
GrouperDAOException
GroupNotFoundException
Since:
1.6.0

saveUpdateProperties

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

Parameters:
auditType -