public interface IAnnotationService extends IAnnotatableService<Annotation>
Modifier and Type | Method and Description |
---|---|
long |
count(Person commentator,
MarkerType status)
return a count of the number of annotations made by this person, optionally filtered by the status of those annotations
|
long |
count(User creator,
MarkerType status)
return a count of the number of annotations created by this user, optionally filtered by the status of those annotations
|
Pager<Annotation> |
list(Person commentator,
MarkerType status,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
Pager<Annotation> |
list(User creator,
MarkerType status,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths) |
countMarkers, getAnnotations, getMarkers, groupMarkers
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
long count(Person commentator, MarkerType status)
commentator
- the person who created those annotationsstatus
- the status of those annotations (can be null)Pager<Annotation> list(Person commentator, MarkerType status, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
commentator
- the person who created those annotationsstatus
- the status of those annotations (can be null)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
- Properties to order bypropertyPaths
- Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
long count(User creator, MarkerType status)
creator
- the user who created those annotationsstatus
- the status of those annotations (can be null)Pager<Annotation> list(User creator, MarkerType status, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
creator
- the user who created those annotationsstatus
- the status of those annotations (can be null)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
- Properties to order bypropertyPaths
- Properties to initialize in the returned entities, following the syntax described in IBeanInitializer.initialize(Object, List)
Copyright © 2007-2020 EDIT. All Rights Reserved.