org.infoglue.cms.plugins.opentree
Class Communicator
java.lang.Object
|
+--org.infoglue.cms.plugins.opentree.Communicator
- public class Communicator
- extends java.lang.Object
|
Constructor Summary |
Communicator(java.lang.String serverAddress,
java.lang.String entityName,
java.lang.Integer repositoryId)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Communicator
public Communicator(java.lang.String serverAddress,
java.lang.String entityName,
java.lang.Integer repositoryId)
getRootNode
public Node getRootNode()
throws java.lang.Exception
java.lang.Exception
getNode
public Node getNode(java.lang.Integer nodeId)
getChildNodeList
public java.util.List getChildNodeList(java.lang.Integer parentId)
callService
public CommunicationEnvelope callService(CommunicationEnvelope requestEnvelope)
httpEncodedStringToHashtable
public java.util.Hashtable httpEncodedStringToHashtable(java.lang.String encodedstrang)
throws java.lang.Exception
- Converts a serialized hashtable in the url-encoded format to
a Hashtable that one can use within the program.
A good technique when exchanging information between different
applications.
- Parameters:
encodedstrang - The url-encoded string.
- Returns:
- A Hashtable.
java.lang.Exception