org.nuxeo.ecm.platform.publisher.synchonize.server
Class AbstractSynchonizablePublicationTree
java.lang.Object
org.nuxeo.ecm.platform.publisher.synchonize.server.AbstractSynchonizablePublicationTree
- All Implemented Interfaces:
- Serializable, PublicationNode, PublicationTree, ServerSynchronizablePublicationTree
public abstract class AbstractSynchonizablePublicationTree
- extends Object
- implements ServerSynchronizablePublicationTree
- See Also:
- Serialized Form
Method Summary |
String |
exportPublishedDocumentByPath(String path)
|
List<PublishedDocument> |
getChildrenDocuments()
|
List<PublicationNode> |
getChildrenNodes()
|
String |
getConfigName()
|
List<PublishedDocument> |
getExistingPublishedDocument(DocumentLocation docLoc)
|
PublicationNode |
getNodeByPath(String path)
|
String |
getNodeType()
|
PublicationNode |
getParent()
|
String |
getPath()
|
List<PublishedDocument> |
getPublishedDocumentInNode(PublicationNode node)
|
String |
getSessionId()
|
String |
getTitle()
|
String |
getTreeName()
|
String |
getTreeType()
|
void |
initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName)
|
List<PublicationNode> |
listModifiedNodes(long timeDelta)
|
List<PublishedDocument> |
listModifiedPublishedDocuments(long timeDelta)
|
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode)
|
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params)
|
void |
unpublish(DocumentModel doc,
PublicationNode targetNode)
|
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 |
AbstractSynchonizablePublicationTree
public AbstractSynchonizablePublicationTree()
exportPublishedDocumentByPath
public String exportPublishedDocumentByPath(String path)
- Specified by:
exportPublishedDocumentByPath
in interface ServerSynchronizablePublicationTree
listModifiedNodes
public List<PublicationNode> listModifiedNodes(long timeDelta)
- Specified by:
listModifiedNodes
in interface ServerSynchronizablePublicationTree
listModifiedPublishedDocuments
public List<PublishedDocument> listModifiedPublishedDocuments(long timeDelta)
- Specified by:
listModifiedPublishedDocuments
in interface ServerSynchronizablePublicationTree
getConfigName
public String getConfigName()
- Specified by:
getConfigName
in interface PublicationTree
getExistingPublishedDocument
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
throws ClientException
- Specified by:
getExistingPublishedDocument
in interface PublicationTree
- Throws:
ClientException
getNodeByPath
public PublicationNode getNodeByPath(String path)
throws ClientException
- Specified by:
getNodeByPath
in interface PublicationTree
- Throws:
ClientException
getPublishedDocumentInNode
public List<PublishedDocument> getPublishedDocumentInNode(PublicationNode node)
throws ClientException
- Specified by:
getPublishedDocumentInNode
in interface PublicationTree
- Throws:
ClientException
getSessionId
public String getSessionId()
- Specified by:
getSessionId
in interface PublicationNode
getTitle
public String getTitle()
- Specified by:
getTitle
in interface PublicationNode
getTreeType
public String getTreeType()
- Specified by:
getTreeType
in interface PublicationTree
initTree
public void initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
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,
Map<String,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 List<PublishedDocument> getChildrenDocuments()
throws ClientException
- Specified by:
getChildrenDocuments
in interface PublicationNode
- Throws:
ClientException
getChildrenNodes
public List<PublicationNode> getChildrenNodes()
throws ClientException
- Specified by:
getChildrenNodes
in interface PublicationNode
- Throws:
ClientException
getNodeType
public String getNodeType()
- Specified by:
getNodeType
in interface PublicationNode
getParent
public PublicationNode getParent()
- Specified by:
getParent
in interface PublicationNode
getPath
public String getPath()
- Specified by:
getPath
in interface PublicationNode
getTreeName
public String getTreeName()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.