org.infoglue.cms.plugins.opentree
Class Communicator

java.lang.Object
  extended by 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)
           
 
Method Summary
 CommunicationEnvelope callService(CommunicationEnvelope requestEnvelope)
           
 java.util.List getChildNodeList(java.lang.Integer parentId)
           
 Node getNode(java.lang.Integer nodeId)
           
 Node getRootNode()
           
 java.util.Hashtable httpEncodedStringToHashtable(java.lang.String encodedstrang)
          Converts a serialized hashtable in the url-encoded format to a Hashtable that one can use within the program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Communicator

public Communicator(java.lang.String serverAddress,
                    java.lang.String entityName,
                    java.lang.Integer repositoryId)
Method Detail

getRootNode

public Node getRootNode()
                 throws java.lang.Exception
Throws:
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.
Throws:
java.lang.Exception


Copyright © 2005 InfoGlue.org All Rights Reserved.