public class ExternalCorePublishedDocument extends Object implements PublishedDocument
PublishedDocument
implementation that uses a DocumentModel
to store the result of a remote
publication.PublishedDocument.Type
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPending |
protected String |
parentPath |
protected String |
path |
protected DocumentRef |
ref |
protected String |
repositoryName |
protected String |
sourceServer |
protected String |
versionLabel |
Constructor and Description |
---|
ExternalCorePublishedDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
String |
getParentPath() |
String |
getPath() |
DocumentRef |
getSourceDocumentRef() |
String |
getSourceRepositoryName() |
String |
getSourceServer() |
String |
getSourceVersionLabel() |
PublishedDocument.Type |
getType()
Returns the
Type of this PublishedDocument. |
boolean |
isPending()
Returns
true if this document is waiting approval, false otherwise. |
protected String sourceServer
protected String repositoryName
protected DocumentRef ref
protected String versionLabel
protected String parentPath
protected boolean isPending
public ExternalCorePublishedDocument(DocumentModel doc)
public DocumentRef getSourceDocumentRef()
getSourceDocumentRef
in interface PublishedDocument
public String getSourceRepositoryName()
getSourceRepositoryName
in interface PublishedDocument
public String getSourceServer()
getSourceServer
in interface PublishedDocument
public String getSourceVersionLabel()
getSourceVersionLabel
in interface PublishedDocument
public String getPath()
getPath
in interface PublishedDocument
public String getParentPath()
getParentPath
in interface PublishedDocument
public boolean isPending()
PublishedDocument
true
if this document is waiting approval, false
otherwise.isPending
in interface PublishedDocument
public PublishedDocument.Type getType()
PublishedDocument
Type
of this PublishedDocument.getType
in interface PublishedDocument
Copyright © 2016 Nuxeo SA. All rights reserved.