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:
- Serializable, PublicationNode, PublicationTree
public class LocalFSPublicationTree
- extends AbstractBasePublicationTree
- implements PublicationTree
- See Also:
- Serialized Form
Method Summary |
List<PublishedDocument> |
getExistingPublishedDocument(DocumentLocation docLoc)
|
PublicationNode |
getNodeByPath(String path)
|
void |
initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title)
|
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode)
|
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,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 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 String INDEX_FILENAME
- See Also:
- Constant Field Values
INDEX_FILENAME_TMP
public static final String INDEX_FILENAME_TMP
- See Also:
- Constant Field Values
LocalFSPublicationTree
public LocalFSPublicationTree()
initTree
public void initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title)
throws ClientException
- Specified by:
initTree
in interface PublicationTree
- Overrides:
initTree
in class AbstractBasePublicationTree
- Throws:
ClientException
getExistingPublishedDocument
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
throws ClientException
- Specified by:
getExistingPublishedDocument
in interface PublicationTree
- Throws:
ClientException
getNodeByPath
public PublicationNode getNodeByPath(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,
Map<String,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 © 2011 Nuxeo SAS. All Rights Reserved.