java.lang.Objecttelosys.objects.ScreenService
Service stub to invoke the server side services with AJAX
Constructor Summary | |
protected |
ScreenService(string serviceName,
string rootUrl,
function responseProcessor)
Constructor ( for internal use only ) To get a service use a service provider |
Method Summary | |
void |
call()
Call the service without parameter in the URL Use an AJAX asynchronous POST |
void |
callWithParams(object params)
Call the service with parameters in the URL query string Use an AJAX asynchronous POST |
void |
doGet()
Call the service with a "GET" action parameter ( "action=get" in the URL query string ) to retrieve the previous result Use an AJAX asynchronous POST |
string |
getName()
Returns the service name |
string |
getURL()
Returns the URL associated with the service |
void |
setTrace(boolean flag)
Set the "trace" flag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ScreenService(string serviceName, string rootUrl, function responseProcessor)
serviceName
- : the name of the servicerootUrl
- : the root URL to use to build the service URL ( rootURL + serviceName + ".svc" )responseProcessor
- Method Detail |
public string getURL()
public string getName()
public void call()
public void callWithParams(object params)
params
- the object with all the parameters ( each attribute is a parameter )public void doGet()
public void setTrace(boolean flag)
flag
-