Package org.xwiki.livedata.livetable
Class LiveTableConfiguration
- java.lang.Object
-
- org.xwiki.livedata.livetable.LiveTableConfiguration
-
public class LiveTableConfiguration extends Object
Represents the configuration passed when creating a live table instance.- Since:
- 12.10
- Version:
- $Id: 8211ebe91b8fd212099a075778d748623552a199 $
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getColumnProperties()
List<String>
getColumns()
String
getId()
Map<String,Object>
getOptions()
void
setColumnProperties(Map<String,Object> columnProperties)
Sets the live table column properties.void
setColumns(List<String> columns)
Sets the list of live table columns.void
setId(String id)
Sets the live table id.void
setOptions(Map<String,Object> options)
Sets the live table options.
-
-
-
Constructor Detail
-
LiveTableConfiguration
public LiveTableConfiguration()
Default constructor.
-
LiveTableConfiguration
public LiveTableConfiguration(String id, List<String> columns, Map<String,Object> columnProperties, Map<String,Object> options)
Creates a new instance.- Parameters:
id
- the live table idcolumns
- the list of live table columnscolumnProperties
- the column propertiesoptions
- the live table options
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the live table id
-
setId
public void setId(String id)
Sets the live table id.- Parameters:
id
- the new live table id
-
setColumns
public void setColumns(List<String> columns)
Sets the list of live table columns.- Parameters:
columns
- the new list of live table columns
-
getColumnProperties
public Map<String,Object> getColumnProperties()
- Returns:
- the live table column properties
-
setColumnProperties
public void setColumnProperties(Map<String,Object> columnProperties)
Sets the live table column properties.- Parameters:
columnProperties
- the new live table column properties
-
-