|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnnotatableService<T extends AnnotatableEntity>
| Method Summary | |
|---|---|
int |
countMarkers(Class<? extends T> clazz,
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,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
Return a Pager containing Annotation entities belonging to the object supplied, optionally filtered by MarkerType |
Pager<Marker> |
getMarkers(T annotatableEntity,
Boolean technical,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
Returns a Pager containing Marker entities belonging to the object supplied, optionally filtered by whether they are technical or non-technical markers |
List<Object[]> |
groupMarkers(Class<? extends T> clazz,
Boolean technical,
Integer pageSize,
Integer pageNumber,
List<String> propertyPaths)
Returns a list of arrays representing counts of entities of type clazz, grouped by their markerTypes. |
| Methods inherited from interface eu.etaxonomy.cdm.api.service.IVersionableService |
|---|
getNextAuditEvent, getPreviousAuditEvent, pageAuditEvents, pageAuditEvents |
| Methods inherited from interface eu.etaxonomy.cdm.api.service.IService |
|---|
clear, count, delete, exists, find, find, find, findById, getSession, group, list, list, load, load, lock, merge, page, refresh, refresh, rows, save, save, saveOrUpdate, saveOrUpdate, update |
| Method Detail |
|---|
Pager<Annotation> getAnnotations(T annotatedObj,
MarkerType status,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<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,
Boolean technical,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<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)
List<Object[]> groupMarkers(Class<? extends T> clazz,
Boolean technical,
Integer pageSize,
Integer pageNumber,
List<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(Class<? extends T> clazz,
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||