public class LocalFSPublicationTree extends AbstractBasePublicationTree implements PublicationTree
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_FILENAME |
static String |
INDEX_FILENAME_TMP |
configName, coreSession, factory, ICON_COLLAPSED_KEY, ICON_EXPANDED_KEY, iconCollapsed, iconExpanded, ROOT_PATH_KEY, rootNode, rootPath, sid, TITLE_KEY, treeTitle
Constructor and Description |
---|
LocalFSPublicationTree() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(PublishedDocument publishedDocument) |
protected void |
findDocs(List<PublishedDocument> pubDocs,
File container,
DocumentLocation docLoc) |
protected PublishedDocumentFactory |
getDefaultFactory() |
protected String |
getDefaultRootPath() |
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
clone, equals, finalize, 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 LocalFSPublicationTree()
public void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title)
initTree
in interface PublicationTree
initTree
in class AbstractBasePublicationTree
protected PublishedDocumentFactory getDefaultFactory()
getDefaultFactory
in class AbstractBasePublicationTree
protected String getDefaultRootPath()
getDefaultRootPath
in class AbstractBasePublicationTree
protected void findDocs(List<PublishedDocument> pubDocs, File container, DocumentLocation docLoc)
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
getExistingPublishedDocument
in interface PublicationTree
public PublicationNode getNodeByPath(String path)
getNodeByPath
in interface PublicationTree
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode)
publish
in interface PublicationTree
publish
in class AbstractBasePublicationTree
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publish
in interface PublicationTree
publish
in class AbstractBasePublicationTree
public void unpublish(DocumentModel doc, PublicationNode targetNode)
unpublish
in interface PublicationTree
public void unpublish(PublishedDocument pubDoc)
unpublish
in interface PublicationTree
public void release()
release
in interface PublicationTree
protected boolean accept(PublishedDocument publishedDocument)
accept
in class AbstractBasePublicationTree
Copyright © 2015 Nuxeo SA. All rights reserved.