public interface ICollectionService extends IIdentifiableEntityService<Collection>
Modifier and Type | Method and Description |
---|---|
Pager<Collection> |
search(java.lang.Class<? extends Collection> clazz,
java.lang.String query,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
Returns a Paged List of Collection instances where the default field matches the String queryString (as interpreted by the Lucene QueryParser)
|
java.util.List<Collection> |
searchByCode(java.lang.String code)
Return a list of collections matching the given code
|
countByTitle, countByTitle, countByTitleWithRestrictions, deduplicate, find, findByIdentifier, findByMarker, findByTitle, findByTitle, findByTitleWithRestrictions, findTitleCache, findUuidAndTitleCacheByMarker, getRights, getSourcedObjectByIdInSource, getSources, getTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, listByIdentifier, listByReferenceTitle, listByReferenceTitleWithRestrictions, listByTitle, listByTitleWithRestrictions, replace, updateCaches, updateCaches
countMarkers, getAnnotations, getMarkers, groupMarkers
getNextAuditEvent, getPreviousAuditEvent, isDeletable, pageAuditEvents, pageAuditEvents
clear, count, delete, delete, delete, exists, find, find, find, find, findById, findWithoutFlush, getSession, group, list, list, load, load, load, load, loadByIds, loadByIds, loadWithUpdate, lock, merge, merge, merge, merge, page, page, page, pageByParamWithRestrictions, refresh, refresh, save, save, saveOrUpdate, saveOrUpdate, update
Pager<Collection> search(java.lang.Class<? extends Collection> clazz, java.lang.String query, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
search
in interface IIdentifiableEntityService<Collection>
clazz
- filter the results by class (or pass null to return all Collection instances)queryString
- pageSize
- The maximum number of collections returned (can be null for all matching collections)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)orderHints
- Supports path like orderHints.propertyNames
which
include *-to-one properties like createdBy.username or
authorTeam.persistentTitleCachepropertyPaths
- properties to be initializedjava.util.List<Collection> searchByCode(java.lang.String code)
code
- Copyright © 2007-2020 EDIT. All Rights Reserved.