public interface IAnnotatableService<T extends AnnotatableEntity> extends IVersionableService<T>
Modifier and Type | Method and Description |
---|---|
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.
|
Pager<Annotation> |
getAnnotations(T annotatedObj,
MarkerType status,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
Return a Pager containing Annotation entities belonging to the object supplied, optionally
filtered by MarkerType
|
Pager<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)
Returns a Pager containing Marker entities belonging to the object supplied, optionally filtered by
whether they are technical or non-technical markers
|
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.
|
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<Annotation> getAnnotations(T annotatedObj, MarkerType status, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
annotatedObj
- The object that "owns" the annotations returnedstatus
- Only return annotations which are marked with a Marker of this type (can be null to return all annotations)pageSize
- The maximum number of terms 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)
Pager<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.