diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/rows/EditRowMonitor.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/rows/EditRowMonitor.java new file mode 100644 index 0000000..333714b --- /dev/null +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/rows/EditRowMonitor.java @@ -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; + +} diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/rows/EditRowSession.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/rows/EditRowSession.java new file mode 100644 index 0000000..bfe686d --- /dev/null +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/tr/rows/EditRowSession.java @@ -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 maps; + protected boolean newRow; + protected String rowId; + + public EditRowSession(){ + + } + + public EditRowSession(TRId trId, HashMap maps){ + this.trId=trId; + this.maps=maps; + this.newRow=true; + } + + public EditRowSession(TRId trId, HashMap 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 getMaps() { + return maps; + } + + public void setMaps(HashMap 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 + "]"; + } + + + +}