Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.publisher.impl.localfs
Class FSPublishedDocument

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

public class FSPublishedDocument
extends java.lang.Object
implements PublishedDocument

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.nuxeo.ecm.platform.publisher.api.PublishedDocument
PublishedDocument.Type
 
Field Summary
static org.dom4j.QName isPendingQN
           
static org.dom4j.Namespace nxfspub
           
static org.dom4j.QName pubInfoQN
           
static org.dom4j.QName sourceDocRefQN
           
static org.dom4j.QName sourceRepositoryNameQN
           
static org.dom4j.QName sourceServerQN
           
static org.dom4j.QName sourceVersionQN
           
 
Constructor Summary
FSPublishedDocument(java.io.File file)
           
FSPublishedDocument(java.lang.String server, DocumentModel doc)
           
FSPublishedDocument(java.lang.String server, DocumentModel doc, boolean isPending)
           
 
Method Summary
 java.lang.String getParentPath()
           
 java.lang.String getPath()
           
 java.lang.String getPersistPath()
           
 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 persist(java.lang.String containerPath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nxfspub

public static final org.dom4j.Namespace nxfspub

pubInfoQN

public static final org.dom4j.QName pubInfoQN

sourceDocRefQN

public static final org.dom4j.QName sourceDocRefQN

sourceRepositoryNameQN

public static final org.dom4j.QName sourceRepositoryNameQN

sourceServerQN

public static final org.dom4j.QName sourceServerQN

sourceVersionQN

public static final org.dom4j.QName sourceVersionQN

isPendingQN

public static final org.dom4j.QName isPendingQN
Constructor Detail

FSPublishedDocument

public FSPublishedDocument(java.io.File file)
                    throws NotFSPublishedDocumentException
Throws:
NotFSPublishedDocumentException

FSPublishedDocument

public FSPublishedDocument(java.lang.String server,
                           DocumentModel doc)
                    throws java.lang.Exception
Throws:
java.lang.Exception

FSPublishedDocument

public FSPublishedDocument(java.lang.String server,
                           DocumentModel doc,
                           boolean isPending)
                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

persist

public void persist(java.lang.String containerPath)
             throws java.lang.Exception
Throws:
java.lang.Exception

getSourceDocumentRef

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

getSourceRepositoryName

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

getSourceServer

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

getSourceVersionLabel

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

getPersistPath

public java.lang.String getPersistPath()

getPath

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

getParentPath

public java.lang.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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.