Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.publisher.impl.core
Class SimpleCorePublishedDocument

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.impl.core.SimpleCorePublishedDocument
All Implemented Interfaces:
java.io.Serializable, PublishedDocument

public class SimpleCorePublishedDocument
extends java.lang.Object
implements PublishedDocument

Implementations of the PublishedDocument on top of the Core, using simple proxies.

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
SimpleCorePublishedDocument(DocumentModel doc)
           
 
Method Summary
 java.lang.String getParentPath()
           
 java.lang.String getPath()
           
 DocumentModel getProxy()
           
 DocumentRef getSourceDocumentRef()
           
 java.lang.String getSourceRepositoryName()
           
 java.lang.String getSourceServer()
           
 java.lang.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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCorePublishedDocument

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

getSourceDocumentRef

public DocumentRef getSourceDocumentRef()
Specified by:
getSourceDocumentRef in interface PublishedDocument

getSourceServer

public java.lang.String getSourceServer()
Specified by:
getSourceServer in interface PublishedDocument

getSourceRepositoryName

public java.lang.String getSourceRepositoryName()
Specified by:
getSourceRepositoryName in interface PublishedDocument

getSourceVersionLabel

public java.lang.String getSourceVersionLabel()
Specified by:
getSourceVersionLabel in interface PublishedDocument

getProxy

public DocumentModel getProxy()

getPath

public java.lang.String getPath()
Specified by:
getPath in interface PublishedDocument

getParentPath

public java.lang.String getParentPath()
Specified by:
getParentPath in interface PublishedDocument

setPending

public void setPending(boolean isPending)

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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.