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:
- java.io.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 |
java.util.List<PublishedDocument> |
getChildrenDocuments()
|
java.util.List<PublicationNode> |
getChildrenNodes()
|
java.lang.String |
getIconCollapsed()
|
java.lang.String |
getIconExpanded()
|
java.lang.String |
getName()
|
java.lang.String |
getNodeType()
|
java.lang.String |
getPath()
|
java.lang.String |
getSessionId()
|
java.lang.String |
getTitle()
|
java.lang.String |
getTreeConfigName()
|
java.lang.String |
getTreeTitle()
|
java.lang.String |
getTreeType()
|
java.lang.String |
getType()
|
void |
initTree(java.lang.String sid,
CoreSession coreSession,
java.util.Map<java.lang.String,java.lang.String> parameters,
PublishedDocumentFactory factory,
java.lang.String configName)
|
void |
initTree(java.lang.String sid,
CoreSession coreSession,
java.util.Map<java.lang.String,java.lang.String> parameters,
PublishedDocumentFactory factory,
java.lang.String configName,
java.lang.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 class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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,
java.lang.String sid)
throws ClientException
- Throws:
ClientException
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface PublicationNode
getTreeTitle
public java.lang.String getTreeTitle()
- Specified by:
getTreeTitle
in interface PublicationTree
getName
public java.lang.String getName()
- Specified by:
getName
in interface PublicationNode
getTreeType
public java.lang.String getTreeType()
- Specified by:
getTreeType
in interface PublicationTree
initTree
public void initTree(java.lang.String sid,
CoreSession coreSession,
java.util.Map<java.lang.String,java.lang.String> parameters,
PublishedDocumentFactory factory,
java.lang.String configName)
throws ClientException
- Throws:
ClientException
initTree
public void initTree(java.lang.String sid,
CoreSession coreSession,
java.util.Map<java.lang.String,java.lang.String> parameters,
PublishedDocumentFactory factory,
java.lang.String configName,
java.lang.String title)
throws ClientException
- Specified by:
initTree
in interface PublicationTree
- Throws:
ClientException
getChildrenDocuments
public java.util.List<PublishedDocument> getChildrenDocuments()
throws ClientException
- Specified by:
getChildrenDocuments
in interface PublicationNode
- Throws:
ClientException
getNodeType
public java.lang.String getNodeType()
- Specified by:
getNodeType
in interface PublicationNode
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interface PublicationNode
getTreeConfigName
public java.lang.String getTreeConfigName()
- Specified by:
getTreeConfigName
in interface PublicationNode
getSessionId
public java.lang.String getSessionId()
- Specified by:
getSessionId
in interface PublicationNode
getChildrenNodes
public java.util.List<PublicationNode> getChildrenNodes()
throws ClientException
- Specified by:
getChildrenNodes
in interface PublicationNode
- Throws:
ClientException
getType
public java.lang.String getType()
- Specified by:
getType
in interface PublicationNode
getIconExpanded
public java.lang.String getIconExpanded()
- Specified by:
getIconExpanded
in interface PublicationTree
getIconCollapsed
public java.lang.String getIconCollapsed()
- Specified by:
getIconCollapsed
in interface PublicationTree
Copyright © 2010 Nuxeo SAS. All Rights Reserved.