Class Fields
java.lang.Object
com.broadleafcommerce.metadata.dsl.core.utils.Fields
- Author:
- Nick Crum (ncrum)
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultField
bool()
static DefaultField
static DefaultIntegerField
static DefaultDateField
date()
static DefaultField
decimal()
static DefaultDerivedField
derived()
static DefaultDerivedSelectField
static DefaultDerivedUrlField
static DefaultDynamicField
dynamic()
Creates a newDefaultDynamicField
.static DefaultEnumSwitchField
static DefaultField
field()
static DefaultField
static DefaultFieldArrayBlockField
static DefaultFieldArrayGridField
static DefaultFileInputField
static DefaultField
html()
static DefaultField
integer()
static DefaultField
static DefaultField
static DefaultLookupField
lookup()
Creates a newLookupField
.static DefaultLookupField
Creates a newLookupField
withLookupField.optionSelection()
configured.static DefaultLookupField
Creates a newLookupField
withLookupField.valueSelection()
configured.static DefaultMoneyField
money()
static DefaultPhoneField
phone()
Creates a newDefaultPhoneField
.static DefaultQueryBuilderField
static DefaultResidentGridField
static DefaultResidentMapField
Creates a newResidentMapField
.static DefaultRuleBuilderField
static DefaultSelectField
select()
static DefaultField
string()
static DefaultField
static DefaultField
text()
Alias forstring()
.static DefaultField
textArea()
-
Method Details
-
field
-
field
-
string
- Returns:
- a field that renders a text input
-
text
Alias forstring()
.- Returns:
- a field that renders a text input
-
textArea
- Returns:
- a field that renders a textarea input
-
integer
-
configurableInteger
-
longInteger
-
decimal
-
html
-
bool
-
date
-
colorPicker
-
stringArray
-
jsonPayload
-
derived
-
derivedSelect
-
derivedUrl
-
dynamic
Creates a newDefaultDynamicField
.- Returns:
- a
DefaultDynamicField
-
phone
Creates a newDefaultPhoneField
.- Returns:
- a
DefaultDynamicField
-
select
-
fileInput
-
money
-
lookup
Creates a newLookupField
. -
lookupOption
Creates a newLookupField
withLookupField.optionSelection()
configured. This is useful in situations where the selection of an option should result in the option being stored as the field's value.- Returns:
- a
LookupField
-
lookupValue
Creates a newLookupField
withLookupField.valueSelection()
configured. This is useful in situations where the selection of an option should result in only the option's value, or ID, being stored as the field's value.- Returns:
- a
LookupField
-
residentGrid
-
residentMap
Creates a newResidentMapField
. This field is useful for managing a key-value map that is resident on the entity being managed.- Returns:
- a
ResidentMapField
-
customAttributesGrid
-
ruleBuilder
-
queryBuilder
-
fieldArrayGrid
-
fieldArrayBlock
-
enumSwitch
- Since:
- 2.x.x
-