Class AnnotationImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.comment.api.CommentImpl
-
- org.nuxeo.ecm.platform.comment.api.AnnotationImpl
-
- All Implemented Interfaces:
Annotation
,Comment
,ExternalEntity
public class AnnotationImpl extends CommentImpl implements Annotation, ExternalEntity
- Since:
- 10.1
-
-
Field Summary
Fields Modifier and Type Field Description protected String
xpath
Deprecated.since 11.1, not used due toCommentImpl.docModel
usage-
Fields inherited from class org.nuxeo.ecm.platform.comment.api.CommentImpl
ancestorIds, author, creationDate, docModel, entity, entityId, id, modificationDate, origin, parentId, text
-
-
Constructor Summary
Constructors Modifier Constructor Description AnnotationImpl()
protected
AnnotationImpl(DocumentModel docModel)
Constructor for the document adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getXpath()
Gets the xpath of annotated blob in the document.void
setXpath(String xpath)
Sets the xpath of annotated blob in the document.-
Methods inherited from class org.nuxeo.ecm.platform.comment.api.CommentImpl
addAncestorId, equals, getAncestorIds, getAuthor, getCreationDate, getDocument, getEntity, getEntityId, getId, getModificationDate, getOrigin, getParentId, getText, hashCode, setAuthor, setCreationDate, setEntity, setEntityId, setId, setModificationDate, setOrigin, setParentId, setText, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.comment.api.Comment
addAncestorId, getAncestorIds, getAuthor, getCreationDate, getDocument, getId, getModificationDate, getParentId, getText, setAuthor, setCreationDate, setId, setModificationDate, setParentId, setText
-
Methods inherited from interface org.nuxeo.ecm.platform.comment.api.ExternalEntity
getEntity, getEntityId, getOrigin, setEntity, setEntityId, setOrigin
-
-
-
-
Field Detail
-
xpath
@Deprecated(since="11.1") protected String xpath
Deprecated.since 11.1, not used due toCommentImpl.docModel
usage
-
-
Constructor Detail
-
AnnotationImpl
public AnnotationImpl()
- Since:
- 11.1
-
AnnotationImpl
protected AnnotationImpl(DocumentModel docModel)
Constructor for the document adapter factory.- Since:
- 11.1
-
-
Method Detail
-
getXpath
public String getXpath()
Description copied from interface:Annotation
Gets the xpath of annotated blob in the document.- Specified by:
getXpath
in interfaceAnnotation
- Returns:
- the xpath
-
setXpath
public void setXpath(String xpath)
Description copied from interface:Annotation
Sets the xpath of annotated blob in the document.- Specified by:
setXpath
in interfaceAnnotation
- Parameters:
xpath
- the xpath
-
-