Search in sources :

Example 1 with FindAuditLogResultMapper

use of com.enonic.xp.lib.audit.mapper.FindAuditLogResultMapper in project xp by enonic.

the class FindAuditLogHandler method doExecute.

@Override
protected Object doExecute() {
    final FindAuditLogParams params = FindAuditLogParams.create().ids(ids).from(from).to(to).type(type).source(source).count(count).start(start).users(users).objectUris(objectUris).build();
    final FindAuditLogResult result = auditLogService.find(params);
    return new FindAuditLogResultMapper(result);
}
Also used : FindAuditLogResultMapper(com.enonic.xp.lib.audit.mapper.FindAuditLogResultMapper) FindAuditLogResult(com.enonic.xp.audit.FindAuditLogResult) FindAuditLogParams(com.enonic.xp.audit.FindAuditLogParams)

Aggregations

FindAuditLogParams (com.enonic.xp.audit.FindAuditLogParams)1 FindAuditLogResult (com.enonic.xp.audit.FindAuditLogResult)1 FindAuditLogResultMapper (com.enonic.xp.lib.audit.mapper.FindAuditLogResultMapper)1