public interface Annotation extends Promotable
Promotable.Impl
PROMOTION_SCORE
Modifier and Type | Method and Description |
---|---|
Iterable<Annotation> |
getAnnotations()
Fetch annotations that have been made on this annotation.
|
UserProfile |
getAnnotator()
Fetch the annotator of this annotation.
|
String |
getBody()
Get the body of this annotation.
|
Iterable<Annotatable> |
getTargetParts()
Fetch all targets of this annotation, including sub-parts
of an item.
|
Iterable<Annotatable> |
getTargets()
Fetch the targets of this annotation.
|
void |
setAnnotator(UserProfile annotator)
Set the annotator of this annotation.
|
addDemotion, addPromotion, getDemoters, getPromoters, getPromotionScore, isPromotable, isPromoted, isPromotedBy, removeDemotion, removePromotion
addAccessor, getAccessors, getHistory, getLatestEvent, getPermissionScope, getPermissionScopes, hasAccessRestriction, removeAccessor, setPermissionScope
getPermissionGrants
as, getId, getProperty, getProperty, getPropertyKeys, getType
Iterable<Annotation> getAnnotations()
UserProfile getAnnotator()
void setAnnotator(UserProfile annotator)
annotator
- an annotator frameIterable<Annotatable> getTargetParts()
Iterable<Annotatable> getTargets()
String getBody()
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.