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, wrapToPublishedDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getExistingPublishedDocument, getNodeByPath, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument
getParent
protected String iconCollapsed
protected String iconExpanded
public ProxyTree(PublicationTree tree, String sid)
protected String getTargetTreeName()
getTargetTreeName
in class AbstractRemotableTree
protected List<PublicationNode> switchToClientNodes(List<PublicationNode> nodes)
switchToClientNodes
in class AbstractRemotableTree
protected RemotePublicationTreeManager getTreeService()
getTreeService
in class AbstractRemotableTree
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 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 PublicationTree
public List<PublishedDocument> getChildrenDocuments()
getChildrenDocuments
in interface PublicationNode
public String getNodeType()
getNodeType
in interface PublicationNode
public String getPath()
getPath
in interface PublicationNode
public String getTreeConfigName()
getTreeConfigName
in interface PublicationNode
public String getSessionId()
getSessionId
in interface PublicationNode
protected String getServerTreeSessionId()
getServerTreeSessionId
in class AbstractRemotableTree
public List<PublicationNode> getChildrenNodes()
getChildrenNodes
in interface PublicationNode
protected PublicationNode switchToClientNode(PublicationNode node)
switchToClientNode
in class AbstractRemotableTree
protected PublicationNode switchToServerNode(PublicationNode node)
switchToServerNode
in class AbstractRemotableTree
public String getType()
getType
in interface PublicationNode
public String getIconExpanded()
getIconExpanded
in interface PublicationTree
public String getIconCollapsed()
getIconCollapsed
in interface PublicationTree
Copyright © 2016 Nuxeo SA. All rights reserved.