org.nuxeo.ecm.platform.publisher.impl.localfs
Class FSPublishedDocument
java.lang.Object
org.nuxeo.ecm.platform.publisher.impl.localfs.FSPublishedDocument
- All Implemented Interfaces:
- Serializable, PublishedDocument
public class FSPublishedDocument
- extends Object
- implements PublishedDocument
- See Also:
- Serialized Form
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
FSPublishedDocument
public FSPublishedDocument(File file)
throws NotFSPublishedDocumentException
- Throws:
NotFSPublishedDocumentException
FSPublishedDocument
public FSPublishedDocument(String server,
DocumentModel doc)
throws Exception
- Throws:
Exception
FSPublishedDocument
public FSPublishedDocument(String server,
DocumentModel doc,
boolean isPending)
throws Exception
- Throws:
Exception
persist
public void persist(String containerPath)
throws Exception
- Throws:
Exception
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
getPersistPath
public String getPersistPath()
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.