Difference between revisions of "RPCService"
From OpenKM Documentation
(One intermediate revision by the same user not shown) | |||
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> | ||
+ | |||
+ | |||
+ | [[Category: Extension Guide]] |
Latest revision as of 18:45, 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) {
}
});