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 ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper
formComponentDefaultValueResolver
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper
textResources
-
Constructor Summary
ConstructorDescriptionDocumentFieldMapper
(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<DocumentFieldBean> Should be overridden in subclasses.map
(DocumentField component, Component.Configuration configuration) void
setAllowedFileTypeContributions
(List<AllowedFileTypeContribution> contributions) Methods inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper
getComponentType
-
Constructor Details
-
DocumentFieldMapper
public DocumentFieldMapper(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService)
-
-
Method Details
-
map
- Specified by:
map
in interfaceComponentMapper<DocumentField,
DocumentFieldBean> - Overrides:
map
in classFieldMapper<DocumentField,
DocumentFieldBean>
-
getBeanClass
Description copied from class:BaseComponentMapper
Should be overridden in subclasses.- Overrides:
getBeanClass
in classFieldMapper<DocumentField,
DocumentFieldBean> - Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<DocumentField,
DocumentFieldBean> - Overrides:
getComponentClass
in classFieldMapper<DocumentField,
DocumentFieldBean>
-
setAllowedFileTypeContributions
@Autowired public void setAllowedFileTypeContributions(List<AllowedFileTypeContribution> contributions)
-