Class DocumentFieldMapper
java.lang.Object
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper<DocumentField, DocumentFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper<DocumentField, DocumentFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.DocumentFieldMapper
- All Implemented Interfaces:
ComponentMapper<DocumentField, DocumentFieldBean>
-
Field Summary
Fields inherited from class FieldMapper
formComponentDefaultValueResolverFields inherited from class BaseComponentMapper
textResources -
Constructor Summary
ConstructorsConstructorDescriptionDocumentFieldMapper(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<DocumentFieldBean> Should be overridden in subclasses.map(DocumentField component, Component.Configuration configuration) voidsetAllowedFileTypeContributions(List<AllowedFileTypeContribution> contributions) Methods inherited from class FieldMapper
getComponentType
-
Constructor Details
-
DocumentFieldMapper
public DocumentFieldMapper(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService)
-
-
Method Details
-
map
- Specified by:
mapin interfaceComponentMapper<DocumentField, DocumentFieldBean>- Overrides:
mapin classFieldMapper<DocumentField, DocumentFieldBean>
-
getBeanClass
Description copied from class:BaseComponentMapperShould be overridden in subclasses.- Overrides:
getBeanClassin classFieldMapper<DocumentField, DocumentFieldBean>- Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClassin interfaceComponentMapper<DocumentField, DocumentFieldBean>- Overrides:
getComponentClassin classFieldMapper<DocumentField, DocumentFieldBean>
-
setAllowedFileTypeContributions
@Autowired public void setAllowedFileTypeContributions(List<AllowedFileTypeContribution> contributions)
-