public class LocalFSPublicationTree extends AbstractBasePublicationTree implements PublicationTree
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_FILENAME |
static String |
INDEX_FILENAME_TMP |
ICON_COLLAPSED_KEY, ICON_EXPANDED_KEY, ROOT_PATH_KEY, TITLE_KEY
Constructor and Description |
---|
LocalFSPublicationTree() |
Modifier and Type | Method and Description |
---|---|
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) |
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getIconCollapsed, getIconExpanded, getPublishedDocumentInNode, getTreeTitle, getTreeType, hasValidationTask, isPublicationNode, setCurrentDocument, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument
getChildrenDocuments, getChildrenNodes, getName, getNodeType, getParent, getPath, getSessionId, getTitle, getTreeConfigName, getType
public static final String INDEX_FILENAME
public static final String INDEX_FILENAME_TMP
public void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title) throws ClientException
initTree
in interface PublicationTree
initTree
in class AbstractBasePublicationTree
ClientException
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc) throws ClientException
getExistingPublishedDocument
in interface PublicationTree
ClientException
public PublicationNode getNodeByPath(String path) throws ClientException
getNodeByPath
in interface PublicationTree
ClientException
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode) throws ClientException
publish
in interface PublicationTree
publish
in class AbstractBasePublicationTree
ClientException
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params) throws ClientException
publish
in interface PublicationTree
publish
in class AbstractBasePublicationTree
ClientException
public void unpublish(DocumentModel doc, PublicationNode targetNode) throws ClientException
unpublish
in interface PublicationTree
ClientException
public void unpublish(PublishedDocument pubDoc) throws ClientException
unpublish
in interface PublicationTree
ClientException
public void release()
release
in interface PublicationTree
Copyright © 2015 Nuxeo SA. All rights reserved.