Skip to content

Commit

Permalink
#1434 deleting param object example
Browse files Browse the repository at this point in the history
  • Loading branch information
naleeha authored and keikeicheung committed Sep 5, 2024
1 parent a239d06 commit ecfcaf4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
import org.finos.vuu.core.table.TableContainer;
import org.finos.vuu.net.rpc.*;

/* Work in Progress - do not use this as example yet
* */
public class PersonRpcHandler extends DefaultRpcHandler {
private final DataTable table;

Expand All @@ -21,12 +19,9 @@ public PersonRpcHandler(DataTable table, TableContainer tableContainer) {
}

public RpcFunctionResult processUpdateNameRpcRequest(RpcParams params) {

var paramData = params.namedParams();
// UpdateNameRequestParam x = (UpdateNameRequestParam) paramData;
// updateName(x.Id(), x.Name());
updateName(paramData.get("Id").get().toString(), paramData.get("Name").get().toString());
return new RpcFunctionSuccess(); //how to control what viewport action to t rigger?
return new RpcFunctionSuccess();
}

public RpcFunctionResult processGetAccountIdRpcRequest(RpcParams params) {
Expand Down

This file was deleted.

0 comments on commit ecfcaf4

Please sign in to comment.