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, wrapToPublishedDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanManagePublishing, canPublishTo, canUnpublish, getConfigName, getIconCollapsed, getIconExpanded, getPublishedDocumentInNode, getTreeTitle, getTreeType, hasValidationTask, isPublicationNode, setCurrentDocument, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocumentgetChildrenDocuments, getChildrenNodes, getName, getNodeType, getParent, getPath, getSessionId, getTitle, getTreeConfigName, getTypepublic 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 PublicationTreeinitTree in class AbstractBasePublicationTreeprotected PublishedDocumentFactory getDefaultFactory()
getDefaultFactory in class AbstractBasePublicationTreeprotected String getDefaultRootPath()
getDefaultRootPath in class AbstractBasePublicationTreeprotected void findDocs(List<PublishedDocument> pubDocs, File container, DocumentLocation docLoc)
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
getExistingPublishedDocument in interface PublicationTreepublic PublicationNode getNodeByPath(String path)
getNodeByPath in interface PublicationTreepublic PublishedDocument publish(DocumentModel doc, PublicationNode targetNode)
publish in interface PublicationTreepublish in class AbstractBasePublicationTreepublic PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publish in interface PublicationTreepublish in class AbstractBasePublicationTreepublic void unpublish(DocumentModel doc, PublicationNode targetNode)
unpublish in interface PublicationTreepublic void unpublish(PublishedDocument pubDoc)
unpublish in interface PublicationTreepublic void release()
release in interface PublicationTreeprotected boolean accept(PublishedDocument publishedDocument)
accept in class AbstractBasePublicationTreeCopyright © 2015 Nuxeo SA. All rights reserved.