public interface IAnnotatableDao<T extends AnnotatableEntity> extends IVersionableDao<T>
Modifier and Type | Method and Description |
---|---|
long |
countAnnotations(T annotatableEntity,
MarkerType status)
Returns a count of Annotations belonging to the supplied AnnotatableEntity
|
int |
countMarkers(java.lang.Class<? extends T> clazz,
java.lang.Boolean technical)
returns a count of all markers belonging to that clazz, optionally filtered to include only technical or only non-technical markers.
|
long |
countMarkers(T annotatableEntity,
java.lang.Boolean technical)
Returns a count of Markers belonging to the supplied AnnotatableEntity
|
java.util.List<Annotation> |
getAnnotations(T annotatableEntity,
MarkerType status,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
Returns a List of Annotations belonging to the supplied AnnotatableEntity
|
java.util.List<Marker> |
getMarkers(T annotatableEntity,
java.lang.Boolean technical,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
java.util.List<java.lang.Object[]> |
groupMarkers(java.lang.Class<? extends T> clazz,
java.lang.Boolean technical,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<java.lang.String> propertyPaths)
Returns a list of arrays representing counts of entities of type clazz, grouped by their markerTypes.
|
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
java.util.List<Annotation> getAnnotations(T annotatableEntity, MarkerType status, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
annotatableEntity
- the entity which is annotatedstatus
- The status of the annotations (null to return annotations regardless of status)pageSize
- The maximum number of annotations returned (can be null for all annotations)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)orderHints
- may be nullpropertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
long countAnnotations(T annotatableEntity, MarkerType status)
annotatableEntity
- the entity which is annotatedstatus
- The status of the annotations (null to count all annotations regardless of status)long countMarkers(T annotatableEntity, java.lang.Boolean technical)
annotatableEntity
- the entity which is markedtechnical
- The type of MarkerTypes to consider (null to count all markers, regardless of whether the makerType is technical or not)java.util.List<Marker> getMarkers(T annotatableEntity, java.lang.Boolean technical, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
annotatableEntity
- the entity which is markedtechnical
- The type of MarkerTypes to consider (null to count all markers, regardless of whether the makerType is technical or not)pageSize
- The maximum number of markers returned (can be null for all markers)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)orderHints
- may be nullpropertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
java.util.List<java.lang.Object[]> groupMarkers(java.lang.Class<? extends T> clazz, java.lang.Boolean technical, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<java.lang.String> propertyPaths)
clazz
- optionally restrict the markers to those belonging to this classtechnical
- The type of MarkerTypes to consider (null to count all markers, regardless of whether the makerType is technical or not)pageSize
- The maximum number of arrays returned (can be null for all arrays)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)propertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
int countMarkers(java.lang.Class<? extends T> clazz, java.lang.Boolean technical)
clazz
- optionally restrict the markers to those belonging to this classtechnical
- The type of MarkerTypes to consider (null to count all markers, regardless of whether the makerType is technical or not)Copyright © 2007-2020 EDIT. All Rights Reserved.