org.nuxeo.ecm.platform.publisher.impl.service
Class ProxyTree
java.lang.Object
org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree
org.nuxeo.ecm.platform.publisher.impl.service.ProxyTree
- All Implemented Interfaces:
- Serializable, PublicationNode, PublicationTree
public class ProxyTree
- extends AbstractRemotableTree
- implements PublicationTree
Remotable implementation of the 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.
- Author:
- tiry
- See Also:
- Serialized Form
Method Summary |
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)
|
Methods inherited from class org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getExistingPublishedDocument, getNodeByPath, getParent, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument |
Methods inherited from interface org.nuxeo.ecm.platform.publisher.api.PublicationTree |
canManagePublishing, canPublishTo, canUnpublish, getConfigName, getExistingPublishedDocument, getNodeByPath, getPublishedDocumentInNode, hasValidationTask, isPublicationNode, publish, publish, release, setCurrentDocument, unpublish, unpublish, validatorPublishDocument, validatorRejectPublication, wrapToPublicationNode, wrapToPublishedDocument |
ProxyTree
public ProxyTree(PublicationTree tree,
String sid)
throws ClientException
- Throws:
ClientException
getTitle
public String getTitle()
- Specified by:
getTitle
in interface PublicationNode
getTreeTitle
public String getTreeTitle()
- Specified by:
getTreeTitle
in interface PublicationTree
getName
public String getName()
- Specified by:
getName
in interface PublicationNode
getTreeType
public String getTreeType()
- Specified by:
getTreeType
in interface PublicationTree
initTree
public void initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName)
throws ClientException
- Throws:
ClientException
initTree
public void initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title)
throws ClientException
- Specified by:
initTree
in interface PublicationTree
- Throws:
ClientException
getChildrenDocuments
public List<PublishedDocument> getChildrenDocuments()
throws ClientException
- Specified by:
getChildrenDocuments
in interface PublicationNode
- Throws:
ClientException
getNodeType
public String getNodeType()
- Specified by:
getNodeType
in interface PublicationNode
getPath
public String getPath()
- Specified by:
getPath
in interface PublicationNode
getTreeConfigName
public String getTreeConfigName()
- Specified by:
getTreeConfigName
in interface PublicationNode
getSessionId
public String getSessionId()
- Specified by:
getSessionId
in interface PublicationNode
getChildrenNodes
public List<PublicationNode> getChildrenNodes()
throws ClientException
- Specified by:
getChildrenNodes
in interface PublicationNode
- Throws:
ClientException
getType
public String getType()
- Specified by:
getType
in interface PublicationNode
getIconExpanded
public String getIconExpanded()
- Specified by:
getIconExpanded
in interface PublicationTree
getIconCollapsed
public String getIconCollapsed()
- Specified by:
getIconCollapsed
in interface PublicationTree
Copyright © 2011 Nuxeo SAS. All Rights Reserved.