Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.publisher.synchonize.server
Class AbstractSynchonizablePublicationTree

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.synchonize.server.AbstractSynchonizablePublicationTree
All Implemented Interfaces:
java.io.Serializable, PublicationNode, PublicationTree, ServerSynchronizablePublicationTree

public abstract class AbstractSynchonizablePublicationTree
extends java.lang.Object
implements ServerSynchronizablePublicationTree

See Also:
Serialized Form

Constructor Summary
AbstractSynchonizablePublicationTree()
           
 
Method Summary
 java.lang.String exportPublishedDocumentByPath(java.lang.String path)
           
 java.util.List<PublishedDocument> getChildrenDocuments()
           
 java.util.List<PublicationNode> getChildrenNodes()
           
 java.lang.String getConfigName()
           
 java.util.List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
           
 PublicationNode getNodeByPath(java.lang.String path)
           
 java.lang.String getNodeType()
           
 PublicationNode getParent()
           
 java.lang.String getPath()
           
 java.util.List<PublishedDocument> getPublishedDocumentInNode(PublicationNode node)
           
 java.lang.String getSessionId()
           
 java.lang.String getTitle()
           
 java.lang.String getTreeName()
           
 java.lang.String getTreeType()
           
 void initTree(java.lang.String sid, CoreSession coreSession, java.util.Map<java.lang.String,java.lang.String> parameters, PublishedDocumentFactory factory, java.lang.String configName)
           
 java.util.List<PublicationNode> listModifiedNodes(long timeDelta)
           
 java.util.List<PublishedDocument> listModifiedPublishedDocuments(long timeDelta)
           
 PublishedDocument publish(DocumentModel doc, PublicationNode targetNode)
           
 PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, java.util.Map<java.lang.String,java.lang.String> params)
           
 void unpublish(DocumentModel doc, PublicationNode targetNode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublicationTree
canManagePublishing, canPublishTo, canUnpublish, getIconCollapsed, getIconExpanded, getTreeTitle, hasValidationTask, initTree, isPublicationNode, release, setCurrentDocument, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument
 
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublicationNode
getName, getTreeConfigName, getType
 

Constructor Detail

AbstractSynchonizablePublicationTree

public AbstractSynchonizablePublicationTree()
Method Detail

exportPublishedDocumentByPath

public java.lang.String exportPublishedDocumentByPath(java.lang.String path)
Specified by:
exportPublishedDocumentByPath in interface ServerSynchronizablePublicationTree

listModifiedNodes

public java.util.List<PublicationNode> listModifiedNodes(long timeDelta)
Specified by:
listModifiedNodes in interface ServerSynchronizablePublicationTree

listModifiedPublishedDocuments

public java.util.List<PublishedDocument> listModifiedPublishedDocuments(long timeDelta)
Specified by:
listModifiedPublishedDocuments in interface ServerSynchronizablePublicationTree

getConfigName

public java.lang.String getConfigName()
Specified by:
getConfigName in interface PublicationTree

getExistingPublishedDocument

public java.util.List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
                                                               throws ClientException
Specified by:
getExistingPublishedDocument in interface PublicationTree
Throws:
ClientException

getNodeByPath

public PublicationNode getNodeByPath(java.lang.String path)
                              throws ClientException
Specified by:
getNodeByPath in interface PublicationTree
Throws:
ClientException

getPublishedDocumentInNode

public java.util.List<PublishedDocument> getPublishedDocumentInNode(PublicationNode node)
                                                             throws ClientException
Specified by:
getPublishedDocumentInNode in interface PublicationTree
Throws:
ClientException

getSessionId

public java.lang.String getSessionId()
Specified by:
getSessionId in interface PublicationNode

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface PublicationNode

getTreeType

public java.lang.String getTreeType()
Specified by:
getTreeType in interface PublicationTree

initTree

public void initTree(java.lang.String sid,
                     CoreSession coreSession,
                     java.util.Map<java.lang.String,java.lang.String> parameters,
                     PublishedDocumentFactory factory,
                     java.lang.String configName)
              throws ClientException
Throws:
ClientException

publish

public PublishedDocument publish(DocumentModel doc,
                                 PublicationNode targetNode)
                          throws ClientException
Specified by:
publish in interface PublicationTree
Throws:
ClientException

publish

public PublishedDocument publish(DocumentModel doc,
                                 PublicationNode targetNode,
                                 java.util.Map<java.lang.String,java.lang.String> params)
                          throws ClientException
Specified by:
publish in interface PublicationTree
Throws:
ClientException

unpublish

public void unpublish(DocumentModel doc,
                      PublicationNode targetNode)
               throws ClientException
Specified by:
unpublish in interface PublicationTree
Throws:
ClientException

getChildrenDocuments

public java.util.List<PublishedDocument> getChildrenDocuments()
                                                       throws ClientException
Specified by:
getChildrenDocuments in interface PublicationNode
Throws:
ClientException

getChildrenNodes

public java.util.List<PublicationNode> getChildrenNodes()
                                                 throws ClientException
Specified by:
getChildrenNodes in interface PublicationNode
Throws:
ClientException

getNodeType

public java.lang.String getNodeType()
Specified by:
getNodeType in interface PublicationNode

getParent

public PublicationNode getParent()
Specified by:
getParent in interface PublicationNode

getPath

public java.lang.String getPath()
Specified by:
getPath in interface PublicationNode

getTreeName

public java.lang.String getTreeName()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.