org.nuxeo.ecm.platform.publisher.remoting.client
Class ClientRemotePublicationTree
java.lang.Object
org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree
org.nuxeo.ecm.platform.publisher.remoting.client.ClientRemotePublicationTree
- All Implemented Interfaces:
- Serializable, PublicationNode, PublicationTree
public class ClientRemotePublicationTree
- extends AbstractRemotableTree
- implements PublicationTree
PublicationTree
implementation that points to a remote tree on a
remote server.
- Author:
- tiry
- See Also:
- Serialized Form
Methods inherited from class org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getNodeByPath, getParent, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument |
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublicationTree |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getNodeByPath, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument |
ICON_EXPANDED_KEY
public static final String ICON_EXPANDED_KEY
- See Also:
- Constant Field Values
ICON_COLLAPSED_KEY
public static final String ICON_COLLAPSED_KEY
- See Also:
- Constant Field Values
TITLE_KEY
public static final String TITLE_KEY
- See Also:
- Constant Field Values
ClientRemotePublicationTree
public ClientRemotePublicationTree()
initTree
public void initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title)
throws ClientException
- Specified by:
initTree
in interface PublicationTree
- Throws:
ClientException
getChildrenDocuments
public List<PublishedDocument> getChildrenDocuments()
throws ClientException
- Specified by:
getChildrenDocuments
in interface PublicationNode
- Throws:
ClientException
getPath
public String getPath()
- Specified by:
getPath
in interface PublicationNode
getTitle
public String getTitle()
- Specified by:
getTitle
in interface PublicationNode
getTreeTitle
public String getTreeTitle()
- Specified by:
getTreeTitle
in interface PublicationTree
getName
public String getName()
- Specified by:
getName
in interface PublicationNode
getTreeType
public String getTreeType()
- Specified by:
getTreeType
in interface PublicationTree
getNodeType
public String getNodeType()
- Specified by:
getNodeType
in interface PublicationNode
getTreeConfigName
public String getTreeConfigName()
- Specified by:
getTreeConfigName
in interface PublicationNode
getSessionId
public String getSessionId()
- Specified by:
getSessionId
in interface PublicationNode
getRemoteSessionId
public String getRemoteSessionId()
publish
public PublishedDocument publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params)
throws ClientException
- Specified by:
publish
in interface PublicationTree
- Overrides:
publish
in class AbstractRemotableTree
- Throws:
ClientException
getChildrenNodes
public List<PublicationNode> getChildrenNodes()
throws ClientException
- Specified by:
getChildrenNodes
in interface PublicationNode
- Throws:
ClientException
getType
public String getType()
- Specified by:
getType
in interface PublicationNode
getExistingPublishedDocument
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
throws ClientException
- Specified by:
getExistingPublishedDocument
in interface PublicationTree
- Overrides:
getExistingPublishedDocument
in class AbstractRemotableTree
- Throws:
ClientException
getIconExpanded
public String getIconExpanded()
- Specified by:
getIconExpanded
in interface PublicationTree
getIconCollapsed
public String getIconCollapsed()
- Specified by:
getIconCollapsed
in interface PublicationTree
Copyright © 2011 Nuxeo SAS. All Rights Reserved.