|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldMetadataProvider
Classes implementing this interface are capable of manipulating metadata for a field resulting from the inspection
phase for the admin. Providers are typically added in response to new admin presentation annotation support.
Implementers should generally extend FieldMetadataProviderAdapter.
| Field Summary | |
|---|---|
static int |
ADORNED_TARGET
|
static int |
BASIC
|
static int |
COLLECTION
|
static int |
MAP
|
static int |
MAP_FIELD
|
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Method Summary | |
|---|---|
FieldProviderResponse |
addMetadata(AddMetadataRequest addMetadataRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the Field instance in the request. |
FieldProviderResponse |
addMetadataFromFieldType(AddMetadataFromFieldTypeRequest addMetadataFromFieldTypeRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the Field instance in the request. |
FieldProviderResponse |
addMetadataFromMappingData(AddMetadataFromMappingDataRequest addMetadataFromMappingDataRequest,
FieldMetadata metadata)
Contribute to metadata inspection using Hibernate column information. |
FieldProviderResponse |
lateStageAddMetadata(LateStageAddMetadataRequest addMetadataRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the Field instance in the request. |
FieldProviderResponse |
overrideViaAnnotation(OverrideViaAnnotationRequest overrideViaAnnotationRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the entity in the request. |
FieldProviderResponse |
overrideViaXml(OverrideViaXmlRequest overrideViaXmlRequest,
Map<String,FieldMetadata> metadata)
Contribute to metadata inspection for the ceiling entity and config key. |
| Methods inherited from interface org.springframework.core.Ordered |
|---|
getOrder |
| Field Detail |
|---|
static final int BASIC
static final int COLLECTION
static final int ADORNED_TARGET
static final int MAP
static final int MAP_FIELD
| Method Detail |
|---|
FieldProviderResponse addMetadata(AddMetadataRequest addMetadataRequest,
Map<String,FieldMetadata> metadata)
Field instance in the request. Implementations should
add values to the metadata parameter.
addMetadataRequest - contains the requested field and support classes.metadata - implementations should add metadata for the requested field here
FieldProviderResponse lateStageAddMetadata(LateStageAddMetadataRequest addMetadataRequest,
Map<String,FieldMetadata> metadata)
Field instance in the request. Implementations should
add values to the metadata parameter.
This method differs from addMetadata(AddMetadataRequest, Map) in that it will be invoked after the cacheable
properties are assembled. It is therefore useful in scenarios where you may want to contribute properties to
metadata that are dynamic and should not be cached normally.
lateStageAddMetadataRequest - contains the requested field name and support classes.metadata - implementations should add metadata for the requested field here
FieldProviderResponse overrideViaAnnotation(OverrideViaAnnotationRequest overrideViaAnnotationRequest,
Map<String,FieldMetadata> metadata)
overrideViaAnnotationRequest - contains the requested entity and support classes.metadata - implementations should override metadata here
FieldProviderResponse overrideViaXml(OverrideViaXmlRequest overrideViaXmlRequest,
Map<String,FieldMetadata> metadata)
overrideViaXmlRequest - contains the requested config key, ceiling entity and support classes.metadata - implementations should override metadata here
FieldProviderResponse addMetadataFromMappingData(AddMetadataFromMappingDataRequest addMetadataFromMappingDataRequest,
FieldMetadata metadata)
addMetadataFromMappingDataRequest - contains the requested Hibernate type and support classes.metadata - implementations should impact values for the metadata for the field here
FieldProviderResponse addMetadataFromFieldType(AddMetadataFromFieldTypeRequest addMetadataFromFieldTypeRequest,
Map<String,FieldMetadata> metadata)
Field instance in the request. Implementations should
add values to the metadata parameter. This is metadata based on the field type.
addMetadataFromFieldTypeRequest - contains the requested field, property name and support classes.metadata - implementations should add values for the field here
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||