Package org.opencms.ugc.client
Class CmsRpcCallHelper
- java.lang.Object
-
- org.opencms.ugc.client.CmsRpcCallHelper
-
public class CmsRpcCallHelper extends java.lang.Object
Helper class to execute an RPC call with a custom callback to enable/disable the wait animation.
-
-
Constructor Summary
Constructors Constructor Description CmsRpcCallHelper(CmsRequestCounter counter)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeRpc(com.google.gwt.http.client.RequestBuilder requestBuilder)
Executes the RPC call.
-
-
-
Constructor Detail
-
CmsRpcCallHelper
public CmsRpcCallHelper(CmsRequestCounter counter)
Creates a new instance.- Parameters:
counter
- the request counter to keep track of running requests
-
-
Method Detail
-
executeRpc
public void executeRpc(com.google.gwt.http.client.RequestBuilder requestBuilder)
Executes the RPC call.- Parameters:
requestBuilder
- the request builder returned by the service interface
-
-