public class CmsResourceTableProperty extends java.lang.Object implements java.io.Serializable
Type | Property and Description |
---|---|
boolean |
isEdit
Gets the value of the property editProperty.
|
Modifier and Type | Class and Description |
---|---|
static class |
CmsResourceTableProperty.DateConverter
Converter for dates represented by their time stamp.
|
Constructor and Description |
---|
CmsResourceTableProperty(java.lang.String id,
java.lang.Class<?> columnType,
java.lang.Object defaultValue,
java.lang.String headerKey,
boolean collapsible,
float expandRation,
int columnWidth)
Creates a new instance.
|
CmsResourceTableProperty(java.lang.String id,
java.lang.Class<?> columnType,
java.lang.Object defaultValue,
java.lang.String headerKey,
boolean collapsible,
float expandRation,
int columnWidth,
com.vaadin.data.util.converter.Converter<java.lang.String,?> converter)
Creates a new instance.
|
CmsResourceTableProperty(java.lang.String id,
java.lang.String editPropertyId,
java.lang.Class<?> columnType,
java.lang.Object defaultValue,
java.lang.String headerKey,
boolean collapsible,
float expandRation,
int columnWidth)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<CmsResourceTableProperty> |
defaultProperties()
Gets the list of default columns.
|
boolean |
equals(java.lang.Object other) |
java.lang.Class<?> |
getColumnType()
Returns the columnType.
|
int |
getColumnWidth()
Returns the column width.
|
com.vaadin.data.util.converter.Converter<java.lang.String,?> |
getConverter()
Returns the property converter.
|
static java.util.Map<java.lang.String,CmsResourceTableProperty> |
getDefaultColumnsByName()
Gets a map of default columns by name.
|
java.lang.Object |
getDefaultValue()
Returns the defaultValue.
|
java.lang.String |
getEditPropertyId()
Returns the edit property id.
|
float |
getExpandRatio()
Returns the expand ratio.
|
java.lang.String |
getHeaderKey()
Returns the headerKey.
|
java.lang.String |
getId()
Gets the id of the column.
|
int |
hashCode() |
boolean |
isCollapsible()
Returns the column collapsible flag.
|
boolean |
isEditProperty()
Gets the value of the property editProperty.
|
java.lang.String |
toString() |
public boolean isEditProperty
public static final CmsResourceTableProperty PROPERTY_CACHE
public static final CmsResourceTableProperty PROPERTY_COPYRIGHT
public static final CmsResourceTableProperty PROPERTY_DATE_CREATED
public static final CmsResourceTableProperty PROPERTY_DATE_EXPIRED
public static final CmsResourceTableProperty PROPERTY_DATE_MODIFIED
public static final CmsResourceTableProperty PROPERTY_DATE_RELEASED
public static final CmsResourceTableProperty PROPERTY_DISABLED
public static final CmsResourceTableProperty PROPERTY_INSIDE_PROJECT
public static final CmsResourceTableProperty PROPERTY_IS_FOLDER
public static final CmsResourceTableProperty PROPERTY_NAVIGATION_POSITION
public static final CmsResourceTableProperty PROPERTY_NAVIGATION_TEXT
public static final CmsResourceTableProperty PROPERTY_IN_NAVIGATION
public static final CmsResourceTableProperty PROPERTY_PERMISSIONS
public static final CmsResourceTableProperty PROPERTY_PROJECT
public static final CmsResourceTableProperty PROPERTY_RELEASED_NOT_EXPIRED
public static final CmsResourceTableProperty PROPERTY_RESOURCE_NAME
public static final CmsResourceTableProperty PROPERTY_RESOURCE_TYPE
public static final CmsResourceTableProperty PROPERTY_SITE_PATH
public static final CmsResourceTableProperty PROPERTY_SIZE
public static final CmsResourceTableProperty PROPERTY_STATE
public static final CmsResourceTableProperty PROPERTY_STATE_NAME
public static final CmsResourceTableProperty PROPERTY_TITLE
public static final CmsResourceTableProperty PROPERTY_TREE_CAPTION
public static final CmsResourceTableProperty PROPERTY_TYPE_ICON
public static final CmsResourceTableProperty PROPERTY_USER_CREATED
public static final CmsResourceTableProperty PROPERTY_USER_LOCKED
public static final CmsResourceTableProperty PROPERTY_USER_MODIFIED
public CmsResourceTableProperty(java.lang.String id, java.lang.Class<?> columnType, java.lang.Object defaultValue, java.lang.String headerKey, boolean collapsible, float expandRation, int columnWidth)
id
- the id (should be unique)columnType
- the column typedefaultValue
- the default valueheaderKey
- the message key for the headercollapsible
- the column collapsible flagexpandRation
- the column expand ratiocolumnWidth
- the column widthpublic CmsResourceTableProperty(java.lang.String id, java.lang.Class<?> columnType, java.lang.Object defaultValue, java.lang.String headerKey, boolean collapsible, float expandRation, int columnWidth, com.vaadin.data.util.converter.Converter<java.lang.String,?> converter)
id
- the id (should be unique)columnType
- the column typedefaultValue
- the default valueheaderKey
- the message key for the headercollapsible
- the column collapsible flagexpandRation
- the column expand ratiocolumnWidth
- the column widthconverter
- the property converterpublic CmsResourceTableProperty(java.lang.String id, java.lang.String editPropertyId, java.lang.Class<?> columnType, java.lang.Object defaultValue, java.lang.String headerKey, boolean collapsible, float expandRation, int columnWidth)
id
- the id (should be unique)editPropertyId
- the editable property idcolumnType
- the column typedefaultValue
- the default valueheaderKey
- the message key for the headercollapsible
- the column collapsible flagexpandRation
- the column expand ratiocolumnWidth
- the column widthpublic static java.util.List<CmsResourceTableProperty> defaultProperties()
public static java.util.Map<java.lang.String,CmsResourceTableProperty> getDefaultColumnsByName()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.Class<?> getColumnType()
public int getColumnWidth()
public com.vaadin.data.util.converter.Converter<java.lang.String,?> getConverter()
public java.lang.Object getDefaultValue()
public java.lang.String getEditPropertyId()
public float getExpandRatio()
public java.lang.String getHeaderKey()
public java.lang.String getId()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean isCollapsible()
public boolean isEditProperty()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()