| Modifier and Type | Field and Description |
|---|---|
protected EntityForm |
EntityFormModifierRequest.entityForm |
| Modifier and Type | Method and Description |
|---|---|
EntityForm |
EntityFormModifierRequest.getEntityForm() |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityFormModifierRequest.setEntityForm(EntityForm entityForm) |
EntityFormModifierRequest |
EntityFormModifierRequest.withEntityForm(EntityForm entityForm) |
| Modifier and Type | Method and Description |
|---|---|
PersistenceResponse |
AdminEntityService.addEntity(EntityForm entityForm,
String[] customCriteria,
List<SectionCrumb> sectionCrumb)
Persists the given entity
|
PersistenceResponse |
AdminEntityServiceImpl.addEntity(EntityForm entityForm,
String[] customCriteria,
List<SectionCrumb> sectionCrumb) |
PersistenceResponse |
AdminEntityService.addSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
List<SectionCrumb> sectionCrumb)
Adds an item into the specified collection
|
PersistenceResponse |
AdminEntityServiceImpl.addSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
List<SectionCrumb> sectionCrumbs) |
protected List<Property> |
AdminEntityServiceImpl.getPropertiesFromEntityForm(EntityForm entityForm) |
PersistencePackageRequest |
AdminEntityService.getRequestForEntityForm(EntityForm entityForm,
String[] customCriteria,
List<SectionCrumb> sectionCrumbs)
Gets the PersistencePackageRequest for the passed in EntityForm
|
PersistencePackageRequest |
AdminEntityServiceImpl.getRequestForEntityForm(EntityForm entityForm,
String[] customCriteria,
List<SectionCrumb> sectionCrumbs) |
PersistenceResponse |
AdminEntityService.removeEntity(EntityForm entityForm,
String[] customCriteria,
List<SectionCrumb> sectionCrumb)
Removes the given entity
|
PersistenceResponse |
AdminEntityServiceImpl.removeEntity(EntityForm entityForm,
String[] customCriteria,
List<SectionCrumb> sectionCrumb) |
PersistenceResponse |
AdminEntityService.updateEntity(EntityForm entityForm,
String[] customCriteria,
List<SectionCrumb> sectionCrumb)
Updates the given entity
|
PersistenceResponse |
AdminEntityServiceImpl.updateEntity(EntityForm entityForm,
String[] customCriteria,
List<SectionCrumb> sectionCrumb) |
PersistenceResponse |
AdminEntityService.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId,
List<SectionCrumb> sectionCrumb)
Updates the specified collection item
|
PersistenceResponse |
AdminEntityServiceImpl.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId,
List<SectionCrumb> sectionCrumb) |
PersistenceResponse |
AdminEntityService.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId,
String alternateId,
List<SectionCrumb> sectionCrumb)
Updates the specified collection item
|
PersistenceResponse |
AdminEntityServiceImpl.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId,
String alternateId,
List<SectionCrumb> sectionCrumbs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EntityFormVariableExpression.isTabActive(EntityForm ef,
Tab tab) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,EntityForm> |
EntityForm.dynamicForms |
| Modifier and Type | Method and Description |
|---|---|
EntityForm |
EntityForm.getDynamicForm(String name) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,EntityForm> |
EntityForm.getDynamicForms() |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityForm.putDynamicForm(String name,
EntityForm ef) |
boolean |
EntityFormValidator.validate(EntityForm form,
Entity entity,
org.springframework.validation.Errors errors)
Validates the form DTO against the passed in entity
|
boolean |
EntityFormValidator.validate(EntityForm form,
Map<String,List<String>> propertyErrors,
org.springframework.validation.Errors errors)
Validates the DTO against the map of property errors.
|
boolean |
EntityFormValidator.validate(EntityForm form,
Map<String,List<String>> propertyErrors,
List<String> globalErrors,
org.springframework.validation.Errors errors)
Validates the form DTO against the passed in map of propertyErrors along with global validation errors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityForm.setDynamicForms(Map<String,EntityForm> dynamicForms) |
| Modifier and Type | Method and Description |
|---|---|
EntityForm |
FormBuilderService.buildAdornedListForm(AdornedTargetCollectionMetadata adornedMd,
AdornedTargetList adornedList,
String parentId,
boolean isViewCollectionItem,
EntityForm ef,
List<SectionCrumb> sectionCrumbs,
boolean isAdd)
Equivalent to
#buildAdornedListForm(AdornedTargetCollectionMetadata, AdornedTargetList, String) except rather than creating a
new EntityForm this simply uses the EntityForm that was passed in as ef. |
EntityForm |
FormBuilderServiceImpl.buildAdornedListForm(AdornedTargetCollectionMetadata adornedMd,
AdornedTargetList adornedList,
String parentId,
boolean isViewCollectionItem,
EntityForm ef,
List<SectionCrumb> sectionCrumbs,
boolean isAdd) |
EntityForm |
FormBuilderService.buildAdornedListForm(AdornedTargetCollectionMetadata adornedMd,
AdornedTargetList adornedList,
String parentId,
boolean isViewCollectionItem,
List<SectionCrumb> sectionCrumbs,
boolean isAdd)
Builds the EntityForm used in modal dialogs when adding items to adorned target collections.
|
EntityForm |
FormBuilderServiceImpl.buildAdornedListForm(AdornedTargetCollectionMetadata adornedMd,
AdornedTargetList adornedList,
String parentId,
boolean isViewCollectionItem,
List<SectionCrumb> sectionCrumbs,
boolean isAdd) |
EntityForm |
FormBuilderService.buildMapForm(MapMetadata mapMd,
MapStructure mapStructure,
ClassMetadata cmd,
String parentId)
Builds the EntityForm used in modal dialogs when adding items to map collections.
|
EntityForm |
FormBuilderServiceImpl.buildMapForm(MapMetadata mapMd,
MapStructure mapStructure,
ClassMetadata cmd,
String parentId) |
EntityForm |
FormBuilderService.buildMapForm(MapMetadata mapMd,
MapStructure mapStructure,
ClassMetadata cmd,
String parentId,
EntityForm ef)
Equivalent to
FormBuilderService.buildMapForm(MapMetadata, MapStructure, ClassMetadata, String) except rather than creating a
new EntityForm this simply uses the EntityForm that was passed in as ef. |
EntityForm |
FormBuilderServiceImpl.buildMapForm(MapMetadata mapMd,
MapStructure mapStructure,
ClassMetadata cmd,
String parentId,
EntityForm ef) |
EntityForm |
TranslationFormBuilderServiceImpl.buildTranslationForm(ClassMetadata cmd,
TranslationForm formProperties,
TranslationFormAction action) |
EntityForm |
TranslationFormBuilderService.buildTranslationForm(ClassMetadata cmd,
TranslationForm formProperties,
TranslationFormAction action)
Builds an EntityForm used to create or edit a translation value
|
EntityForm |
FormBuilderService.createEntityForm(ClassMetadata cmd,
Entity entity,
List<SectionCrumb> sectionCrumbs)
Creates a new EntityForm that has all of the appropriate fields set up along with the values for those fields
from the given Entity.
|
EntityForm |
FormBuilderServiceImpl.createEntityForm(ClassMetadata cmd,
Entity entity,
List<SectionCrumb> sectionCrumbs) |
EntityForm |
FormBuilderService.createEntityForm(ClassMetadata cmd,
Entity entity,
Map<String,DynamicResultSet> collectionRecords,
List<SectionCrumb> sectionCrumbs)
Builds an EntityForm that has all of the appropriate fields set up along with the values for those fields
from the given Entity as well as all sub-collections of the given Entity that appear in the collectionRecords map.
|
EntityForm |
FormBuilderServiceImpl.createEntityForm(ClassMetadata cmd,
Entity entity,
Map<String,DynamicResultSet> collectionRecords,
List<SectionCrumb> sectionCrumbs) |
EntityForm |
FormBuilderService.createEntityForm(ClassMetadata cmd,
List<SectionCrumb> sectionCrumbs)
Creates a new EntityForm with the a default 'Save' action.
|
EntityForm |
FormBuilderServiceImpl.createEntityForm(ClassMetadata cmd,
List<SectionCrumb> sectionCrumbs) |
protected EntityForm |
FormBuilderServiceImpl.createStandardAdornedEntityForm() |
protected EntityForm |
FormBuilderServiceImpl.createStandardEntityForm() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
FormBuilderExtensionHandler.addAdditionalAdornedFormActions(EntityForm entityForm)
Provides a hook to add additional actions to adorned entity forms.
|
ExtensionResultStatusType |
AbstractFormBuilderExtensionHandler.addAdditionalAdornedFormActions(EntityForm entityForm) |
ExtensionResultStatusType |
FormBuilderExtensionHandler.addAdditionalFormActions(EntityForm entityForm)
Provides a hook to add additional actions to all entity forms.
|
ExtensionResultStatusType |
AbstractFormBuilderExtensionHandler.addAdditionalFormActions(EntityForm entityForm) |
protected void |
FormBuilderServiceImpl.addAdditionalFormActions(EntityForm ef)
This method is invoked when EntityForms are created and is meant to provide a hook to add
additional entity form actions for implementors of Broadleaf.
|
protected void |
FormBuilderServiceImpl.addDeleteActionIfAllowed(EntityForm entityForm,
ClassMetadata cmd,
Entity entity)
Adds the
DefaultEntityFormActions.DELETE if the user is allowed to delete the entity. |
EntityForm |
FormBuilderService.buildAdornedListForm(AdornedTargetCollectionMetadata adornedMd,
AdornedTargetList adornedList,
String parentId,
boolean isViewCollectionItem,
EntityForm ef,
List<SectionCrumb> sectionCrumbs,
boolean isAdd)
Equivalent to
#buildAdornedListForm(AdornedTargetCollectionMetadata, AdornedTargetList, String) except rather than creating a
new EntityForm this simply uses the EntityForm that was passed in as ef. |
EntityForm |
FormBuilderServiceImpl.buildAdornedListForm(AdornedTargetCollectionMetadata adornedMd,
AdornedTargetList adornedList,
String parentId,
boolean isViewCollectionItem,
EntityForm ef,
List<SectionCrumb> sectionCrumbs,
boolean isAdd) |
EntityForm |
FormBuilderService.buildMapForm(MapMetadata mapMd,
MapStructure mapStructure,
ClassMetadata cmd,
String parentId,
EntityForm ef)
Equivalent to
FormBuilderService.buildMapForm(MapMetadata, MapStructure, ClassMetadata, String) except rather than creating a
new EntityForm this simply uses the EntityForm that was passed in as ef. |
EntityForm |
FormBuilderServiceImpl.buildMapForm(MapMetadata mapMd,
MapStructure mapStructure,
ClassMetadata cmd,
String parentId,
EntityForm ef) |
protected String |
FormBuilderServiceImpl.getSecurityClassname(EntityForm entityForm,
ClassMetadata cmd)
Obtains the class name suitable for passing along to the
SecurityVerifier |
ExtensionResultStatusType |
FormBuilderExtensionHandler.modifyDetailEntityForm(EntityForm ef)
Invoked whenever a detailed
EntityForm is built, after the initial list grids have been created on
the given EntityForm. |
ExtensionResultStatusType |
AbstractFormBuilderExtensionHandler.modifyDetailEntityForm(EntityForm ef) |
ExtensionResultStatusType |
FormBuilderExtensionHandler.modifyPopulatedEntityForm(EntityForm ef,
Entity entity)
Modifies an
EntityForm after it has been populated with an Entity. |
ExtensionResultStatusType |
AbstractFormBuilderExtensionHandler.modifyPopulatedEntityForm(EntityForm ef,
Entity entity) |
ExtensionResultStatusType |
FormBuilderExtensionHandler.modifyUnpopulatedEntityForm(EntityForm ef)
Modifies an
EntityForm before it is populated with an Entity. |
ExtensionResultStatusType |
AbstractFormBuilderExtensionHandler.modifyUnpopulatedEntityForm(EntityForm ef) |
void |
FormBuilderService.populateAdornedEntityFormFields(EntityForm ef,
Entity entity,
AdornedTargetList adornedList)
Sets values for the necessary adorned fields on the EntityForm from the specified entity.
|
void |
FormBuilderServiceImpl.populateAdornedEntityFormFields(EntityForm ef,
Entity entity,
AdornedTargetList adornedList) |
protected void |
FormBuilderServiceImpl.populateDropdownToOneFields(EntityForm ef,
ClassMetadata cmd) |
void |
FormBuilderService.populateEntityForm(ClassMetadata cmd,
Entity entity,
EntityForm ef,
List<SectionCrumb> sectionCrumbs)
Populates a given ef based on the given cmd to initially create fields with the necessary metadata
and then fills those fields out based on the property values from entity.
|
void |
FormBuilderServiceImpl.populateEntityForm(ClassMetadata cmd,
Entity entity,
EntityForm ef,
List<SectionCrumb> sectionCrumbs) |
void |
FormBuilderService.populateEntityForm(ClassMetadata cmd,
EntityForm ef,
List<SectionCrumb> sectionCrumbs)
Populates the given ef with all of the fields based on the properties from cmd.
|
void |
FormBuilderServiceImpl.populateEntityForm(ClassMetadata cmd,
EntityForm ef,
List<SectionCrumb> sectionCrumbs) |
void |
FormBuilderService.populateEntityForm(ClassMetadata cmd,
Entity entity,
Map<String,DynamicResultSet> collectionRecords,
EntityForm entityForm,
List<SectionCrumb> sectionCrumbs)
Builds an EntityForm that has all of the appropriate fields set up along with the values for thsoe fields
from the given Entity as well as all sub-collections of the given Entity that appear in the collectionRecords map.
|
void |
FormBuilderServiceImpl.populateEntityForm(ClassMetadata cmd,
Entity entity,
Map<String,DynamicResultSet> collectionRecords,
EntityForm ef,
List<SectionCrumb> sectionCrumbs) |
void |
FormBuilderService.populateEntityFormFields(EntityForm ef,
Entity entity)
Delegates to
FormBuilderService.populateEntityFormFields(EntityForm, Entity, boolean, boolean) with true for populating both
the id and type. |
void |
FormBuilderServiceImpl.populateEntityFormFields(EntityForm ef,
Entity entity) |
void |
FormBuilderService.populateEntityFormFields(EntityForm ef,
Entity entity,
boolean populateType,
boolean populateId)
Sets values for all fields found on the EntityForm from the specified entity.
|
void |
FormBuilderServiceImpl.populateEntityFormFields(EntityForm ef,
Entity entity,
boolean populateType,
boolean populateId) |
void |
FormBuilderService.populateEntityFormFieldValues(ClassMetadata cmd,
Entity entity,
EntityForm ef)
Populates the given
EntityForm with values based on the Entity that has been passed in. |
void |
FormBuilderServiceImpl.populateEntityFormFieldValues(ClassMetadata cmd,
Entity entity,
EntityForm ef) |
void |
FormBuilderService.populateMapEntityFormFields(EntityForm ef,
Entity entity)
Sets values for the necessary map fields on the EntityForm from the specified entity.
|
void |
FormBuilderServiceImpl.populateMapEntityFormFields(EntityForm ef,
Entity entity) |
void |
FormBuilderService.removeNonApplicableFields(ClassMetadata cmd,
EntityForm entityForm,
String entityType)
Loops through all of the fields that are specified in given class metadata and removes fields that
are not applicable for the given polymorphic entity type from the entity form.
|
void |
FormBuilderServiceImpl.removeNonApplicableFields(ClassMetadata cmd,
EntityForm entityForm,
String entityType) |
protected void |
FormBuilderServiceImpl.setEntityFormFields(ClassMetadata cmd,
EntityForm ef,
List<Property> properties) |
protected void |
FormBuilderServiceImpl.setEntityFormTabsAndGroups(EntityForm ef,
Map<String,TabMetadata> tabMetadataMap)
NOTE: This method will attempt to merge tabs if the unprocessed
TabMetadata.getTabName() is equal to
the processed value of another tab. |
protected void |
FormBuilderServiceImpl.setReadOnlyState(EntityForm entityForm,
ClassMetadata cmd,
Entity entity)
The given entityForm is marked as readonly for the following cases:
All of the properties from cmd are readonly
The user does not have the security to
EntityOperationType.UPDATE the given class name represented by
the entityForm (determined by FormBuilderServiceImpl.getSecurityClassname(EntityForm, ClassMetadata))
The user does not have the security necessary to modify the given entity according to the
RowLevelSecurityProvider.canUpdate(AdminUser, Entity)
|
protected void |
FormBuilderServiceImpl.setVisibilityBasedOnShowIfFieldEquals(ClassMetadata cmd,
Entity entity,
EntityForm ef) |
protected boolean |
FormBuilderServiceImpl.tabExists(EntityForm ef,
String tabKey) |
Copyright © 2021. All rights reserved.