Difference between revisions of "RPCService"
From OpenKM Documentation
Line 3: | Line 3: | ||
== Example == | == Example == | ||
<source lang="java"> | <source lang="java"> | ||
− | + | ServiceDefTarget endPoint = (ServiceDefTarget) messageService; | |
− | + | endPoint.setServiceEntryPoint(RPCService.MessageService); | |
− | + | messageService.deleteSent(1, new AsyncCallback<Object>() { | |
− | + | @Override | |
− | + | public void onSuccess(Object result) { | |
− | + | } | |
− | + | @Override | |
− | + | public void onFailure(Throwable caught) { | |
− | + | } | |
− | + | }); | |
</source> | </source> |
Revision as of 13:28, 8 December 2010
RPCService class defines all RPC constants service that can be used
Example
ServiceDefTarget endPoint = (ServiceDefTarget) messageService;
endPoint.setServiceEntryPoint(RPCService.MessageService);
messageService.deleteSent(1, new AsyncCallback<Object>() {
@Override
public void onSuccess(Object result) {
}
@Override
public void onFailure(Throwable caught) {
}
});