Package org.ametys.plugins.forms.table
Class FormTableManager.DbColumnModifications
- java.lang.Object
-
- org.ametys.plugins.forms.table.FormTableManager.DbColumnModifications
-
- Enclosing class:
- FormTableManager
class FormTableManager.DbColumnModifications extends Object
Class storing modifications to do on columns.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,FieldValue>
_columnsToAdd
The columns to remove.protected Map<String,FormTableManager.DbColumn>
_columnsToRemove
The columns to remove.
-
Constructor Summary
Constructors Constructor Description DbColumnModifications()
Build a DbColumnModifications object.DbColumnModifications(Map<String,FormTableManager.DbColumn> columnsToRemove, Map<String,FieldValue> columnsToAdd)
Build a DbColumnModifications object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,FieldValue>
getColumnsToAdd()
Get the columnsToAdd.Map<String,FormTableManager.DbColumn>
getColumnsToRemove()
Get the columnsToRemove.void
setColumnsToAdd(Map<String,FieldValue> columnsToAdd)
Set the columnsToAdd.void
setColumnsToRemove(Map<String,FormTableManager.DbColumn> columnsToRemove)
Set the columnsToRemove.
-
-
-
Field Detail
-
_columnsToRemove
protected Map<String,FormTableManager.DbColumn> _columnsToRemove
The columns to remove.
-
_columnsToAdd
protected Map<String,FieldValue> _columnsToAdd
The columns to remove.
-
-
Constructor Detail
-
DbColumnModifications
public DbColumnModifications()
Build a DbColumnModifications object.
-
DbColumnModifications
public DbColumnModifications(Map<String,FormTableManager.DbColumn> columnsToRemove, Map<String,FieldValue> columnsToAdd)
Build a DbColumnModifications object.- Parameters:
columnsToRemove
- the columns to remove.columnsToAdd
- the columns to add.
-
-
Method Detail
-
getColumnsToRemove
public Map<String,FormTableManager.DbColumn> getColumnsToRemove()
Get the columnsToRemove.- Returns:
- the columnsToRemove
-
setColumnsToRemove
public void setColumnsToRemove(Map<String,FormTableManager.DbColumn> columnsToRemove)
Set the columnsToRemove.- Parameters:
columnsToRemove
- the columnsToRemove to set
-
getColumnsToAdd
public Map<String,FieldValue> getColumnsToAdd()
Get the columnsToAdd.- Returns:
- the columnsToAdd
-
setColumnsToAdd
public void setColumnsToAdd(Map<String,FieldValue> columnsToAdd)
Set the columnsToAdd.- Parameters:
columnsToAdd
- the columnsToAdd to set
-
-