Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@95708 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-05-15 10:20:44 +00:00
parent 2f5ca4d1af
commit f4141e81fa
2 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package org.gcube.portlets.user.td.gwtservice.shared.tr.rows;
import java.io.Serializable;
import org.gcube.portlets.user.td.gwtservice.shared.OperationMonitor;
public class EditRowMonitor extends OperationMonitor implements Serializable {
/**
*
*/
private static final long serialVersionUID = -1547897501452634298L;
}

View File

@ -0,0 +1,80 @@
package org.gcube.portlets.user.td.gwtservice.shared.tr.rows;
import java.io.Serializable;
import java.util.HashMap;
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
/**
*
*
* @author "Giancarlo Panichi"
*
*/
public class EditRowSession implements Serializable {
private static final long serialVersionUID = -4503878699159491057L;
protected TRId trId;
protected HashMap<String, String> maps;
protected boolean newRow;
protected String rowId;
public EditRowSession(){
}
public EditRowSession(TRId trId, HashMap<String, String> maps){
this.trId=trId;
this.maps=maps;
this.newRow=true;
}
public EditRowSession(TRId trId, HashMap<String, String> maps, String rowId){
this.trId=trId;
this.maps=maps;
this.newRow=false;
this.rowId=rowId;
}
public TRId getTrId() {
return trId;
}
public void setTrId(TRId trId) {
this.trId = trId;
}
public HashMap<String, String> getMaps() {
return maps;
}
public void setMaps(HashMap<String, String> maps) {
this.maps = maps;
}
public boolean isNewRow() {
return newRow;
}
public void setNewRow(boolean newRow) {
this.newRow = newRow;
}
public String getRowId() {
return rowId;
}
public void setRowId(String rowId) {
this.rowId = rowId;
}
@Override
public String toString() {
return "EditRowSession [trId=" + trId + ", maps=" + maps + ", newRow="
+ newRow + ", rowId=" + rowId + "]";
}
}