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

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3AuditEntryDAO

public interface AuditEntryDAO
extends GrouperDAO

audit entry data access methods


Method Summary
 Set<AuditEntry> findByActingUser(String actAsMemberId, QueryOptions queryOptions)
          audits for a user
 Set<AuditEntry> findByActingUser(String actAsMemberId, QueryOptions queryOptions, Long startTime, Long endTime)
          audits for a user withhin a given time range
 AuditEntry findById(String id, boolean exceptionIfNotFound)
           
 void saveOrUpdate(AuditEntry auditEntry)
          insert or update an audit entry object
 void saveUpdateProperties(AuditEntry auditEntry)
          save the update properties which are auto saved when business method is called
 

Method Detail

findByActingUser

Set<AuditEntry> findByActingUser(String actAsMemberId,
                                 QueryOptions queryOptions)
audits for a user

Returns:
the audits that that user performed

findByActingUser

Set<AuditEntry> findByActingUser(String actAsMemberId,
                                 QueryOptions queryOptions,
                                 Long startTime,
                                 Long endTime)
audits for a user withhin a given time range

Returns:
the audits that that user performed within a given time range

saveOrUpdate

void saveOrUpdate(AuditEntry auditEntry)
insert or update an audit entry object

Parameters:
auditEntry -

findById

AuditEntry findById(String id,
                    boolean exceptionIfNotFound)
Parameters:
id -
exceptionIfNotFound -
Returns:
the entry or null if not there

saveUpdateProperties

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

Parameters:
auditEntry -