Class UserAuditQuery
java.lang.Object
edu.internet2.middleware.grouper.audit.UserAuditQuery
use method chaining and hibernate criteria to query user audits
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactAsMember
(Member actAsMember) addAuditTypeAction
(String auditTypeCategory, String auditTypeAction) query by audit type action, add a criteria to listaddAuditTypeCategory
(String auditTypeCategory) query by audit type category, add a criteria to listaddAuditTypeFieldValue
(String auditTypeField, Object auditTypeValue) query by audit type action, add a criteria to listexecute()
return one string report (e.g.return one string report (e.g.query optionsloggedInMember
(Member loggedInMember) static void
setAuditTypeActionList
(List<AuditTypeIdentifier> auditTypeActionList) query by audit type actionsetAuditTypeCategoryList
(List<String> auditTypeCategoryList) query by audit type categorysetExtraCriterion
(org.hibernate.criterion.Criterion extraCriterion1) extra criteriasetFromDate
(Date fromDate1) query for records after this datequery for records on this datesetQueryOptions
(QueryOptions queryOptions) query optionsquery for records before this date
-
Constructor Details
-
UserAuditQuery
public UserAuditQuery()
-
-
Method Details
-
main
-
loggedInMember
- Parameters:
loggedInMember
-- Returns:
- this for chaining
-
actAsMember
- Parameters:
actAsInMember
-- Returns:
- this for chaining
-
setExtraCriterion
extra criteria- Parameters:
extraCriterion1
-- Returns:
- this for chaining
-
setFromDate
query for records after this date- Parameters:
fromDate1
-- Returns:
- this for chaining
-
setToDate
query for records before this date- Parameters:
toDate1
-- Returns:
- this for chaining
-
setOnDate
query for records on this date- Parameters:
onDate
-- Returns:
- this for chaining
-
getQueryOptions
query options- Returns:
- query options
-
setQueryOptions
query options- Parameters:
queryOptions
-- Returns:
- this for chaining
-
execute
- Returns:
- the results
-
executeReport
return one string report (e.g. for gsh)- Returns:
- the report
-
executeReportExtended
return one string report (e.g. for gsh)- Returns:
- the report
-
setAuditTypeCategoryList
query by audit type category- Parameters:
auditTypeCategoryList
-- Returns:
- this for chaining
-
setAuditTypeActionList
query by audit type action- Parameters:
auditTypeActionList
-- Returns:
- this for chaining
-
addAuditTypeCategory
query by audit type category, add a criteria to list- Parameters:
auditTypeCategory
-- Returns:
- this for chaining
-
addAuditTypeAction
query by audit type action, add a criteria to list- Parameters:
auditTypeCategory
-auditTypeAction
-- Returns:
- this for chaining
-
addAuditTypeFieldValue
query by audit type action, add a criteria to list- Parameters:
auditTypeField
-auditTypeValue
-- Returns:
- this for chaining
-