public class SimpleCorePublishedDocument extends Object implements PublishedDocument
PublishedDocument on top of the Core, using
simple proxies.PublishedDocument.Type| Constructor and Description |
|---|
SimpleCorePublishedDocument(DocumentModel doc) |
| Modifier and Type | Method and Description |
|---|---|
String |
getParentPath() |
String |
getPath() |
DocumentModel |
getProxy() |
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. |
void |
setPending(boolean isPending) |
public SimpleCorePublishedDocument(DocumentModel doc) throws ClientException
ClientExceptionpublic DocumentRef getSourceDocumentRef()
getSourceDocumentRef in interface PublishedDocumentpublic String getSourceServer()
getSourceServer in interface PublishedDocumentpublic String getSourceRepositoryName()
getSourceRepositoryName in interface PublishedDocumentpublic String getSourceVersionLabel()
getSourceVersionLabel in interface PublishedDocumentpublic DocumentModel getProxy()
public String getPath()
getPath in interface PublishedDocumentpublic String getParentPath()
getParentPath in interface PublishedDocumentpublic void setPending(boolean isPending)
public boolean isPending()
PublishedDocumenttrue if this document is waiting approval, false
otherwise.isPending in interface PublishedDocumentpublic PublishedDocument.Type getType()
PublishedDocumentType of this PublishedDocument.getType in interface PublishedDocumentCopyright © 2013 Nuxeo SA. All Rights Reserved.