public class TypeFieldEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
abstractLength |
protected java.lang.String |
chooser |
protected int |
cols |
protected java.lang.String |
dataSource |
protected java.lang.String |
dateFormat |
protected java.lang.String |
dbrColumns |
protected java.lang.String |
dbrKeyCol |
protected java.lang.String |
dbrLabelCol |
protected java.lang.String |
dbrOrderBy |
protected java.lang.String |
dbrTable |
protected int |
decimals |
protected java.util.HashMap<java.lang.String,java.lang.String> |
defaultTextMap |
protected java.lang.String |
defaultValue |
protected java.util.Map<java.lang.String,java.lang.String> |
descriptionMap |
protected java.lang.String |
editor |
protected java.lang.String[] |
enumerateLabels |
protected java.util.HashMap<java.lang.String,java.lang.String[]> |
enumerateLabelsMap |
protected boolean |
enumerateML |
protected java.lang.String[] |
enumerateValues |
protected boolean |
escapeHtml |
protected boolean |
fieldML |
protected boolean |
fieldWiki |
protected boolean |
fieldWikiwyg |
protected java.lang.String[] |
gids |
protected boolean |
isAbstract |
protected boolean |
isDataImage |
protected boolean |
isDateOnly |
protected boolean |
isDisplayRoot |
protected boolean |
isEnumerate |
protected boolean |
isExclusive |
protected boolean |
isHidden |
protected boolean |
isImageMap |
protected boolean |
isInline |
protected boolean |
isKeyword |
protected boolean |
isOpenWindow |
protected boolean |
isRequired |
protected boolean |
isResize |
protected boolean |
isSearchable |
protected boolean |
isSuper |
protected boolean |
isTypeArray |
protected boolean |
isTypeBoolean |
protected boolean |
isTypeBooleanArray |
protected boolean |
isTypeCategory |
protected boolean |
isTypeDate |
protected boolean |
isTypeDateArray |
protected boolean |
isTypeDocument |
protected boolean |
isTypeDocumentMV |
protected boolean |
isTypeDouble |
protected boolean |
isTypeDoubleArray |
protected boolean |
isTypeInt |
protected boolean |
isTypeIntArray |
protected boolean |
isTypeList |
protected boolean |
isTypeLong |
protected boolean |
isTypeLongArray |
protected boolean |
isTypePrimitive |
protected boolean |
isTypePrimitiveArray |
protected boolean |
isTypePublication |
protected boolean |
isTypePublicationArray |
protected boolean |
isTypePublicationMV |
protected boolean |
isTypeScalar |
protected boolean |
isTypeSet |
protected boolean |
isTypeString |
protected boolean |
isTypeStringArray |
protected boolean |
isWidget |
protected boolean |
isWysiwyg |
protected java.util.Map<java.lang.String,java.lang.String> |
labelMap |
protected int |
maxlength |
protected int |
maxRows |
protected java.lang.Number |
maxValue |
protected java.lang.Number |
minValue |
protected java.lang.String |
name |
protected java.lang.String |
nameCap |
protected java.util.Map<java.lang.String,java.lang.String> |
offLabelMap |
protected java.util.Map<java.lang.String,java.lang.String> |
onLabelMap |
protected int |
resizeHeight |
protected int |
resizeWidth |
static java.lang.String |
REVISION |
protected java.lang.String |
root |
protected int |
rows |
protected int |
size |
protected java.lang.String |
tab |
protected java.lang.String |
tabGroup |
protected java.lang.String |
type |
protected java.lang.String |
typeShort |
protected java.lang.String |
unit |
protected java.lang.String |
unitAfter |
protected java.lang.String |
unitBefore |
protected int |
widgetDescription |
protected int |
widgetEditor |
protected java.lang.String |
wysiwygParams |
protected org.jdom.Element |
xmlElt |
Constructor and Description |
---|
TypeFieldEntry(org.jdom.Element xmlElement) |
Modifier and Type | Method and Description |
---|---|
boolean |
escapeHtml()
Returns true if the HTML contained in this field must be escaped.
|
int |
getAbstractLength()
Abstract/Summary length
|
boolean |
getBoolean(Data data)
Gets the value of this
boolean field for the given Data . |
java.util.TreeSet |
getCategory(Data data,
Member mbr)
Gets the value of the given
Category field name for the given Data . |
java.lang.String |
getChooser()
Return the internal "chooser" of this field.
|
java.lang.String |
getCollectionTypeMapping() |
int |
getCols()
TextInput/TextArea columns number.
|
java.lang.String |
getDataSource()
SQLQuery/DBRecord/SQLResult: data source of this SQL related field.
|
java.lang.String |
getDateFormat()
DateChooser: date format
|
java.lang.String |
getDbrColumns()
DBRecord: columns to be listed for this DB record field (coma separated)
|
java.lang.String |
getDbrKeyCol()
DBRecord: primary key column of this DB record field.
|
java.lang.String |
getDbrLabelCol()
DBRecord: column used as label for this DB record field
|
java.lang.String |
getDbrOrderBy()
DBRecord: ORDER BY SQL criteria DB record field
|
java.lang.String |
getDbrTable()
DBRecord: table of this DB record field.
|
int |
getDecimals()
Double decimals count
|
java.util.HashMap<java.lang.String,java.lang.String> |
getDefaultTextMap()
Returns a copy of the language map of default value for this textual field.
|
java.lang.String |
getDefaultTextString()
Returns the default value (in the main language) of this textual field.
|
java.lang.String |
getDefaultValue()
Default value of field that can be expressed/converted into a string.
|
java.lang.String |
getDescription()
Deprecated.
since jcms-5.7.0.
|
java.lang.String |
getDescription(java.lang.String lang)
Returns the localized description of this field.
|
java.util.Map |
getDescriptionMap()
Returns the localized map of description of this field.
|
double |
getDouble(Data data)
Gets the value of this
double field for the given Data . |
java.lang.String |
getEditor()
Return the internal editor type of this field.
|
java.lang.String[] |
getEnumerateLabels()
Enumerate: Labels of this enumerate field, e.g { "Red", "Green", "Blue"} for the default language of the type/site.
|
java.util.HashMap<java.lang.String,java.lang.String[]> |
getEnumerateLabelsMap()
Enumerate: Map of 'language to labels' for this enumerate field, e.g {{"en" -> { "Red", "Green", "Blue"}, "fr" -> ... }} for the default language of the type/site.
|
java.lang.String[] |
getEnumerateValues()
Enumerate: Possible values of this enumerate field, e.g { "00FF00", "00FF00", "0000FF"}.
|
java.lang.String |
getFieldValueAsString(Data data,
java.lang.String lang)
Gets value of the field as
String for field of the following type:
int
long
double
boolean
String |
java.lang.String[] |
getFieldValueAsStringArray(Data data,
java.lang.String lang)
Gets value of the field as
String[] for field of the following type:
int[]
long[]
double[]
boolean[]
String[]
List
Set |
java.lang.String[] |
getGids()
Member chooser: Group IDs
|
int |
getInt(Data data)
Gets the value of this
int field for the given Data . |
java.lang.String |
getLabel()
Deprecated.
since jcms-5.7.0.
|
java.lang.String |
getLabel(java.lang.String lang)
Returns the localized label of this field.
|
java.util.Map |
getLabelMap()
Returns the Map of localized label of this field.
|
long |
getLong(Data data)
Gets the value of this
long field for the given Data . |
int |
getMaxlength()
TextInput maximum length.
|
int |
getMaxRows()
SQLQuery/DBRecord/SQLResult: maximum row to be retrieved (0 means no limit)
|
java.lang.Number |
getMaxValue()
Returns the maximum value authorized for this number field (integer or decimal), if available.
|
java.lang.Number |
getMinValue()
Returns the mininum value authorized for this number field (integer or decimal), if available.
|
java.lang.String |
getName()
Java name of this field. e.g.
|
java.lang.String |
getNameCap()
Recapitalized java name of this field, (first letter capitalized). e.g.
|
java.lang.Object |
getObject(Data data)
Gets the value of this
Object field for the given Data . |
java.lang.Object |
getObject(Data data,
java.lang.String lang)
Gets the value of this
Object field for the given Data . |
java.lang.String |
getOffLabel(java.lang.String lang)
Returns the localized offLabel for to this field.
|
java.util.Map |
getOffLabelMap()
Boolean: false/OFF Label of a boolean field. e.g.
|
java.lang.String |
getOnLabel(java.lang.String lang)
Returns the localized onLabel for to this field.
|
java.util.Map |
getOnLabelMap()
Boolean: true/ON Label of a boolean field. e.g.
|
int |
getResizeHeight()
Returns the resize height
|
int |
getResizeWidth()
Returns the resize width
|
java.lang.String |
getRoot()
Categories: Root Category ID of this category field
|
int |
getRows()
TextArea/WYSIWYG rows number.
|
int |
getSize()
Enumerate: html Select size.
|
java.lang.String |
getTab()
Tab: tab name in which this field will be displayed.
|
java.lang.String |
getTabGroup()
TabGroup: group name for multivalued fields, all field having the same
value will be display together.
|
java.lang.String |
getType()
Retrieve type of this field as
String . |
java.lang.String |
getTypeShort()
Short type of this field.
|
java.lang.String |
getUnit()
TextInput unit
e.g |
java.lang.String |
getUnitAfter()
TextInput unit, displayed after input.
|
java.lang.String |
getUnitBefore()
TextInput unit, displayed before input.
|
int |
getWidgetDescription()
Type of description to be used by widget:
AbstractWidget.UI_DESCRIPTION_NONE
AbstractWidget.UI_DESCRIPTION_TEXT
AbstractWidget.UI_DESCRIPTION_TOOLTIP |
int |
getWidgetEditor()
Type of widget editor. see AbstractWidget#UI_EDITOR_*.
|
java.lang.String |
getWysiwygParams()
WYSIWYG toolbar options.
|
org.jdom.Element |
getXmlElement()
XML Parsing: jdom Element for this field.
|
protected void |
initDefault()
Init the default value.
|
protected void |
initDescription() |
protected void |
initEnumerate()
Init the enumerate values.
|
protected void |
initUnits()
Init the field units
|
protected void |
initWidgetEditor()
Find the right Widget editor
|
boolean |
isAbstract()
Abstract/Summary field?
|
boolean |
isAnyLink()
Is field's editor any type of link (i.e. link or member or group).
|
boolean |
isCatEditor()
Widget Type.
|
boolean |
isCatTreeEditor()
Widget Type.
|
boolean |
isDataImage()
Image field?
|
boolean |
isDateChsr()
Widget Type.
|
boolean |
isDateOnly()
DateChooser: use date only, or date and time?
|
boolean |
isDBRecordChsr()
Widget Type.
|
boolean |
isDisplayRoot()
Categories: Display Root
|
boolean |
isEnumerate()
Enumerate.
|
boolean |
isEnumerateML()
Deprecated.
this value might not reflect the proper translation status of the label list, you should now consider that enumerate label are always I18Ned
|
boolean |
isExclusive()
Categories: Exclusive.
|
boolean |
isFieldML() |
boolean |
isFieldWiki()
TextArea.
|
boolean |
isFieldWikiwyg()
TextArea.
|
boolean |
isGrpChsr()
Widget Type.
|
boolean |
isGrpEnum()
Widget Type.
|
boolean |
isHidden()
Hidden field?
|
boolean |
isImageMap()
Returns true if this is an image field with imageMap option enabled.
|
boolean |
isInline()
Inline editing ?
|
boolean |
isKeyword()
Return true if the field display keywords
|
boolean |
isLink()
Is field's editor a link (as opposed to a chooser for example).
|
boolean |
isMasterImageMap()
Returns true if this field is the image field of an image map field.
|
boolean |
isMbrChsr()
Widget Type.
|
boolean |
isMbrEnum()
Widget Type.
|
boolean |
isOpenWindow()
Returns true if this is an URL field which must be open in a new window.
|
boolean |
isRequired()
Required field?
|
boolean |
isResize()
Returns true if this is an image field which must be resized.
|
boolean |
isSearchable()
Searchable field
|
boolean |
isSimpleString() |
boolean |
isSlaveImageMap()
Returns true if this field is the text area field generated aside
the real image field.
|
boolean |
isSQLQuery()
Widget Type.
|
boolean |
isSuper() |
boolean |
isTypeArray() |
boolean |
isTypeBoolean()
Type: boolean?
|
boolean |
isTypeBooleanArray()
Type: boolean[]?
|
boolean |
isTypeCategory() |
boolean |
isTypeCollection() |
boolean |
isTypeDate()
Type: Date?
|
boolean |
isTypeDateArray()
Type: Date[]?
|
boolean |
isTypeDocument()
Type: FileDocument?
|
boolean |
isTypeDocumentMV()
Type: FileDocument MV?
|
boolean |
isTypeDouble()
Type: double?
|
boolean |
isTypeDoubleArray()
Type: double[]?
|
boolean |
isTypeInt()
Type: int?
|
boolean |
isTypeIntArray()
Type: int[]?
|
boolean |
isTypeList() |
boolean |
isTypeLong()
Type: long?
|
boolean |
isTypeLongArray()
Type: long[]?
|
boolean |
isTypeMV() |
boolean |
isTypePrimitive() |
boolean |
isTypePrimitiveArray() |
boolean |
isTypePublication()
Type: Publication?
|
boolean |
isTypePublicationArray()
Type: Publication[]?
|
boolean |
isTypePublicationMV()
Type: Publication MV
|
boolean |
isTypeScalar() |
boolean |
isTypeSet() |
boolean |
isTypeString()
Type: String?
|
boolean |
isTypeStringArray()
Type: String[]?
|
boolean |
isUrl()
URL.
|
boolean |
isWidget()
Is this field manage through a widget
|
boolean |
isWysiwyg()
Wysiwyg.
|
void |
reloadI18N()
Reload all I18N informations for this type field entry.
|
java.lang.String |
toString() |
public static final java.lang.String REVISION
protected final org.jdom.Element xmlElt
protected java.lang.String type
protected java.lang.String typeShort
protected boolean isTypeInt
protected boolean isTypeIntArray
protected boolean isTypeLong
protected boolean isTypeLongArray
protected boolean isTypeDouble
protected boolean isTypeDoubleArray
protected boolean isTypeBoolean
protected boolean isTypeBooleanArray
protected boolean isTypePrimitive
protected boolean isTypePrimitiveArray
protected boolean isTypeString
protected boolean isTypeStringArray
protected boolean isTypeDate
protected boolean isTypeDateArray
protected boolean isTypeArray
protected boolean isTypeList
protected boolean isTypeSet
protected boolean isTypeScalar
protected boolean isTypePublication
protected boolean isTypePublicationArray
protected boolean isTypePublicationMV
protected boolean isTypeDocument
protected boolean isTypeDocumentMV
protected boolean isTypeCategory
protected boolean isEnumerate
protected boolean isWidget
protected boolean isWysiwyg
protected java.util.Map<java.lang.String,java.lang.String> labelMap
protected java.lang.String editor
protected java.lang.String name
protected java.lang.String nameCap
protected java.lang.String tab
protected java.util.Map<java.lang.String,java.lang.String> descriptionMap
protected int widgetEditor
protected int widgetDescription
protected boolean isSuper
protected boolean isRequired
protected boolean isInline
protected boolean isHidden
protected boolean isAbstract
protected int abstractLength
protected boolean isDataImage
protected boolean isSearchable
protected boolean isKeyword
protected boolean fieldML
protected boolean fieldWiki
protected boolean fieldWikiwyg
protected int cols
protected int maxlength
protected int rows
protected int size
protected java.lang.String[] enumerateLabels
protected java.lang.String[] enumerateValues
protected java.util.HashMap<java.lang.String,java.lang.String[]> enumerateLabelsMap
protected boolean enumerateML
protected java.lang.String dataSource
protected int maxRows
protected java.lang.String dbrTable
protected java.lang.String dbrKeyCol
protected java.lang.String dbrColumns
protected java.lang.String dbrLabelCol
protected java.lang.String dbrOrderBy
protected boolean isDateOnly
protected java.lang.String dateFormat
protected java.lang.String wysiwygParams
protected java.lang.String tabGroup
protected java.util.Map<java.lang.String,java.lang.String> onLabelMap
protected java.util.Map<java.lang.String,java.lang.String> offLabelMap
protected java.lang.String unit
protected java.lang.String unitAfter
protected java.lang.String unitBefore
protected int decimals
protected java.lang.String root
protected boolean isExclusive
protected boolean isDisplayRoot
protected java.lang.String chooser
protected java.lang.String[] gids
protected java.lang.String defaultValue
protected java.util.HashMap<java.lang.String,java.lang.String> defaultTextMap
protected boolean isImageMap
protected boolean isOpenWindow
protected boolean isResize
protected int resizeWidth
protected int resizeHeight
protected boolean escapeHtml
protected java.lang.Number minValue
protected java.lang.Number maxValue
public void reloadI18N()
protected void initEnumerate()
protected void initUnits()
protected void initDefault()
protected void initWidgetEditor()
protected void initDescription()
public java.lang.String toString()
toString
in class java.lang.Object
public org.jdom.Element getXmlElement()
Element
of this field.public int getInt(Data data) throws java.lang.NoSuchFieldException
int
field for the given Data
.data
- the Data
from which to retrieve the field value.int
field valuejava.lang.NoSuchFieldException
- if the field was not found in the given Data
.java.lang.NullPointerException
- if the given Data
is null.Data.getIntFieldValue(String)
public long getLong(Data data) throws java.lang.NoSuchFieldException
long
field for the given Data
.data
- the Data
from which to retrieve the field value.long
field valuejava.lang.NoSuchFieldException
- if the field was not found in the given Data
.java.lang.NullPointerException
- if the given Data
is null.Data.getLongFieldValue(String)
public double getDouble(Data data) throws java.lang.NoSuchFieldException
double
field for the given Data
.data
- the Data
from which to retrieve the field value.double
field valuejava.lang.NoSuchFieldException
- if the field was not found in the given Data
.java.lang.NullPointerException
- if the given Data
is null.Data.getDoubleFieldValue(String)
public boolean getBoolean(Data data) throws java.lang.NoSuchFieldException
boolean
field for the given Data
.data
- the Data
from which to retrieve the field value.boolean
field valuejava.lang.NoSuchFieldException
- if the field was not found in the given Data
.java.lang.NullPointerException
- if the given Data
is null.Data.getBooleanFieldValue(String)
public java.util.TreeSet getCategory(Data data, Member mbr) throws java.lang.NoSuchFieldException
Category
field name for the given Data
.data
- the Data
from which to retrieve the field value.mbr
- the member used to check rigth access to categories.TreeSet
of Category
java.lang.NoSuchFieldException
- if the field was not found in the given Data
.java.lang.NullPointerException
- if the given Data
is null.Data.getCategoryFieldValue(String, Member)
public java.lang.Object getObject(Data data) throws java.lang.NoSuchFieldException
Object
field for the given Data
. Category
fields, see #getCategory(Member).data
- the Data
from which to retrieve the field value.Object
field valuejava.lang.NoSuchFieldException
- if the field was not found in the given Data
.java.lang.NullPointerException
- if the given Data
is null.Data.getFieldValue(String)
public java.lang.Object getObject(Data data, java.lang.String lang) throws java.lang.NoSuchFieldException
Object
field for the given Data
. Category
fields, see #getCategory(Member).data
- the Data
from which to retrieve the field value.lang
- the language (ISO 639: 2-letter codes) in which to retrieve the field value (used only for multilingual fields).Object
field valuejava.lang.NoSuchFieldException
- if the field was not found in the given Data
.java.lang.NullPointerException
- if the given Data
is null.Data.getFieldValue(String, String)
public java.lang.String getFieldValueAsString(Data data, java.lang.String lang) throws java.lang.NoSuchFieldException
String
for field of the following type:
int
long
double
boolean
String
data
- the data from which to retrive the given fieldlang
- the lang in which to retrieve the field if multilangString
, null if the field value cannot be converted to the type String
.java.lang.NoSuchFieldException
- if the field was not found in the given Data
.public java.lang.String[] getFieldValueAsStringArray(Data data, java.lang.String lang) throws java.lang.NoSuchFieldException
String[]
for field of the following type:
int[]
long[]
double[]
boolean[]
String[]
List
Set
data
- the data from which to retrive the given fieldlang
- the lang in which to retrieve the field, if field is multi-langString[]
, null if the field value cannot be converted to the type String[]
.java.lang.NoSuchFieldException
- if the field was not found in the given Data
.@Deprecated public java.lang.String getLabel()
getLabel(String)
public java.lang.String getLabel(java.lang.String lang)
lang
- the languagepublic java.util.Map getLabelMap()
public java.lang.String getName()
String
public java.lang.String getNameCap()
String
@Deprecated public java.lang.String getDescription()
getDescription(String)
public java.lang.String getDescription(java.lang.String lang)
lang
- the languagepublic java.util.Map getDescriptionMap()
public java.lang.String getType()
String
. "int"
, "int[]"
"long"
, "long[]"
"double"
, "double[]"
"boolean"
, "boolean[]"
"String"
, "String[]"
"java.util.Date"
, "java.util.Date[]"
"com.jalios.jcms.Publication"
, "com.jalios.jcms.Publication[]"
and its subclasses"com.jalios.jcms.Content"
, "com.jalios.jcms.Content[]"
and its subclasses"com.jalios.jcms.portlet.PortalElement"
, "com.jalios.jcms.portlet.PortalElement[]"
"com.jalios.jcms.Group"
, "com.jalios.jcms.Group[]"
"com.jalios.jcms.Member"
, "com.jalios.jcms.Member[]"
"java.util.TreeSet"
(for Categories)"super"
marks the place (for the edit form) where the inherited field are located.String or "super" if this field mark the place of inherited fields.
public java.lang.String getTypeShort()
String if any, or "super" if this field mark the place of inherited fields.
getType()
public java.lang.String getCollectionTypeMapping()
public boolean isTypeInt()
int
.getType()
public boolean isTypeIntArray()
int[]
.getType()
public boolean isTypeLong()
long
.getType()
public boolean isTypeLongArray()
long[]
.getType()
public boolean isTypeDouble()
double
.getType()
public boolean isTypeDoubleArray()
double[]
.getType()
public boolean isTypeBoolean()
boolean
.getType()
public boolean isTypeBooleanArray()
boolean[]
.getType()
public boolean isTypePrimitive()
int
, long
, double
or boolean
).getType()
,
isTypeInt()
,
isTypeLong()
,
isTypeDouble()
,
isTypeBoolean()
public boolean isTypePrimitiveArray()
int[]
, long[]
, double[]
or boolean[]
).getType()
,
isTypeIntArray()
,
isTypeLongArray()
,
isTypeDoubleArray()
,
isTypeBooleanArray()
public boolean isTypeString()
String
.getType()
public boolean isTypeStringArray()
String[]
.getType()
public boolean isTypeDate()
Date
.getType()
public boolean isTypeDateArray()
Date[]
.getType()
public boolean isTypeScalar()
getType()
public boolean isTypeMV()
getType()
public boolean isTypeArray()
getType()
public boolean isTypeList()
getType()
public boolean isTypeSet()
getType()
public boolean isTypeCollection()
getType()
public boolean isTypeCategory()
TreeSet
of Category
).getEditor()
,
getType()
public boolean isTypePublication()
Publication
.getType()
public boolean isTypePublicationArray()
Publication[]
.getType()
public boolean isTypePublicationMV()
Publication[]
, a List extends Publication>
or Set extends Publication>
.getType()
public boolean isTypeDocument()
Document
.getType()
public boolean isTypeDocumentMV()
FileDocument[]
, a List extends FileDocument>
or Set extends FileDocument>
.getType()
public boolean isRequired()
public boolean isInline()
public boolean isHidden()
public boolean isAbstract()
public int getAbstractLength()
public boolean isDataImage()
public boolean isSearchable()
public boolean isSimpleString()
String
or a String[]
AND not an enumerate neither a wysywig.getType()
,
isEnumerate()
,
isWysiwyg()
public boolean isSuper()
getType()
public java.lang.String getEditor()
"category"
"color"
"date"
"email"
"enumerate"
"file"
"image"
"media"
"password"
"query"
"textarea"
"textfield"
"url"
"wysiwyg"
"radio"
"check"
"list"
"combo"
"int"
, "int[]"
"double"
, "double[]"
"boolean"
, "boolean[]"
"member"
, "member[]"
"group"
, "group[]"
"link"
, "link[]"
"duration"
, "duration[]"
"date"
, "date[]"
"sqlquery"
, "sqlquery[]"
"dbrecord"
, "dbrecord[]"
String
public boolean isLink()
getEditor()
public boolean isAnyLink()
public java.lang.String getChooser()
"checkbox"
"combo"
"listbox"
"multilistbox"
"popup"
"tree"
public boolean isFieldML()
public java.lang.String getDefaultValue()
String
with the default value of this field.public java.util.HashMap<java.lang.String,java.lang.String> getDefaultTextMap()
public java.lang.String getDefaultTextString()
public boolean isUrl()
public boolean isFieldWiki()
public boolean isFieldWikiwyg()
public boolean isWysiwyg()
public int getCols()
public int getMaxlength()
public int getRows()
public java.lang.String getUnit()
public java.lang.String getUnitBefore()
public java.lang.String getUnitAfter()
public int getDecimals()
public java.lang.String getWysiwygParams()
public boolean isImageMap()
public boolean isOpenWindow()
public boolean isResize()
public int getResizeWidth()
public int getResizeHeight()
public boolean escapeHtml()
public boolean isSlaveImageMap()
public boolean isMasterImageMap()
public java.lang.Number getMinValue()
public java.lang.Number getMaxValue()
public java.lang.String getDataSource()
public int getMaxRows()
public java.lang.String getDbrTable()
public java.lang.String getDbrKeyCol()
public java.lang.String getDbrColumns()
String
with coma separated SQL columns name SQL listed for this DB record field.public java.lang.String getDbrLabelCol()
String
with the SQL column name used a label for this DB record fieldpublic java.lang.String getDbrOrderBy()
String
with the ORDER BY SQL criteria for this DB record fieldpublic boolean isEnumerate()
public int getSize()
select
in a html form.public java.lang.String[] getEnumerateLabels()
String[]
containing all labels for this field, or null if this field is not an enumeratepublic java.util.HashMap<java.lang.String,java.lang.String[]> getEnumerateLabelsMap()
String[]
containing all labels for this field, or null if this field is not an enumeratepublic java.lang.String[] getEnumerateValues()
String[]
containing all values for this field, or null if this field is not an enumerate.public boolean isEnumerateML()
true
if this field has multilanguage labels (field contains labelList_en... etc).public boolean isDateOnly()
public java.lang.String getDateFormat()
public java.lang.String getRoot()
String
with the ID of the root Category of this fieldpublic boolean isDisplayRoot()
public boolean isExclusive()
public java.lang.String[] getGids()
String[]
containing the jcms id of the Group
from which we choose Member
.public java.util.Map getOffLabelMap()
Map {language, label} with the label to use for the false/off value of this boolean.
public java.lang.String getOffLabel(java.lang.String lang)
lang
- the languagepublic java.util.Map getOnLabelMap()
Map
{language, label} with the label to use for the true/on value of this boolean.public java.lang.String getOnLabel(java.lang.String lang)
lang
- the languagepublic java.lang.String getTab()
String
with the name of the tab.public java.lang.String getTabGroup()
public boolean isWidget()
public int getWidgetEditor()
public int getWidgetDescription()
AbstractWidget.UI_DESCRIPTION_NONE
AbstractWidget.UI_DESCRIPTION_TEXT
AbstractWidget.UI_DESCRIPTION_TOOLTIP
public boolean isMbrChsr()
public boolean isMbrEnum()
public boolean isGrpChsr()
public boolean isGrpEnum()
public boolean isDateChsr()
public boolean isCatEditor()
public boolean isSQLQuery()
public boolean isDBRecordChsr()
public boolean isCatTreeEditor()
public boolean isKeyword()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.