public class ProxyTree extends AbstractRemotableTree implements PublicationTree
PublicationTree interface. Because some PublicationTree
implementation may be bound to local resources (network connexions, local filesystem ...) all PublicationTree
returned by the service are wrapped into this RemotablePublicationTree.| Modifier and Type | Field and Description |
|---|---|
protected String |
iconCollapsed |
protected String |
iconExpanded |
protected String |
name |
protected String |
path |
protected ProxyNode |
rootNode |
protected String |
title |
protected String |
treeTitle |
protected String |
treeType |
configName, released, sessionId, treeService| Constructor and Description |
|---|
ProxyTree(PublicationTree tree,
String sid) |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getExistingPublishedDocument, getNodeByPath, getParent, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanManagePublishing, canPublishTo, canUnpublish, getConfigName, getExistingPublishedDocument, getNodeByPath, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocumentgetParentprotected String iconCollapsed
protected String iconExpanded
public ProxyTree(PublicationTree tree, String sid)
protected String getTargetTreeName()
getTargetTreeName in class AbstractRemotableTreeprotected List<PublicationNode> switchToClientNodes(List<PublicationNode> nodes)
switchToClientNodes in class AbstractRemotableTreeprotected RemotePublicationTreeManager getTreeService()
getTreeService in class AbstractRemotableTreepublic String getTitle()
getTitle in interface PublicationNodepublic String getTreeTitle()
getTreeTitle in interface PublicationTreepublic String getName()
getName in interface PublicationNodepublic String getTreeType()
getTreeType in interface PublicationTreepublic void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName)
public void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title)
initTree in interface PublicationTreepublic List<PublishedDocument> getChildrenDocuments()
getChildrenDocuments in interface PublicationNodepublic String getNodeType()
getNodeType in interface PublicationNodepublic String getPath()
getPath in interface PublicationNodepublic String getTreeConfigName()
getTreeConfigName in interface PublicationNodepublic String getSessionId()
getSessionId in interface PublicationNodeprotected String getServerTreeSessionId()
getServerTreeSessionId in class AbstractRemotableTreepublic List<PublicationNode> getChildrenNodes()
getChildrenNodes in interface PublicationNodeprotected PublicationNode switchToClientNode(PublicationNode node)
switchToClientNode in class AbstractRemotableTreeprotected PublicationNode switchToServerNode(PublicationNode node)
switchToServerNode in class AbstractRemotableTreepublic String getType()
getType in interface PublicationNodepublic String getIconExpanded()
getIconExpanded in interface PublicationTreepublic String getIconCollapsed()
getIconCollapsed in interface PublicationTreeCopyright © 2015 Nuxeo SA. All rights reserved.