Methods
| Modifier and Type |
Method and Description |
void |
addAction(EntityFormAction action) |
void |
addAction(int position,
EntityFormAction action)
Uses a zero based position.
|
void |
addField(Field field) |
void |
addField(Field field,
String groupName,
Integer groupOrder,
String tabName,
Integer tabOrder) |
void |
addHiddenField(Field field) |
void |
addListGrid(ListGrid listGrid,
String tabName,
Integer tabOrder) |
void |
addMapKeyField(Field field) |
void |
clearFieldsMap()
Clears out the cached 'fields' variable which is used to render the form on the frontend.
|
FieldGroup |
collapseToOneFieldGroup() |
Field |
findField(String fieldName) |
ListGrid |
findListGrid(String collectionFieldName)
Convenience method for grabbing a grid by its collection field name.
|
Tab |
findTab(String tabTitle) |
Tab |
findTabForField(String fieldName) |
List<EntityFormAction> |
getActions() |
List<ListGrid> |
getAllListGrids() |
Map<String,Object> |
getAttributes() |
String |
getCeilingEntityClassname() |
EntityForm |
getDynamicForm(String name) |
DynamicEntityFormInfo |
getDynamicFormInfo(String name) |
Map<String,DynamicEntityFormInfo> |
getDynamicFormInfos() |
Map<String,EntityForm> |
getDynamicForms() |
String |
getEntityType() |
Map<String,Field> |
getFields() |
String |
getId() |
String |
getIdProperty() |
String |
getMainEntityName() |
String |
getParentId() |
Boolean |
getReadOnly() |
String |
getSectionCrumbs() |
List<SectionCrumb> |
getSectionCrumbsImpl() |
String |
getSectionKey() |
Set<Tab> |
getTabs() |
String |
getTranslationCeilingEntity() |
String |
getTranslationId() |
void |
putDynamicForm(String name,
EntityForm ef) |
void |
putDynamicFormInfo(String name,
DynamicEntityFormInfo info) |
void |
removeAction(EntityFormAction action) |
void |
removeAllActions() |
Field |
removeField(String fieldName) |
ListGrid |
removeListGrid(String subCollectionFieldName) |
void |
removeTab(String tabName) |
void |
removeTab(Tab tab) |
String |
sanitizeFieldName(String fieldName)
Since this field name could come from the frontend (where all fields are referenced like fields[name].value,
we need to strip that part out to look up the real field name in this entity
|
void |
setActions(List<EntityFormAction> actions) |
void |
setAttributes(Map<String,Object> attributes) |
void |
setCeilingEntityClassname(String ceilingEntityClassname) |
void |
setDynamicFormInfos(Map<String,DynamicEntityFormInfo> dynamicFormInfos) |
void |
setDynamicForms(Map<String,EntityForm> dynamicForms) |
void |
setEntityType(String entityType) |
void |
setId(String id) |
void |
setIdProperty(String idProperty) |
void |
setMainEntityName(String mainEntityName) |
void |
setParentId(String parentId) |
void |
setReadOnly() |
void |
setReadOnly(boolean readOnly) |
void |
setSectionCrumbs(String crumbs) |
void |
setSectionCrumbsImpl(List<SectionCrumb> sectionCrumbs) |
void |
setSectionKey(String sectionKey) |
void |
setTabs(Set<Tab> tabs) |
void |
setTranslationCeilingEntity(String translationCeilingEntity) |
void |
setTranslationId(String translationId) |