|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnnotatableDao<T extends AnnotatableEntity>
| Method Summary | |
|---|---|
int |
countAnnotations(T annotatableEntity,
MarkerType status)
Returns a count of Annotations belonging to the supplied AnnotatableEntity |
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. |
int |
countMarkers(T annotatableEntity,
Boolean technical)
Returns a count of Markers belonging to the supplied AnnotatableEntity |
List<Annotation> |
getAnnotations(T annotatableEntity,
MarkerType status,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
Returns a List of Annotations belonging to the supplied AnnotatableEntity |
List<Marker> |
getMarkers(T annotatableEntity,
Boolean technical,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<String> propertyPaths)
|
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.persistence.dao.common.IVersionableDao |
|---|
countAuditEvents, countAuditEvents, getAuditEvents, getAuditEvents, getNextAuditEvent, getPreviousAuditEvent |
| Methods inherited from interface eu.etaxonomy.cdm.persistence.dao.common.ICdmEntityDao |
|---|
clear, count, count, count, delete, exists, findById, findByUuid, flush, getSession, getType, group, list, list, list, list, list, list, list, listByIds, load, load, load, lock, merge, refresh, refresh, replace, rows, save, saveAll, saveOrUpdate, saveOrUpdateAll, update |
| Method Detail |
|---|
List<Annotation> getAnnotations(T annotatableEntity,
MarkerType status,
Integer pageSize,
Integer pageNumber,
List<OrderHint> orderHints,
List<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)
int countAnnotations(T annotatableEntity,
MarkerType status)
annotatableEntity - the entity which is annotatedstatus - The status of the annotations (null to count all annotations regardless of status)
int countMarkers(T annotatableEntity,
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)
List<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 | |||||||||