Modifier and Type | Method and Description |
---|---|
Entity |
SkuCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
ProductCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
CustomerCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
ChildCategoriesCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
CategoryCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
SkuCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
ProductCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
CustomerPasswordCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
protected Entity |
SkuCustomPersistenceHandler.validateUniqueProductOptionValueCombination(Product product,
List<Property> productOptionProperties,
Sku currentSku)
Ensures that the given list of
ProductOptionValue IDs is unique for the given Product |
Modifier and Type | Method and Description |
---|---|
protected void |
SkuCustomPersistenceHandler.associateProductOptionValuesToSku(Entity entity,
Sku adminInstance,
DynamicEntityDao dynamicEntityDao)
This initially removes all of the product option values that are currently related to the Sku and then re-associates
the
ProductOptionValue s |
protected List<Property> |
SkuCustomPersistenceHandler.getProductOptionProperties(Entity entity) |
protected void |
ProductCustomPersistenceHandler.removeBundleFieldRestrictions(ProductBundle adminInstance,
Map<String,FieldMetadata> adminProperties,
Entity entity)
If the pricing model is of type item_sum, that property should not be required
|
Modifier and Type | Method and Description |
---|---|
PropertyValidationResult |
TargetItemRulesValidator.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
Map<String,String> validationConfiguration,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value) |
Modifier and Type | Method and Description |
---|---|
protected String |
AdminProductController.buildAddCollectionItemModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
String id,
String collectionField,
String sectionKey,
Property collectionProperty,
FieldMetadata md,
PersistencePackageRequest ppr,
EntityForm entityForm,
Entity entity) |
Modifier and Type | Method and Description |
---|---|
Entity |
StructuredContentTypeCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
Invoked when
StructuredContent is saved in order to fill out the dynamic form for the structured content type |
Entity |
StructuredContentItemCriteriaCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
PageTemplateCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
PageItemCriteriaCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
protected Entity |
StructuredContentTypeCustomPersistenceHandler.addOrUpdate(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
protected Entity |
PageTemplateCustomPersistenceHandler.addOrUpdate(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
protected Entity |
StructuredContentTypeCustomPersistenceHandler.fetchEntityBasedOnId(String structuredContentId) |
protected Entity |
PageTemplateCustomPersistenceHandler.fetchEntityBasedOnId(String pageId) |
Entity |
StructuredContentTypeCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper)
Invoked when
StructuredContent is saved in order to fill out the dynamic form for the structured content type |
Entity |
StructuredContentItemCriteriaCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
PageTemplateCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
PageItemCriteriaCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Modifier and Type | Method and Description |
---|---|
protected void |
StructuredContentItemCriteriaCustomPersistenceHandler.removeHtmlEncoding(Entity entity) |
protected void |
PageItemCriteriaCustomPersistenceHandler.removeHtmlEncoding(Entity entity) |
Modifier and Type | Field and Description |
---|---|
protected Entity |
PersistencePackage.entity |
Modifier and Type | Method and Description |
---|---|
Entity |
PersistencePackage.getEntity() |
Entity |
EntityResult.getEntity() |
Entity[] |
DynamicResultSet.getRecords() |
Modifier and Type | Method and Description |
---|---|
void |
Entity.mergeProperties(String prefix,
Entity entity) |
void |
Entity.overridePropertyValues(Entity entity)
Replaces all property values in this entity with the values from the given entity.
|
void |
PersistencePackage.setEntity(Entity entity) |
void |
EntityResult.setEntity(Entity entity) |
void |
DynamicResultSet.setRecords(Entity[] records) |
Constructor and Description |
---|
DynamicResultSet(ClassMetadata classMetaData,
Entity[] records,
Integer totalRecords) |
DynamicResultSet(Entity[] records,
Integer totalRecords) |
PersistencePackage(String ceilingEntityFullyQualifiedClassname,
Entity entity,
PersistencePerspective persistencePerspective,
String[] customCriteria,
String csrfToken) |
PersistencePackage(String ceilingEntityFullyQualifiedClassname,
String fetchTypeFullyQualifiedClassname,
Entity entity,
PersistencePerspective persistencePerspective,
String[] customCriteria,
String csrfToken) |
Modifier and Type | Field and Description |
---|---|
protected Entity |
PersistencePackageRequest.entity |
Modifier and Type | Method and Description |
---|---|
Entity |
PersistencePackageRequest.getEntity() |
Modifier and Type | Method and Description |
---|---|
void |
PersistencePackageRequest.setEntity(Entity entity) |
PersistencePackageRequest |
PersistencePackageRequest.withEntity(Entity entity) |
Modifier and Type | Method and Description |
---|---|
Entity |
AdminUserCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
AdminPermissionCustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
protected Entity |
AdminPermissionCustomPersistenceHandler.checkPermissionName(PersistencePackage persistencePackage) |
Entity |
AdminUserCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
AdminPermissionCustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Modifier and Type | Field and Description |
---|---|
protected Entity |
ValidationException.entity |
Modifier and Type | Method and Description |
---|---|
Entity |
DynamicEntityService.add(PersistencePackage persistencePackage) |
Entity |
DynamicEntityRemoteService.add(PersistencePackage persistencePackage) |
protected Entity |
AdminEntityServiceImpl.add(PersistencePackageRequest request) |
Entity |
AdminEntityServiceImpl.addEntity(EntityForm entityForm,
String[] customCriteria) |
Entity |
AdminEntityService.addEntity(EntityForm entityForm,
String[] customCriteria)
Persists the given entity
|
Entity |
AdminEntityServiceImpl.addSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity) |
Entity |
AdminEntityService.addSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity)
Adds an item into the specified collection
|
Entity |
AdminEntityServiceImpl.getAdvancedCollectionRecord(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
String collectionItemId) |
Entity |
AdminEntityService.getAdvancedCollectionRecord(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
String collectionItemId)
Gets an Entity representing a specific collection item
|
Entity |
ValidationException.getEntity() |
Entity |
AdminEntityServiceImpl.getRecord(PersistencePackageRequest request,
String id,
ClassMetadata cmd,
boolean isCollectionRequest) |
Entity |
AdminEntityService.getRecord(PersistencePackageRequest request,
String id,
ClassMetadata cmd,
boolean isCollectionRequest)
Returns a specific record for the given request and primary key id/property
|
Entity |
DynamicEntityService.update(PersistencePackage persistencePackage) |
Entity |
DynamicEntityRemoteService.update(PersistencePackage persistencePackage) |
protected Entity |
AdminEntityServiceImpl.update(PersistencePackageRequest request) |
Entity |
AdminEntityServiceImpl.updateEntity(EntityForm entityForm,
String[] customCriteria) |
Entity |
AdminEntityService.updateEntity(EntityForm entityForm,
String[] customCriteria)
Updates the given entity
|
Entity |
AdminEntityServiceImpl.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId) |
Entity |
AdminEntityService.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId)
Updates the specified collection item
|
Modifier and Type | Method and Description |
---|---|
Entity |
AdminEntityServiceImpl.addSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity) |
Entity |
AdminEntityService.addSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity)
Adds an item into the specified collection
|
protected void |
DynamicEntityRemoteService.cleanEntity(Entity entity) |
Entity |
AdminEntityServiceImpl.getAdvancedCollectionRecord(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
String collectionItemId) |
Entity |
AdminEntityService.getAdvancedCollectionRecord(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
String collectionItemId)
Gets an Entity representing a specific collection item
|
String |
AdminEntityServiceImpl.getContextSpecificRelationshipId(ClassMetadata cmd,
Entity entity,
String propertyName) |
String |
AdminEntityService.getContextSpecificRelationshipId(ClassMetadata cmd,
Entity entity,
String propertyName)
Returns the appropriate id to use for the given entity/metadata and prefix when dealing with collections.
|
Map<String,DynamicResultSet> |
AdminEntityServiceImpl.getRecordsForAllSubCollections(PersistencePackageRequest ppr,
Entity containingEntity) |
Map<String,DynamicResultSet> |
AdminEntityService.getRecordsForAllSubCollections(PersistencePackageRequest ppr,
Entity containingEntity)
Returns all records for all subcollections of the specified request and its primary key
|
DynamicResultSet |
AdminEntityServiceImpl.getRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
Integer startIndex,
Integer maxIndex) |
DynamicResultSet |
AdminEntityService.getRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
Integer startIndex,
Integer maxIndex)
Returns the DynamicResultSet representing the records that belong to the specified collectionProperty for the
given containingClass and the primary key for the containingClass
|
DynamicResultSet |
AdminEntityServiceImpl.getRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
Integer startIndex,
Integer maxIndex,
String idValueOverride) |
DynamicResultSet |
AdminEntityService.getRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
Integer startIndex,
Integer maxIndex,
String idValueOverride)
The same as the other getRecordsForCollection method, except that this one expects allow the caller to explicitly
set the id value that will be used in the fetch instead of delegating to
#getContextSpecificRelationshipId() |
void |
AdminEntityServiceImpl.removeSubCollectionEntity(ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String itemId,
String priorKey) |
void |
AdminEntityService.removeSubCollectionEntity(ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String itemId,
String priorKey)
Removes the given item from the specified collection.
|
void |
ValidationException.setEntity(Entity entity) |
Entity |
AdminEntityServiceImpl.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId) |
Entity |
AdminEntityService.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId)
Updates the specified collection item
|
Constructor and Description |
---|
ValidationException(Entity entity,
String message) |
Modifier and Type | Method and Description |
---|---|
Entity |
CustomPersistenceHandlerAdapter.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
CustomPersistenceHandler.add(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
CustomPersistenceHandlerAdapter.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Entity |
CustomPersistenceHandler.update(PersistencePackage persistencePackage,
DynamicEntityDao dynamicEntityDao,
RecordHelper helper) |
Modifier and Type | Method and Description |
---|---|
Entity |
PersistenceManagerImpl.add(PersistencePackage persistencePackage) |
Entity |
PersistenceManager.add(PersistencePackage persistencePackage) |
protected Entity |
PersistenceManagerImpl.postAdd(Entity entity,
PersistencePackage persistencePackage) |
protected Entity |
PersistenceManagerImpl.postUpdate(Entity entity,
PersistencePackage persistencePackage) |
Entity |
PersistenceManagerImpl.update(PersistencePackage persistencePackage) |
Entity |
PersistenceManager.update(PersistencePackage persistencePackage) |
Modifier and Type | Method and Description |
---|---|
protected Entity |
PersistenceManagerImpl.postAdd(Entity entity,
PersistencePackage persistencePackage) |
protected Entity |
PersistenceManagerImpl.postUpdate(Entity entity,
PersistencePackage persistencePackage) |
Modifier and Type | Method and Description |
---|---|
Entity |
PersistenceModule.add(PersistencePackage persistencePackage) |
Entity |
MapStructurePersistenceModule.add(PersistencePackage persistencePackage) |
Entity |
BasicPersistenceModule.add(PersistencePackage persistencePackage) |
Entity |
AdornedTargetListPersistenceModule.add(PersistencePackage persistencePackage) |
protected Entity[] |
MapStructurePersistenceModule.getMapRecords(Serializable record,
MapStructure mapStructure,
Map<String,FieldMetadata> ceilingMergedProperties,
Map<String,FieldMetadata> valueMergedProperties,
Property symbolicIdProperty) |
Entity |
RecordHelper.getRecord(Class<?> ceilingEntityClass,
PersistencePerspective persistencePerspective,
Serializable record) |
Entity |
BasicPersistenceModule.getRecord(Class<?> ceilingEntityClass,
PersistencePerspective persistencePerspective,
Serializable record) |
Entity |
RecordHelper.getRecord(Map<String,FieldMetadata> primaryMergedProperties,
Serializable record,
Map<String,FieldMetadata> alternateMergedProperties,
String pathToTargetObject) |
Entity |
BasicPersistenceModule.getRecord(Map<String,FieldMetadata> primaryMergedProperties,
Serializable record,
Map<String,FieldMetadata> alternateMergedProperties,
String pathToTargetObject) |
Entity[] |
RecordHelper.getRecords(Class<?> ceilingEntityClass,
PersistencePerspective persistencePerspective,
List<? extends Serializable> records) |
Entity[] |
BasicPersistenceModule.getRecords(Class<?> ceilingEntityClass,
PersistencePerspective persistencePerspective,
List<? extends Serializable> records) |
Entity[] |
RecordHelper.getRecords(Map<String,FieldMetadata> primaryMergedProperties,
List<? extends Serializable> records) |
Entity[] |
BasicPersistenceModule.getRecords(Map<String,FieldMetadata> primaryMergedProperties,
List<? extends Serializable> records) |
Entity[] |
RecordHelper.getRecords(Map<String,FieldMetadata> primaryMergedProperties,
List<? extends Serializable> records,
Map<String,FieldMetadata> alternateMergedProperties,
String pathToTargetObject) |
Entity[] |
BasicPersistenceModule.getRecords(Map<String,FieldMetadata> primaryUnfilteredMergedProperties,
List<? extends Serializable> records,
Map<String,FieldMetadata> alternateUnfilteredMergedProperties,
String pathToTargetObject) |
Entity |
PersistenceModule.update(PersistencePackage persistencePackage) |
Entity |
MapStructurePersistenceModule.update(PersistencePackage persistencePackage) |
Entity |
BasicPersistenceModule.update(PersistencePackage persistencePackage) |
Entity |
AdornedTargetListPersistenceModule.update(PersistencePackage persistencePackage) |
Modifier and Type | Method and Description |
---|---|
protected Serializable |
AdornedTargetListPersistenceModule.createPopulatedAdornedTargetInstance(AdornedTargetList adornedTargetList,
Entity entity) |
Serializable |
RecordHelper.createPopulatedInstance(Serializable instance,
Entity entity,
Map<String,FieldMetadata> unfilteredProperties,
Boolean setId)
Delegates to the overloaded method with validateUnsubmittedProperties set to true.
|
Serializable |
BasicPersistenceModule.createPopulatedInstance(Serializable instance,
Entity entity,
Map<String,FieldMetadata> unfilteredProperties,
Boolean setId) |
Serializable |
RecordHelper.createPopulatedInstance(Serializable instance,
Entity entity,
Map<String,FieldMetadata> mergedProperties,
Boolean setId,
Boolean validateUnsubmittedProperties)
Populates a Hibernate entity instance based on the values from entity (the DTO representation of
instance) and the metadata from mergedProperties.
|
Serializable |
BasicPersistenceModule.createPopulatedInstance(Serializable instance,
Entity entity,
Map<String,FieldMetadata> unfilteredProperties,
Boolean setId,
Boolean validateUnsubmittedProperties) |
Object |
RecordHelper.getPrimaryKey(Entity entity,
Map<String,FieldMetadata> mergedProperties) |
Object |
BasicPersistenceModule.getPrimaryKey(Entity entity,
Map<String,FieldMetadata> mergedUnfilteredProperties) |
boolean |
RecordHelper.validate(Entity entity,
Serializable populatedInstance,
Map<String,FieldMetadata> mergedProperties)
Delegates to the overloaded method with validateUnsubmittedProperties set to true.
|
boolean |
BasicPersistenceModule.validate(Entity entity,
Serializable populatedInstance,
Map<String,FieldMetadata> mergedProperties) |
boolean |
RecordHelper.validate(Entity entity,
Serializable populatedInstance,
Map<String,FieldMetadata> mergedProperties,
boolean validateUnsubmittedProperties)
Validates the
Entity based on the validators associated with each property |
boolean |
BasicPersistenceModule.validate(Entity entity,
Serializable populatedInstance,
Map<String,FieldMetadata> mergedProperties,
boolean validateUnsubmittedProperties) |
Constructor and Description |
---|
AdornedTargetListPersistenceModule.AdornedTargetRetrieval(PersistencePackage persistencePackage,
Entity entity,
AdornedTargetList adornedTargetList) |
Modifier and Type | Method and Description |
---|---|
Entity |
AddFilterPropertiesRequest.getEntity() |
Constructor and Description |
---|
AddFilterPropertiesRequest(Entity entity) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
EntityValidatorServiceImpl.getTypeHierarchy(Entity entity) |
PropertyValidationResult |
RequiredPropertyValidator.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value) |
PropertyValidationResult |
GlobalPropertyValidator.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value)
Validates a property for an entity
|
PropertyValidationResult |
FieldLengthValidator.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value) |
void |
EntityValidatorServiceImpl.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> propertiesMetadata,
boolean validateUnsubmittedProperties) |
void |
EntityValidatorService.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> propertiesMetadata,
boolean validateUnsubmittedProperties)
Validate the given entity.
|
void |
BeanValidationEntityValidatorServiceImpl.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> mergedProperties,
boolean validateUnsubmittedProperties) |
PropertyValidationResult |
ValidationConfigurationBasedPropertyValidator.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
Map<String,String> validationConfiguration,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value) |
PropertyValidationResult |
UriPropertyValidator.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
Map<String,String> validationConfiguration,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value) |
PropertyValidationResult |
RegexPropertyValidator.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
Map<String,String> validationConfiguration,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value) |
PropertyValidationResult |
PropertyValidator.validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
Map<String,String> validationConfiguration,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value)
Validates a property for an entity
|
boolean |
ValidationConfigurationBasedPropertyValidator.validateInternal(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
Map<String,String> validationConfiguration,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value)
Delegate method for
ValidationConfiguration -based processors that don't need to return an error message |
boolean |
MatchesFieldValidator.validateInternal(Entity entity,
Serializable instance,
Map<String,FieldMetadata> entityFieldMetadata,
Map<String,String> validationConfiguration,
BasicFieldMetadata propertyMetadata,
String propertyName,
String value) |
Modifier and Type | Method and Description |
---|---|
protected ListGrid |
AdminAbstractController.getCollectionListGrid(ClassMetadata mainMetadata,
Entity entity,
Property collectionProperty,
org.springframework.util.MultiValueMap<String,String> requestParams,
String sectionKey)
Convenience method for obtaining a ListGrid DTO object for a collection.
|
Modifier and Type | Method and Description |
---|---|
protected String |
AdminBasicEntityController.buildAddCollectionItemModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
String id,
String collectionField,
String sectionKey,
Property collectionProperty,
FieldMetadata md,
PersistencePackageRequest ppr,
EntityForm entityForm,
Entity entity)
Builds out all of the model information needed for showing the add modal for collection items on both the initial GET
as well as after a POST with validation errors
|
protected String |
AdminBasicEntityController.showViewUpdateCollection(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String id,
String collectionField,
String collectionItemId,
String modalHeaderType,
EntityForm entityForm,
Entity entity)
Shows the view and populates the model for updating a collection item.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntityFormValidator.validate(EntityForm form,
Entity entity,
org.springframework.validation.Errors errors)
Validates the form DTO against the passed in entity
|
Modifier and Type | Method and Description |
---|---|
DataWrapper |
MVELToDataWrapperTranslator.createRuleData(Entity[] entities,
String mvelProperty,
String quantityProperty,
String idProperty,
RuleBuilderFieldService fieldService) |
Modifier and Type | Method and Description |
---|---|
EntityForm |
FormBuilderServiceImpl.createEntityForm(ClassMetadata cmd,
Entity entity) |
EntityForm |
FormBuilderService.createEntityForm(ClassMetadata cmd,
Entity entity)
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,
Map<String,DynamicResultSet> collectionRecords) |
EntityForm |
FormBuilderService.createEntityForm(ClassMetadata cmd,
Entity entity,
Map<String,DynamicResultSet> collectionRecords)
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.
|
void |
FormBuilderServiceImpl.populateAdornedEntityFormFields(EntityForm ef,
Entity entity,
AdornedTargetList adornedList) |
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.populateEntityForm(ClassMetadata cmd,
Entity entity,
EntityForm ef) |
void |
FormBuilderService.populateEntityForm(ClassMetadata cmd,
Entity entity,
EntityForm ef)
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,
Map<String,DynamicResultSet> collectionRecords,
EntityForm ef) |
void |
FormBuilderService.populateEntityForm(ClassMetadata cmd,
Entity entity,
Map<String,DynamicResultSet> collectionRecords,
EntityForm entityForm)
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.populateEntityFormFields(EntityForm ef,
Entity entity) |
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,
boolean populateType,
boolean populateId) |
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.populateEntityFormFieldValues(ClassMetadata cmd,
Entity entity,
EntityForm ef) |
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.populateMapEntityFormFields(EntityForm ef,
Entity entity) |
void |
FormBuilderService.populateMapEntityFormFields(EntityForm ef,
Entity entity)
Sets values for the necessary map fields on the EntityForm from the specified entity.
|
Copyright © 2014. All rights reserved.