Package org.ametys.cms.search.ui.model
Interface SearchUIColumn
- All Superinterfaces:
Field
,ResultField
- All Known Implementing Classes:
AbstractSearchUIColumn
,MetadataSearchUIColumn
,SystemSearchUIColumn
This class represents a result column.
-
Method Summary
Modifier and TypeMethodDescriptionGet the JS class name for converting field's valueIf the column should be the default sorter 'ASC' or 'DESC'.Retrieves the description.getLabel()
Retrieves the label.Get the JS class name for rendererGet the subcolumns informations (for repeaters for example)Get the validator.Retrieves the widget to use when editing.Get the widget parameters.int
getWidth()
The column's widthboolean
Determines if the property is editableboolean
isHidden()
Determines if the column is hidden by defaultboolean
Determines if the column is sortableMethods inherited from interface org.ametys.cms.search.model.Field
getContentTypeId, getEnumerator, getType, isMultiple
Methods inherited from interface org.ametys.cms.search.model.ResultField
getFullValue, getId, getSearchField, getValue
-
Method Details
-
getLabel
Retrieves the label.- Returns:
- the label.
-
getDescription
Retrieves the description.- Returns:
- the description.
-
getWidth
int getWidth()The column's width- Returns:
- The width
-
isHidden
boolean isHidden()Determines if the column is hidden by default- Returns:
true
if the column is hidden by default
-
isEditable
boolean isEditable()Determines if the property is editable- Returns:
true
if the property is editable
-
isSortable
boolean isSortable()Determines if the column is sortable- Returns:
true
if the column is sortable
-
getDefaultSorter
If the column should be the default sorter 'ASC' or 'DESC'. Null otherwise.- Returns:
- 'ASC', 'DESC' or null
-
getRenderer
Get the JS class name for renderer- Returns:
- The renderer
-
getConverter
Get the JS class name for converting field's value- Returns:
- The convert JS class name
-
getWidget
Retrieves the widget to use when editing.- Returns:
- the widget or
null
if none is defined.
-
getWidgetParameters
Get the widget parameters.- Returns:
- the widget parameters.
-
getValidator
Get the validator.- Returns:
- the validator or
null
if none is defined.
-
getSubColumns
Get the subcolumns informations (for repeaters for example)- Returns:
- the full columns informations or
null
if none is defined.
-