Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.remoting.server
Class ExternalCorePublishedDocument

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.remoting.server.ExternalCorePublishedDocument
All Implemented Interfaces:
Serializable, PublishedDocument

public class ExternalCorePublishedDocument
extends Object
implements PublishedDocument

PublishedDocument implementation that uses a DocumentModel to store the result of a remote publication.

Author:
tiry
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.nuxeo.ecm.platform.publisher.api.PublishedDocument
PublishedDocument.Type
 
Constructor Summary
ExternalCorePublishedDocument(DocumentModel doc)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalCorePublishedDocument

public ExternalCorePublishedDocument(DocumentModel doc)
                              throws ClientException
Throws:
ClientException
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.