org.nuxeo.ecm.platform.publisher.remoting.marshaling.basic
Class BasicPublishedDocument
java.lang.Object
org.nuxeo.ecm.platform.publisher.remoting.marshaling.basic.BasicPublishedDocument
- All Implemented Interfaces:
- Serializable, PublishedDocument
public class BasicPublishedDocument
- extends Object
- implements PublishedDocument
Java implementation for the marshalled PublishedDocument
.
- Author:
- tiry
- See Also:
- Serialized Form
BasicPublishedDocument
public BasicPublishedDocument(DocumentRef docRef,
String repositoryName,
String serverName,
String versionLabel,
String path,
String parentPath,
boolean isPending)
getSourceDocumentRef
public DocumentRef getSourceDocumentRef()
- Specified by:
getSourceDocumentRef
in interface PublishedDocument
getSourceRepositoryName
public String getSourceRepositoryName()
- Specified by:
getSourceRepositoryName
in interface PublishedDocument
getSourceServer
public String getSourceServer()
- Specified by:
getSourceServer
in interface PublishedDocument
getSourceVersionLabel
public String getSourceVersionLabel()
- Specified by:
getSourceVersionLabel
in interface PublishedDocument
getPath
public String getPath()
- Specified by:
getPath
in interface PublishedDocument
getParentPath
public String getParentPath()
- Specified by:
getParentPath
in interface PublishedDocument
isPending
public boolean isPending()
- Description copied from interface:
PublishedDocument
- Returns
true
if this document is waiting approval, false
otherwise.
- Specified by:
isPending
in interface PublishedDocument
getType
public PublishedDocument.Type getType()
- Description copied from interface:
PublishedDocument
- Returns the
Type
of this PublishedDocument.
- Specified by:
getType
in interface PublishedDocument
Copyright © 2011 Nuxeo SAS. All Rights Reserved.