public interface IMediaDao extends IIdentifiableDao<Media>
Modifier and Type | Method and Description |
---|---|
long |
countMediaKeys(java.util.Set<Taxon> taxonomicScope,
java.util.Set<NamedArea> geoScopes)
Return a count of MediaKeys, optionally filtered by the parameters passed.
|
long |
countRights(Media t)
Return a count of the rights for this media entity
|
java.util.List<MediaKey> |
getMediaKeys(java.util.Set<Taxon> taxonomicScope,
java.util.Set<NamedArea> geoScopes,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<java.lang.String> propertyPaths)
Return a List of MediaKeys, optionally filtered by the parameters passed.
|
java.util.List<Rights> |
getRights(Media t,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<java.lang.String> propertyPaths)
Return a List of the rights for this media entity
|
countByIdentifier, countByMarker, countByReferenceTitle, countByReferenceTitleWithRestrictions, countByTitle, countByTitleWithRestrictions, countSources, countTitleCache, find, findByIdentifier, findByMarker, findByReferenceTitle, findByReferenceTitleWithRestrictions, findByTitle, findByTitleWithRestrictions, findOriginalSourceByIdInSource, findTitleCache, getSources, getTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCache, getUuidAndTitleCacheByMarker
countAnnotations, countMarkers, countMarkers, getAnnotations, getMarkers, groupMarkers
countAuditEvents, countAuditEvents, getAuditEvents, getAuditEvents, getNextAuditEvent, getPreviousAuditEvent
clear, count, count, count, count, countByParam, countByParamWithRestrictions, delete, exists, findById, findByParam, findByParam, findByParamWithRestrictions, findByUuid, findByUuidWithoutFlush, flush, getSession, getType, group, list, list, list, list, list, list, list, list, list, load, load, load, loadList, lock, merge, merge, refresh, refresh, replace, save, saveAll, saveOrUpdate, saveOrUpdateAll, update
countByTitle, countByTitle, countByTitle, findByTitle, findByTitle, findByTitle
count, optimizeIndex, purgeIndex, rebuildIndex, search, suggestQuery
long countMediaKeys(java.util.Set<Taxon> taxonomicScope, java.util.Set<NamedArea> geoScopes)
taxonomicScope
- a Set of Taxon instances that define the taxonomic scope of the key (can be null)geoScopes
- a Set of NamedArea instances that define the geospatial scope of the key (can be null)java.util.List<MediaKey> getMediaKeys(java.util.Set<Taxon> taxonomicScope, java.util.Set<NamedArea> geoScopes, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<java.lang.String> propertyPaths)
taxonomicScope
- a Set of Taxon instances that define the taxonomic scope of the key (can be null)geoScopes
- a Set of NamedArea instances that define the geospatial scope of the key (can be null)pageSize
- The maximum number of keys returned (can be null for all keys)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths
- Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
long countRights(Media t)
countRights
in interface IIdentifiableDao<Media>
t
- The media entityjava.util.List<Rights> getRights(Media t, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<java.lang.String> propertyPaths)
getRights
in interface IIdentifiableDao<Media>
t
- The media entitypageSize
- The maximum number of rights returned (can be null for all rights)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
Copyright © 2007-2020 EDIT. All Rights Reserved.