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, wrapToPublishedDocumentequals, 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, wrapToPublishedDocumentgetParentpublic ProxyTree(PublicationTree tree, String sid) throws ClientException
ClientExceptionpublic 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) throws ClientException
ClientExceptionpublic void initTree(String sid, CoreSession coreSession, Map<String,String> parameters, PublishedDocumentFactory factory, String configName, String title) throws ClientException
initTree in interface PublicationTreeClientExceptionpublic List<PublishedDocument> getChildrenDocuments() throws ClientException
getChildrenDocuments in interface PublicationNodeClientExceptionpublic String getNodeType()
getNodeType in interface PublicationNodepublic String getPath()
getPath in interface PublicationNodepublic String getTreeConfigName()
getTreeConfigName in interface PublicationNodepublic String getSessionId()
getSessionId in interface PublicationNodepublic List<PublicationNode> getChildrenNodes() throws ClientException
getChildrenNodes in interface PublicationNodeClientExceptionpublic String getType()
getType in interface PublicationNodepublic String getIconExpanded()
getIconExpanded in interface PublicationTreepublic String getIconCollapsed()
getIconCollapsed in interface PublicationTreeCopyright © 2015 Nuxeo SA. All rights reserved.