@Override
    public SearchResultsBean<AuditEntryBean> getActivity(String userId, int page, int pageSize) {
        if (page <= 1) {
            page = 1;
        }
        if (pageSize == 0) {
            pageSize = 20;
        }
        try {
            SearchResultsBean<AuditEntryBean> rval;
            PagingBean paging = new PagingBean();
            paging.setPage(page);
            paging.setPageSize(pageSize);
            rval = query.auditUser(userId, paging);
            return rval;
        } catch (StorageException e) {
            throw new SystemErrorException(e);
        }
    }
@ Override public SearchResultsBean < AuditEntryBean > getActivity ( String userId , int page , int pageSize ) { if ( page <= 1 ) { page = 1 ; } if ( pageSize == 0 ) { pageSize = 20 ; } try { SearchResultsBean < AuditEntryBean > rval ; PagingBean paging = new PagingBean ( ) ; paging . setPage ( page ) ; paging . setPageSize ( pageSize ) ; rval = query . auditUser ( userId , paging ) ; return rval ; } catch ( StorageException e ) { throw new SystemErrorException ( e ) ; } }
@see io.apiman.manager.api.rest.contract.IUserResource#getActivity(java.lang.String, int, int)