|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.cms.util.webservices.WebServiceHelper
This class helps in requesting information from an webservice.
| Constructor Summary | |
WebServiceHelper()
The constructor for this class. |
|
| Method Summary | |
java.util.Collection |
getCollection(java.lang.String method)
This is the method that lets you call the endpoint and get a list of values back. |
boolean |
getIsSuccessfull()
This method returns true if the request to the webservice returned successfully. |
java.util.Map |
getMap()
A helper method that lets the template get hold of a Map-object to populate. |
java.util.Map |
getMap(java.lang.String method)
This is the method that lets you call the endpoint and get a map of values back. |
java.util.Map |
getMap(java.lang.String method,
java.util.Map argument)
This is the method that lets you call the endpoint and get a map of values back. |
java.lang.String |
getMessage()
This method returns any message coming from the webservice. |
java.lang.String |
getServiceUrl()
A method to set the serviceUrl which is the endpoint of this call. |
java.lang.String |
getString(java.lang.String method)
This is the method that lets you call the endpoint and get a single string-value back. |
void |
setIsSuccessfull(boolean isSuccessfull)
This method sets if the request to the webservice returned successfully. |
void |
setMessage(java.lang.String message)
This method sets a message from the webservice. |
void |
setServiceUrl(java.lang.String serviceUrl)
A method to get the serviceUrl which is the endpoint of this call. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WebServiceHelper()
| Method Detail |
public java.lang.String getServiceUrl()
public void setServiceUrl(java.lang.String serviceUrl)
public java.lang.String getString(java.lang.String method)
public java.util.Collection getCollection(java.lang.String method)
public java.util.Map getMap(java.lang.String method)
public java.util.Map getMap(java.lang.String method,
java.util.Map argument)
public java.util.Map getMap()
public boolean getIsSuccessfull()
public void setIsSuccessfull(boolean isSuccessfull)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||