Class FileUploadCompiler
- java.lang.Object
-
- net.n2oapp.framework.config.metadata.compile.ComponentCompiler<D,S>
-
- net.n2oapp.framework.config.metadata.compile.control.FieldCompiler<StandardField<D>,S>
-
- net.n2oapp.framework.config.metadata.compile.control.StandardFieldCompiler<FileUpload,N2oFileUpload>
-
- net.n2oapp.framework.config.metadata.compile.control.FileUploadCompiler
-
- All Implemented Interfaces:
SourceClassAware,SourceCompiler<StandardField<FileUpload>,N2oFileUpload,CompileContext<?,?>>,BaseSourceCompiler<StandardField<FileUpload>,N2oFileUpload,CompileContext<?,?>>
@Component public class FileUploadCompiler extends StandardFieldCompiler<FileUpload,N2oFileUpload>
Сборка компонента загрузки файлов
-
-
Constructor Summary
Constructors Constructor Description FileUploadCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardField<FileUpload>compile(N2oFileUpload source, CompileContext<?,?> context, CompileProcessor p)protected ObjectcompileDefValues(N2oFileUpload source, CompileProcessor p)Сборка значения по умолчанию у поляprotected StringgetControlSrcProperty()Настройка React компонента ввода по умолчаниюClass<? extends Source>getSourceClass()-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.StandardFieldCompiler
compileControl, compileStandardField, findSubModelQuery, initLabel
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.control.FieldCompiler
compileDependencies, compileField, getSrcProperty
-
Methods inherited from class net.n2oapp.framework.config.metadata.compile.ComponentCompiler
compileComponent
-
-
-
-
Method Detail
-
compile
public StandardField<FileUpload> compile(N2oFileUpload source, CompileContext<?,?> context, CompileProcessor p)
-
getControlSrcProperty
protected String getControlSrcProperty()
Description copied from class:StandardFieldCompilerНастройка React компонента ввода по умолчанию- Specified by:
getControlSrcPropertyin classStandardFieldCompiler<FileUpload,N2oFileUpload>
-
compileDefValues
protected Object compileDefValues(N2oFileUpload source, CompileProcessor p)
Description copied from class:StandardFieldCompilerСборка значения по умолчанию у поля- Overrides:
compileDefValuesin classStandardFieldCompiler<FileUpload,N2oFileUpload>- Parameters:
source- Исходная модель поляp- Процессор сборки- Returns:
- Значение по умолчанию поля
-
-