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, wrapToPublishedDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanManagePublishing, canPublishTo, canUnpublish, getConfigName, getNodeByPath, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocumentgetParentprotected 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 AbstractRemotableTreeprotected PublicationNode switchToClientNode(PublicationNode node)
switchToClientNode in class AbstractRemotableTreeprotected PublicationNode switchToServerNode(PublicationNode node)
switchToServerNode in class AbstractRemotableTreepublic void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title)
initTree in interface PublicationTreeprotected RemotePublicationTreeManager getTreeService()
getTreeService in class AbstractRemotableTreepublic List<PublishedDocument> getChildrenDocuments()
getChildrenDocuments in interface PublicationNodepublic String getPath()
getPath in interface PublicationNodepublic String getTitle()
getTitle in interface PublicationNodepublic String getTreeTitle()
getTreeTitle in interface PublicationTreepublic String getName()
getName in interface PublicationNodepublic String getTreeType()
getTreeType in interface PublicationTreepublic String getNodeType()
getNodeType in interface PublicationNodepublic String getTreeConfigName()
getTreeConfigName in interface PublicationNodepublic String getSessionId()
getSessionId in interface PublicationNodepublic String getRemoteSessionId()
protected String getServerTreeSessionId()
getServerTreeSessionId in class AbstractRemotableTreepublic PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
publish in interface PublicationTreepublish in class AbstractRemotableTreepublic List<PublicationNode> getChildrenNodes()
getChildrenNodes in interface PublicationNodepublic String getType()
getType in interface PublicationNodepublic List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc)
getExistingPublishedDocument in interface PublicationTreegetExistingPublishedDocument in class AbstractRemotableTreepublic String getIconExpanded()
getIconExpanded in interface PublicationTreepublic String getIconCollapsed()
getIconCollapsed in interface PublicationTreeCopyright © 2016 Nuxeo SA. All rights reserved.