Package nl.gx.webmanager.cms.integration
Interface QueryColumn
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
alwaysIndex()
This method returns true if the column must always be indexed.String
getFieldName()
This method returns the name of the column as it is used in a query.QueryColumnLink
getLink()
This method will return the width for use in thewidth
attribute of a HTMLtable
tag.String
getName()
This method returns the name of the column for use in a header on a page.String
getWidth()
This method will return the width for use in thewidth
attribute of a HTMLtable
tag.boolean
isShowableColumn()
If true, the column will be displayed.boolean
isShowableZeroValue()
If true, the column will display nothing for zero values.boolean
isSortable()
This method returns true if the column may be sorted by clicking on the header.
-
-
-
Method Detail
-
isShowableZeroValue
boolean isShowableZeroValue()
If true, the column will display nothing for zero values.- Returns:
- True if the column must not display "0" as a value, but "" instead.
-
getName
String getName()
This method returns the name of the column for use in a header on a page.- Returns:
- The name of the column on a page
-
getFieldName
String getFieldName()
This method returns the name of the column as it is used in a query.- Returns:
- The name of the column in a query
-
isShowableColumn
boolean isShowableColumn()
If true, the column will be displayed.- Returns:
true
if the column must be displayed,false
otherwise.
-
isSortable
boolean isSortable()
This method returns true if the column may be sorted by clicking on the header.- Returns:
true
if the column may be sorted,false
otherwise.
-
alwaysIndex
boolean alwaysIndex()
This method returns true if the column must always be indexed.- Returns:
true
if the column must always be indexed,false
otherwise.
-
getWidth
String getWidth()
This method will return the width for use in thewidth
attribute of a HTMLtable
tag.- Returns:
- The width of the table used to display the results.
-
getLink
QueryColumnLink getLink()
This method will return the width for use in thewidth
attribute of a HTMLtable
tag.- Returns:
- The width of the table used to display the results.
-
-