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.Constructor and Description |
---|
ProxyTree(PublicationTree tree,
String sid) |
Modifier and Type | Method and Description |
---|---|
List<PublishedDocument> |
getChildrenDocuments() |
List<PublicationNode> |
getChildrenNodes() |
String |
getIconCollapsed() |
String |
getIconExpanded() |
String |
getName() |
String |
getNodeType() |
String |
getPath() |
String |
getSessionId() |
String |
getTitle() |
String |
getTreeConfigName() |
String |
getTreeTitle() |
String |
getTreeType() |
String |
getType() |
void |
initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName) |
void |
initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getExistingPublishedDocument, getNodeByPath, getParent, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument
equals, 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
public ProxyTree(PublicationTree tree, String sid) throws ClientException
ClientException
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) throws ClientException
ClientException
public void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title) throws ClientException
initTree
in interface PublicationTree
ClientException
public List<PublishedDocument> getChildrenDocuments() throws ClientException
getChildrenDocuments
in interface PublicationNode
ClientException
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
public List<PublicationNode> getChildrenNodes() throws ClientException
getChildrenNodes
in interface PublicationNode
ClientException
public String getType()
getType
in interface PublicationNode
public String getIconExpanded()
getIconExpanded
in interface PublicationTree
public String getIconCollapsed()
getIconCollapsed
in interface PublicationTree
Copyright © 2015 Nuxeo SA. All rights reserved.