public abstract class AbstractSynchonizablePublicationTree extends Object implements ServerSynchronizablePublicationTree
Constructor and Description |
---|
AbstractSynchonizablePublicationTree() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, canPublishTo, canUnpublish, getIconCollapsed, getIconExpanded, getTreeTitle, hasValidationTask, initTree, isPublicationNode, release, setCurrentDocument, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument
getName, getTreeConfigName, getType
public AbstractSynchonizablePublicationTree()
public String exportPublishedDocumentByPath(String path)
exportPublishedDocumentByPath
in interface ServerSynchronizablePublicationTree
public List<PublicationNode> listModifiedNodes(long timeDelta)
listModifiedNodes
in interface ServerSynchronizablePublicationTree
public List<PublishedDocument> listModifiedPublishedDocuments(long timeDelta)
listModifiedPublishedDocuments
in interface ServerSynchronizablePublicationTree
public String getConfigName()
getConfigName
in interface PublicationTree
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 List<PublishedDocument> getPublishedDocumentInNode(PublicationNode node) throws ClientException
getPublishedDocumentInNode
in interface PublicationTree
ClientException
public String getSessionId()
getSessionId
in interface PublicationNode
public String getTitle()
getTitle
in interface PublicationNode
public String getTreeType()
getTreeType
in interface PublicationTree
public void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName) throws ClientException
ClientException
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode) throws ClientException
publish
in interface PublicationTree
ClientException
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params) throws ClientException
publish
in interface PublicationTree
ClientException
public void unpublish(DocumentModel doc, PublicationNode targetNode) throws ClientException
unpublish
in interface PublicationTree
ClientException
public List<PublishedDocument> getChildrenDocuments() throws ClientException
getChildrenDocuments
in interface PublicationNode
ClientException
public List<PublicationNode> getChildrenNodes() throws ClientException
getChildrenNodes
in interface PublicationNode
ClientException
public String getNodeType()
getNodeType
in interface PublicationNode
public PublicationNode getParent()
getParent
in interface PublicationNode
public String getPath()
getPath
in interface PublicationNode
public String getTreeName()
Copyright © 2011 Nuxeo SA. All Rights Reserved.