public abstract class AbstractRemotableNode extends Object implements PublicationNode
PublicationNode
that delegate method calls to a remote service.Modifier and Type | Field and Description |
---|---|
protected RemotePublicationTreeManager |
service |
protected String |
sessionId |
protected String |
treeName |
Constructor and Description |
---|
AbstractRemotableNode() |
Modifier and Type | Method and Description |
---|---|
List<PublishedDocument> |
getChildrenDocuments() |
List<PublicationNode> |
getChildrenNodes() |
PublicationNode |
getParent() |
protected abstract RemotePublicationTreeManager |
getPublisher() |
protected abstract String |
getServerTreeSessionId() |
protected abstract String |
getTargetTreeName() |
protected abstract PublicationNode |
switchToClientNode(PublicationNode node)
switch node definition from server to client (for remote publishing)
|
protected List<PublicationNode> |
switchToClientNodes(List<PublicationNode> nodes) |
protected abstract PublicationNode |
switchToServerNode(PublicationNode node)
switch node definition from client to server (for remote publishing)
|
protected List<PublicationNode> |
switchToServerNodes(List<PublicationNode> nodes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getNodeType, getPath, getSessionId, getTitle, getTreeConfigName, getType
protected RemotePublicationTreeManager service
public AbstractRemotableNode()
protected abstract RemotePublicationTreeManager getPublisher()
protected abstract String getServerTreeSessionId()
protected abstract String getTargetTreeName()
protected abstract PublicationNode switchToServerNode(PublicationNode node)
protected abstract PublicationNode switchToClientNode(PublicationNode node)
protected List<PublicationNode> switchToServerNodes(List<PublicationNode> nodes)
protected List<PublicationNode> switchToClientNodes(List<PublicationNode> nodes)
public List<PublishedDocument> getChildrenDocuments()
getChildrenDocuments
in interface PublicationNode
public List<PublicationNode> getChildrenNodes()
getChildrenNodes
in interface PublicationNode
public PublicationNode getParent()
getParent
in interface PublicationNode
Copyright © 2016 Nuxeo SA. All rights reserved.