Modifier and Type | Method and Description |
---|---|
ClassMetadata |
DynamicResultSet.getClassMetaData() |
ClassMetadata |
ParentRecordStructure.getParentMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
DynamicResultSet.setClassMetaData(ClassMetadata classMetaData) |
void |
ParentRecordStructure.setParentMetadata(ClassMetadata parentMetadata) |
Constructor and Description |
---|
DynamicResultSet(ClassMetadata classMetaData) |
DynamicResultSet(ClassMetadata classMetaData,
Entity[] records,
Integer totalRecords) |
ParentRecordStructure(Entity parentRecord,
ClassMetadata parentMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
Metadata.buildAdditionalTabAndGroupMetadataFromCmdProperties(ClassMetadata cmd,
Map<String,TabMetadata> metadata) |
Map<String,TabMetadata> |
DynamicEntityDaoImpl.getTabAndGroupMetadata(Class<?>[] entities,
ClassMetadata cmd) |
Map<String,TabMetadata> |
DynamicEntityDao.getTabAndGroupMetadata(Class<?>[] clazz,
ClassMetadata cmd) |
Modifier and Type | Method and Description |
---|---|
MetadataProviderResponse |
BasicEntityMetadataProvider.addTabAndGroupMetadataFromCmdProperties(ClassMetadata cmd,
Map<String,TabMetadata> metadata) |
MetadataProviderResponse |
EntityMetadataProvider.addTabAndGroupMetadataFromCmdProperties(ClassMetadata cmd,
Map<String,TabMetadata> metadata) |
MetadataProviderResponse |
EntityMetadataProviderAdapter.addTabAndGroupMetadataFromCmdProperties(ClassMetadata cmd,
Map<String,TabMetadata> metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractRowLevelSecurityProvider.canAdd(AdminUser currentUser,
String sectionClassName,
ClassMetadata cmd) |
boolean |
RowLevelSecurityServiceImpl.canAdd(AdminUser currentUser,
String sectionClassName,
ClassMetadata cmd) |
boolean |
RowLevelSecurityProvider.canAdd(AdminUser currentUser,
String sectionClassname,
ClassMetadata cmd)
Hook to determine if the given entity can be added by a user.
|
Modifier and Type | Method and Description |
---|---|
PersistenceResponse |
AdminEntityServiceImpl.addSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
List<SectionCrumb> sectionCrumbs) |
PersistenceResponse |
AdminEntityService.addSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
List<SectionCrumb> sectionCrumb)
Adds an item into the specified collection
|
PersistenceResponse |
AdminEntityServiceImpl.getAdvancedCollectionRecord(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
String collectionItemId,
List<SectionCrumb> sectionCrumbs,
String alternateId) |
PersistenceResponse |
AdminEntityService.getAdvancedCollectionRecord(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
String collectionItemId,
List<SectionCrumb> sectionCrumbs,
String alternateId)
Gets an Entity representing a specific collection item
|
PersistenceResponse |
AdminEntityServiceImpl.getAdvancedCollectionRecord(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
String collectionItemId,
List<SectionCrumb> sectionCrumbs,
String alternateId,
String[] customCriteria) |
PersistenceResponse |
AdminEntityService.getAdvancedCollectionRecord(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
String collectionItemId,
List<SectionCrumb> sectionCrumbs,
String alternateId,
String[] customCriteria)
Gets an Entity representing a specific collection item
|
Map<String,DynamicResultSet> |
AdminEntityServiceImpl.getAllRecordsForAllSubCollections(ClassMetadata cmd,
Entity containingEntity,
List<SectionCrumb> sectionCrumb) |
Map<String,DynamicResultSet> |
AdminEntityService.getAllRecordsForAllSubCollections(ClassMetadata cmd,
Entity containingEntity,
List<SectionCrumb> sectionCrumb)
overloading containing paging parameters
|
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 |
PersistenceResponse |
AdminEntityServiceImpl.getPagedRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
FetchPageRequest fetchPageRequest,
String idValueOverride,
List<SectionCrumb> sectionCrumbs) |
PersistenceResponse |
AdminEntityService.getPagedRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
FetchPageRequest fetchPageRequest,
String idValueOverride,
List<SectionCrumb> sectionCrumbs)
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() . |
PersistenceResponse |
AdminEntityServiceImpl.getRecord(PersistencePackageRequest request,
String id,
ClassMetadata cmd,
boolean isCollectionRequest) |
PersistenceResponse |
AdminEntityService.getRecord(PersistencePackageRequest request,
String id,
ClassMetadata cmd,
boolean isCollectionRequest)
Returns a specific record for the given request and primary key id/property
|
PersistenceResponse |
AdminEntityServiceImpl.getRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
Integer startIndex,
Integer maxIndex,
List<SectionCrumb> sectionCrumb) |
PersistenceResponse |
AdminEntityService.getRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
Integer startIndex,
Integer maxIndex,
List<SectionCrumb> sectionCrumb)
Returns the DynamicResultSet representing the records that belong to the specified collectionProperty for the
given containingClass and the primary key for the containingClass
|
PersistenceResponse |
AdminEntityServiceImpl.getRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
Integer startIndex,
Integer maxIndex,
String idValueOverride,
List<SectionCrumb> sectionCrumbs) |
PersistenceResponse |
AdminEntityService.getRecordsForCollection(ClassMetadata containingClassMetadata,
Entity containingEntity,
Property collectionProperty,
FilterAndSortCriteria[] fascs,
Integer startIndex,
Integer maxIndex,
String idValueOverride,
List<SectionCrumb> sectionCrumb)
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() |
Map<String,DynamicResultSet> |
AdminEntityServiceImpl.getRecordsForSelectedTab(ClassMetadata cmd,
Entity containingEntity,
List<SectionCrumb> sectionCrumb,
String currentTabName) |
Map<String,DynamicResultSet> |
AdminEntityService.getRecordsForSelectedTab(ClassMetadata cmd,
Entity containingEntity,
List<SectionCrumb> sectionCrumb,
String currentTabName)
Returns all records for selected tab of the specified request and its primary key
|
void |
AdminEntityServiceImpl.populateParentRecordStructure(PersistencePackage persistencePackage,
Entity entity,
ClassMetadata parentMetadata) |
void |
AdminEntityService.populateParentRecordStructure(PersistencePackage persistencePackage,
Entity entity,
ClassMetadata parentMetadata)
Store parent record value, parent metadata to the
PersistencePackage |
PersistenceResponse |
AdminEntityServiceImpl.removeSubCollectionEntity(ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String itemId,
String priorKey,
List<SectionCrumb> sectionCrumbs) |
PersistenceResponse |
AdminEntityService.removeSubCollectionEntity(ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String itemId,
String priorKey,
List<SectionCrumb> sectionCrumb)
Removes the given item from the specified collection.
|
PersistenceResponse |
AdminEntityServiceImpl.removeSubCollectionEntity(ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String itemId,
String alternateId,
String priorKey,
List<SectionCrumb> sectionCrumbs) |
PersistenceResponse |
AdminEntityService.removeSubCollectionEntity(ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String itemId,
String alternateId,
String priorKey,
List<SectionCrumb> sectionCrumb)
Removes the given item from the specified collection.
|
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,
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) |
PersistenceResponse |
AdminEntityService.updateSubCollectionEntity(EntityForm entityForm,
ClassMetadata mainMetadata,
Property field,
Entity parentEntity,
String collectionItemId,
String alternateId,
List<SectionCrumb> sectionCrumb)
Updates the specified collection item
|
protected void |
AdminEntityServiceImpl.updateTabInfo(CollectionMetadata fmd,
ClassMetadata cmd,
String tabName,
int tabOrder) |
Modifier and Type | Method and Description |
---|---|
ClassMetadata |
PersistenceManagerImpl.buildClassMetadata(Class<?>[] entities,
PersistencePackage persistencePackage,
Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties) |
ClassMetadata |
PersistenceManager.buildClassMetadata(Class<?>[] entities,
PersistencePackage persistencePackage,
Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties) |
Modifier and Type | Method and Description |
---|---|
ClassMetadata |
InspectHelper.buildClassMetadata(Class<?>[] entities,
PersistencePackage persistencePackage,
Map<MergedPropertyType,Map<String,FieldMetadata>> mergedProperties) |
Modifier and Type | Method and Description |
---|---|
void |
EntityForm.addField(ClassMetadata cmd,
Field field) |
void |
EntityForm.addField(ClassMetadata cmd,
Field field,
String groupName,
Integer groupOrder,
String tabName,
Integer tabOrder) |
void |
EntityForm.addHiddenField(ClassMetadata cmd,
Field field) |
void |
EntityForm.addListGrid(ClassMetadata cmd,
ListGrid listGrid,
String tabName,
Integer tabOrder,
String groupName,
boolean isTabPresent) |
void |
EntityForm.addMapKeyField(ClassMetadata cmd,
Field field) |
Modifier and Type | Method and Description |
---|---|
protected void |
FormBuilderServiceImpl.addDeleteActionIfAllowed(EntityForm entityForm,
ClassMetadata cmd,
Entity entity)
Adds the
DefaultEntityFormActions.DELETE if the user is allowed to delete the entity. |
protected void |
FormBuilderServiceImpl.addDuplicateActionIfAllowed(EntityForm entityForm,
ClassMetadata cmd) |
ListGrid |
FormBuilderService.buildMainListGrid(DynamicResultSet drs,
ClassMetadata cmd,
String sectionKey,
List<SectionCrumb> sectionCrumbs)
Builds a list grid that is typically used at the top entity level to select an entity for modification.
|
ListGrid |
FormBuilderServiceImpl.buildMainListGrid(DynamicResultSet drs,
ClassMetadata cmd,
String sectionKey,
List<SectionCrumb> sectionCrumbs) |
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
|
Map<String,Object> |
FormBuilderService.constructSelectizeOptionMap(DynamicResultSet drs,
ClassMetadata cmd)
constructs the selectize option map based on the dynamic result set and class metadata
|
Map<String,Object> |
FormBuilderServiceImpl.constructSelectizeOptionMap(DynamicResultSet drs,
ClassMetadata cmd) |
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 String |
FormBuilderServiceImpl.getSecurityClassname(EntityForm entityForm,
ClassMetadata cmd)
Obtains the class name suitable for passing along to the
SecurityVerifier |
protected boolean |
FormBuilderServiceImpl.isDeletionAllowed(EntityForm entityForm,
ClassMetadata cmd,
Entity entity) |
protected boolean |
FormBuilderServiceImpl.isDuplicationAllowed(EntityForm entityForm,
ClassMetadata cmd) |
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.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.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.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) |
Copyright © 2022. All rights reserved.