public class SimpleCorePublishedDocument extends Object implements PublishedDocument
PublishedDocument
on top of the Core, using simple proxies.Modifier and Type | Field and Description |
---|---|
protected boolean |
isPending |
protected DocumentModel |
proxy |
protected String |
versionLabel |
Constructor and Description |
---|
SimpleCorePublishedDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
String |
getParentPath() |
String |
getPath() |
DocumentModel |
getProxy() |
DocumentRef |
getSourceDocumentRef() |
String |
getSourceRepositoryName() |
String |
getSourceVersionLabel() |
boolean |
isPending()
Returns
true if this document is waiting approval, false otherwise. |
void |
setPending(boolean isPending) |
protected DocumentModel proxy
protected String versionLabel
protected boolean isPending
public SimpleCorePublishedDocument(DocumentModel doc)
public DocumentRef getSourceDocumentRef()
getSourceDocumentRef
in interface PublishedDocument
public String getSourceRepositoryName()
getSourceRepositoryName
in interface PublishedDocument
public String getSourceVersionLabel()
getSourceVersionLabel
in interface PublishedDocument
public DocumentModel getProxy()
public String getPath()
getPath
in interface PublishedDocument
public String getParentPath()
getParentPath
in interface PublishedDocument
public void setPending(boolean isPending)
public boolean isPending()
PublishedDocument
true
if this document is waiting approval, false
otherwise.isPending
in interface PublishedDocument
Copyright © 2018 Nuxeo. All rights reserved.