|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of ClassMetadata in org.broadleafcommerce.openadmin.dto |
|---|
| Methods in org.broadleafcommerce.openadmin.dto that return ClassMetadata | |
|---|---|
ClassMetadata |
DynamicResultSet.getClassMetaData()
|
| Methods in org.broadleafcommerce.openadmin.dto with parameters of type ClassMetadata | |
|---|---|
void |
DynamicResultSet.setClassMetaData(ClassMetadata classMetaData)
|
| Constructors in org.broadleafcommerce.openadmin.dto with parameters of type ClassMetadata | |
|---|---|
DynamicResultSet(ClassMetadata classMetaData)
|
|
DynamicResultSet(ClassMetadata classMetaData,
Entity[] records,
Integer totalRecords)
|
|
| Uses of ClassMetadata in org.broadleafcommerce.openadmin.server.service |
|---|
| Methods in org.broadleafcommerce.openadmin.server.service that return ClassMetadata | |
|---|---|
ClassMetadata |
AdminEntityServiceImpl.getClassMetadata(PersistencePackageRequest request)
|
ClassMetadata |
AdminEntityService.getClassMetadata(PersistencePackageRequest request)
Returns class metadata for the given request object |
| Methods in org.broadleafcommerce.openadmin.server.service with parameters of type ClassMetadata | |
|---|---|
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 |
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. |
String |
AdminEntityServiceImpl.getIdProperty(ClassMetadata cmd)
|
String |
AdminEntityService.getIdProperty(ClassMetadata cmd)
Returns the name of the property in this ClassMetadata that has field type set to SupportedFieldType.ID |
Entity |
AdminEntityServiceImpl.getRecord(PersistencePackageRequest request,
String id,
ClassMetadata cmd)
|
Entity |
AdminEntityService.getRecord(PersistencePackageRequest request,
String id,
ClassMetadata cmd)
Returns a specific record for the given request and primary key id/property |
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 |
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. |
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 |
| Uses of ClassMetadata in org.broadleafcommerce.openadmin.server.service.persistence |
|---|
| Methods in org.broadleafcommerce.openadmin.server.service.persistence that return ClassMetadata | |
|---|---|
ClassMetadata |
PersistenceManagerImpl.getMergedClassMetadata(Class<?>[] entities,
Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties)
|
ClassMetadata |
PersistenceManager.getMergedClassMetadata(Class<?>[] entities,
Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties)
|
| Uses of ClassMetadata in org.broadleafcommerce.openadmin.server.service.persistence.module |
|---|
| Methods in org.broadleafcommerce.openadmin.server.service.persistence.module that return ClassMetadata | |
|---|---|
ClassMetadata |
InspectHelper.getMergedClassMetadata(Class<?>[] entities,
Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties)
|
| Uses of ClassMetadata in org.broadleafcommerce.openadmin.web.controller.entity |
|---|
| Methods in org.broadleafcommerce.openadmin.web.controller.entity with parameters of type ClassMetadata | |
|---|---|
protected ListGrid |
AdminBasicEntityController.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. |
| Uses of ClassMetadata in org.broadleafcommerce.openadmin.web.service |
|---|
| Methods in org.broadleafcommerce.openadmin.web.service with parameters of type ClassMetadata | |
|---|---|
ListGrid |
FormBuilderServiceImpl.buildMainListGrid(DynamicResultSet drs,
ClassMetadata cmd,
String sectionKey)
|
ListGrid |
FormBuilderService.buildMainListGrid(DynamicResultSet drs,
ClassMetadata cmd,
String sectionKey)
Builds a list grid that is typically used at the top entity level to select an entity for modification. |
EntityForm |
FormBuilderServiceImpl.buildMapForm(MapMetadata mapMd,
MapStructure mapStructure,
ClassMetadata cmd,
String parentId)
|
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.createEntityForm(ClassMetadata cmd)
|
EntityForm |
FormBuilderService.createEntityForm(ClassMetadata cmd)
Creates a new EntityForm with the a default 'Save' action. |
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. |
protected void |
FormBuilderServiceImpl.populateDropdownToOneFields(EntityForm ef,
ClassMetadata cmd)
|
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,
EntityForm ef)
|
void |
FormBuilderService.populateEntityForm(ClassMetadata cmd,
EntityForm ef)
Populates the given ef with all of the fields based on the properties from cmd. |
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.removeNonApplicableFields(ClassMetadata cmd,
EntityForm entityForm,
String entityType)
|
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||