public class ProxyNode extends AbstractRemotableNode implements PublicationNode
PublicationNode
interface. Because some PublicationNode
implementation may be bound to local resources (network connexions, local filesystem ...) all PublicationNode
returned by the service are wrapped into this RemotablePublicationNode.Modifier and Type | Field and Description |
---|---|
protected String |
nodeLabel |
protected String |
nodeName |
protected String |
nodePath |
protected String |
nodeType |
service, sessionId, treeName
Constructor and Description |
---|
ProxyNode(PublicationNode node,
String sid) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getNodeType() |
String |
getPath() |
protected RemotePublicationTreeManager |
getPublisher() |
protected String |
getServerTreeSessionId() |
String |
getSessionId() |
protected String |
getTargetTreeName() |
String |
getTitle() |
String |
getTreeConfigName() |
String |
getType() |
protected PublicationNode |
switchToClientNode(PublicationNode node)
switch node definition from server to client (for remote publishing)
|
protected PublicationNode |
switchToServerNode(PublicationNode node)
switch node definition from client to server (for remote publishing)
|
getChildrenDocuments, getChildrenNodes, getParent, switchToClientNodes, switchToServerNodes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildrenDocuments, getChildrenNodes, getParent
public ProxyNode(PublicationNode node, String sid)
protected RemotePublicationTreeManager getPublisher()
getPublisher
in class AbstractRemotableNode
public String getTitle()
getTitle
in interface PublicationNode
public String getName()
getName
in interface PublicationNode
public String getNodeType()
getNodeType
in interface PublicationNode
public String getType()
getType
in interface PublicationNode
public String getPath()
getPath
in interface PublicationNode
public String getTreeConfigName()
getTreeConfigName
in interface PublicationNode
public String getSessionId()
getSessionId
in interface PublicationNode
protected String getServerTreeSessionId()
getServerTreeSessionId
in class AbstractRemotableNode
protected String getTargetTreeName()
getTargetTreeName
in class AbstractRemotableNode
protected PublicationNode switchToServerNode(PublicationNode node)
AbstractRemotableNode
switchToServerNode
in class AbstractRemotableNode
protected PublicationNode switchToClientNode(PublicationNode node)
AbstractRemotableNode
switchToClientNode
in class AbstractRemotableNode
Copyright © 2015 Nuxeo SA. All rights reserved.