public class ClientRemotePublicationTree extends AbstractRemotableTree implements PublicationTree
PublicationTree
implementation that points to a remote tree on a remote server.Modifier and Type | Field and Description |
---|---|
protected static String |
BASEURL_KEY |
protected CoreSession |
coreSession |
protected PublishedDocumentFactory |
factory |
static String |
ICON_COLLAPSED_KEY |
static String |
ICON_EXPANDED_KEY |
protected String |
iconCollapsed |
protected String |
iconExpanded |
protected static String |
MARSHALER_KEY |
protected String |
name |
protected String |
nodeType |
protected static String |
ORGSERVER_KEY |
protected static String |
PASSWORD_KEY |
protected ClientRemotePublicationNode |
rootNode |
protected String |
rootPath |
protected String |
serverSessionId |
protected String |
targetTreeName |
protected static String |
TARGETTREENAME_KEY |
protected String |
title |
static String |
TITLE_KEY |
protected String |
treeTitle |
protected static String |
USERNAME_KEY |
configName, released, sessionId, treeService
Constructor and Description |
---|
ClientRemotePublicationTree() |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getNodeByPath, getParent, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, release, setCurrentDocument, switchToClientNodes, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getNodeByPath, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument
getParent
protected static final String ORGSERVER_KEY
protected static final String USERNAME_KEY
protected static final String PASSWORD_KEY
protected static final String BASEURL_KEY
protected static final String MARSHALER_KEY
protected static final String TARGETTREENAME_KEY
public static final String ICON_EXPANDED_KEY
public static final String ICON_COLLAPSED_KEY
public static final String TITLE_KEY
protected String targetTreeName
protected String serverSessionId
protected String iconCollapsed
protected String iconExpanded
protected PublishedDocumentFactory factory
protected ClientRemotePublicationNode rootNode
protected CoreSession coreSession
public ClientRemotePublicationTree()
protected String getTargetTreeName()
getTargetTreeName
in class AbstractRemotableTree
protected PublicationNode switchToClientNode(PublicationNode node)
switchToClientNode
in class AbstractRemotableTree
protected PublicationNode switchToServerNode(PublicationNode node)
switchToServerNode
in class AbstractRemotableTree
public void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title)
initTree
in interface PublicationTree
protected RemotePublicationTreeManager getTreeService()
getTreeService
in class AbstractRemotableTree
public List<PublishedDocument> getChildrenDocuments()
getChildrenDocuments
in interface PublicationNode
public String getPath()
getPath
in interface PublicationNode
public String getTitle()
getTitle
in interface PublicationNode
public String getTreeTitle()
getTreeTitle
in interface PublicationTree
public String getName()
getName
in interface PublicationNode
public String getTreeType()
getTreeType
in interface PublicationTree
public String getNodeType()
getNodeType
in interface PublicationNode
public String getTreeConfigName()
getTreeConfigName
in interface PublicationNode
public String getSessionId()
getSessionId
in interface PublicationNode
public String getRemoteSessionId()
protected String getServerTreeSessionId()
getServerTreeSessionId
in class AbstractRemotableTree
public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publish
in interface PublicationTree
publish
in class AbstractRemotableTree
public List<PublicationNode> getChildrenNodes()
getChildrenNodes
in interface PublicationNode
public String getType()
getType
in interface PublicationNode
public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
getExistingPublishedDocument
in interface PublicationTree
getExistingPublishedDocument
in class AbstractRemotableTree
public String getIconExpanded()
getIconExpanded
in interface PublicationTree
public String getIconCollapsed()
getIconCollapsed
in interface PublicationTree
Copyright © 2015 Nuxeo SA. All rights reserved.