public interface OccurrenceRelation
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(List<OccurrenceInfo> occurrences)
Merge the list of occurrences with the existing occurrence info held by
the underlying document model using.
|
DocumentModel |
getOccurrenceDocument() |
List<OccurrenceInfo> |
getOccurrences() |
List<OccurrenceInfo> |
getOccurrences(int maxOccurrences) |
DocumentModel |
getSourceDocument()
Lazy fetch the DocumentModel of the document carrying the entity mentions.
|
DocumentRef |
getSourceDocumentRef() |
DocumentModel |
getTargetEntity()
Lazy fetch the DocumentModel of the entity being mentioned.
|
DocumentRef |
getTargetEntityRef() |
void |
setOccurrences(List<OccurrenceInfo> occurrences)
Replace existing occurrences with the a new list of occurrence info.
|
DocumentModel getOccurrenceDocument()
DocumentRef getSourceDocumentRef() throws ClientException
ClientExceptionDocumentRef getTargetEntityRef() throws ClientException
ClientExceptionList<OccurrenceInfo> getOccurrences() throws ClientException
ClientExceptionList<OccurrenceInfo> getOccurrences(int maxOccurrences) throws ClientException
ClientExceptionvoid addOccurrences(List<OccurrenceInfo> occurrences) throws ClientException
ClientExceptionvoid setOccurrences(List<OccurrenceInfo> occurrences) throws ClientException
ClientExceptionDocumentModel getTargetEntity() throws ClientException
ClientExceptionDocumentModel getSourceDocument() throws ClientException
ClientExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.