org.nuxeo.ecm.platform.publisher.impl.localfs
Class LocalFSPublicationTree
java.lang.Object
org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree
org.nuxeo.ecm.platform.publisher.impl.localfs.LocalFSPublicationTree
- All Implemented Interfaces:
- java.io.Serializable, PublicationNode, PublicationTree
public class LocalFSPublicationTree
- extends AbstractBasePublicationTree
- implements PublicationTree
- See Also:
- Serialized Form
Method Summary |
java.util.List<PublishedDocument> |
getExistingPublishedDocument(DocumentLocation docLoc)
|
PublicationNode |
getNodeByPath(java.lang.String path)
|
void |
initTree(java.lang.String sid,
CoreSession coreSession,
java.util.Map<java.lang.String,java.lang.String> parameters,
PublishedDocumentFactory factory,
java.lang.String configName,
java.lang.String title)
|
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode)
|
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode,
java.util.Map<java.lang.String,java.lang.String> params)
|
void |
release()
|
void |
unpublish(DocumentModel doc,
PublicationNode targetNode)
|
void |
unpublish(PublishedDocument pubDoc)
|
Methods inherited from class org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree |
canManagePublishing, canPublishTo, canUnpublish, getChildrenDocuments, getChildrenNodes, getConfigName, getIconCollapsed, getIconExpanded, getName, getNodeType, getParent, getPath, getPublishedDocumentInNode, getSessionId, getTitle, getTreeConfigName, getTreeTitle, getTreeType, getType, hasValidationTask, isPublicationNode, setCurrentDocument, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublicationTree |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getIconCollapsed, getIconExpanded, getPublishedDocumentInNode, getTreeTitle, getTreeType, hasValidationTask, isPublicationNode, setCurrentDocument, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument |
INDEX_FILENAME
public static final java.lang.String INDEX_FILENAME
- See Also:
- Constant Field Values
INDEX_FILENAME_TMP
public static final java.lang.String INDEX_FILENAME_TMP
- See Also:
- Constant Field Values
LocalFSPublicationTree
public LocalFSPublicationTree()
initTree
public void initTree(java.lang.String sid,
CoreSession coreSession,
java.util.Map<java.lang.String,java.lang.String> parameters,
PublishedDocumentFactory factory,
java.lang.String configName,
java.lang.String title)
throws ClientException
- Specified by:
initTree
in interface PublicationTree
- Overrides:
initTree
in class AbstractBasePublicationTree
- Throws:
ClientException
getExistingPublishedDocument
public java.util.List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
throws ClientException
- Specified by:
getExistingPublishedDocument
in interface PublicationTree
- Throws:
ClientException
getNodeByPath
public PublicationNode getNodeByPath(java.lang.String path)
throws ClientException
- Specified by:
getNodeByPath
in interface PublicationTree
- Throws:
ClientException
publish
public PublishedDocument publish(DocumentModel doc,
PublicationNode targetNode)
throws ClientException
- Specified by:
publish
in interface PublicationTree
- Overrides:
publish
in class AbstractBasePublicationTree
- Throws:
ClientException
publish
public PublishedDocument publish(DocumentModel doc,
PublicationNode targetNode,
java.util.Map<java.lang.String,java.lang.String> params)
throws ClientException
- Specified by:
publish
in interface PublicationTree
- Overrides:
publish
in class AbstractBasePublicationTree
- Throws:
ClientException
unpublish
public void unpublish(DocumentModel doc,
PublicationNode targetNode)
throws ClientException
- Specified by:
unpublish
in interface PublicationTree
- Throws:
ClientException
unpublish
public void unpublish(PublishedDocument pubDoc)
throws ClientException
- Specified by:
unpublish
in interface PublicationTree
- Throws:
ClientException
release
public void release()
- Specified by:
release
in interface PublicationTree
Copyright © 2010 Nuxeo SAS. All Rights Reserved.