/** @deprecated in favour of {@link #quickFindAsset(QueryPageRequest)} */ @WebRemote @LoggedIn public TableDataResult quickFindAsset( String searchText, boolean searchArchived, int skip, int numRows) throws SerializationException { return repositoryAssetOperations.quickFindAsset(searchText, searchArchived, skip, numRows); }
@WebRemote @LoggedIn public PageResponse<QueryPageRow> quickFindAsset(QueryPageRequest request) throws SerializationException { if (request == null) { throw new IllegalArgumentException("request cannot be null"); } if (request.getPageSize() != null && request.getPageSize() < 0) { throw new IllegalArgumentException("pageSize cannot be less than zero."); } return repositoryAssetOperations.quickFindAsset(request); }