Class Fields
java.lang.Object
com.broadleafcommerce.metadata.dsl.core.utils.Fields
- Author:
- Nick Crum (ncrum)
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultFieldbool()static DefaultFieldstatic DefaultIntegerFieldstatic DefaultDateFielddate()static DefaultFielddecimal()static DefaultDerivedFieldderived()static DefaultDerivedSelectFieldstatic DefaultDerivedUrlFieldstatic DefaultDynamicFielddynamic()Creates a newDefaultDynamicField.static DefaultFieldfield()static DefaultFieldstatic DefaultFieldArrayBlockFieldstatic DefaultFieldArrayGridFieldstatic DefaultFileInputFieldstatic DefaultFieldhtml()static DefaultFieldinteger()static DefaultFieldstatic DefaultLookupFieldlookup()Creates a newLookupField.static DefaultLookupFieldCreates a newLookupFieldwithLookupField.optionSelection()configured.static DefaultLookupFieldCreates a newLookupFieldwithLookupField.valueSelection()configured.static DefaultMoneyFieldmoney()static DefaultPhoneFieldphone()Creates a newDefaultPhoneField.static DefaultQueryBuilderFieldstatic DefaultResidentGridFieldstatic DefaultResidentMapFieldCreates a newResidentMapField.static DefaultRuleBuilderFieldstatic DefaultSelectFieldselect()static DefaultFieldstring()static DefaultFieldstatic DefaultFieldtext()Alias forstring().static DefaultFieldtextArea()
-
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
-
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 newLookupFieldwithLookupField.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 newLookupFieldwithLookupField.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
-