Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@111455 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e42118a5eb
commit
b4be32cad8
|
@ -42,7 +42,7 @@ public class OpExecution4EditRow extends OpExecutionBuilder {
|
||||||
public void buildOpEx() throws TDGWTServiceException {
|
public void buildOpEx() throws TDGWTServiceException {
|
||||||
logger.debug(editRowSession.toString());
|
logger.debug(editRowSession.toString());
|
||||||
|
|
||||||
OperationDefinition operationDefinition;
|
|
||||||
OperationExecution invocation;
|
OperationExecution invocation;
|
||||||
|
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
|
@ -52,7 +52,7 @@ public class OpExecution4EditRow extends OpExecutionBuilder {
|
||||||
|
|
||||||
if (editRowSession.isNewRow()) {
|
if (editRowSession.isNewRow()) {
|
||||||
logger.debug("Is a add row");
|
logger.debug("Is a add row");
|
||||||
operationDefinition = OperationDefinitionMap.map(
|
OperationDefinition operationDefinition= OperationDefinitionMap.map(
|
||||||
OperationsId.AddRow.toString(), service);
|
OperationsId.AddRow.toString(), service);
|
||||||
|
|
||||||
HashMap<String,String> fieldsMap=editRowSession.getRowsMaps().get(ITEM_CREATE_ROW);
|
HashMap<String,String> fieldsMap=editRowSession.getRowsMaps().get(ITEM_CREATE_ROW);
|
||||||
|
@ -70,6 +70,7 @@ public class OpExecution4EditRow extends OpExecutionBuilder {
|
||||||
logger.debug("Is a edit row");
|
logger.debug("Is a edit row");
|
||||||
|
|
||||||
for (String rowId : editRowSession.getRowsId()) {
|
for (String rowId : editRowSession.getRowsId()) {
|
||||||
|
logger.debug("EDIT OPERATION ROWID: "+rowId);
|
||||||
HashMap<String,String> fieldsMap=editRowSession.getRowsMaps().get(rowId);
|
HashMap<String,String> fieldsMap=editRowSession.getRowsMaps().get(rowId);
|
||||||
|
|
||||||
ArrayList<Map<String, Object>> compositeValue = valueMap
|
ArrayList<Map<String, Object>> compositeValue = valueMap
|
||||||
|
@ -77,8 +78,8 @@ public class OpExecution4EditRow extends OpExecutionBuilder {
|
||||||
|
|
||||||
Expression exp = ExpressionGenerator.genEditRowParamaterCondition(
|
Expression exp = ExpressionGenerator.genEditRowParamaterCondition(
|
||||||
service, editRowSession.getTrId(), rowId);
|
service, editRowSession.getTrId(), rowId);
|
||||||
|
logger.debug("EDIT OPERATION EXP: "+exp);
|
||||||
operationDefinition = OperationDefinitionMap.map(
|
OperationDefinition operationDefinition = OperationDefinitionMap.map(
|
||||||
OperationsId.ModifyTuplesValuesByExpression.toString(),
|
OperationsId.ModifyTuplesValuesByExpression.toString(),
|
||||||
service);
|
service);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue