Class FormModelServiceImpl
java.lang.Object
ch.tocco.nice2.rest.form.impl.services.FormModelServiceImpl
- All Implemented Interfaces:
FormModelService
-
Constructor Summary
ConstructorsConstructorDescriptionFormModelServiceImpl(L10N l10N, TextResources textResources, FormModel formModel) -
Method Summary
Modifier and TypeMethodDescriptiongetBoxLabel(Component box) getDataType(Component box) getDataType The method call .getLayoutType().getDefaultName() returns the Datatype.getDefiningModule(EntityModel entityModel, String stringPath) getFieldLabels(Component field) booleanisFieldHidden(Component field) booleanisMandatory(Field field) booleanisReadonly(Component field) parseScope(String scopeName)
-
Constructor Details
-
FormModelServiceImpl
-
-
Method Details
-
parseScope
- Specified by:
parseScopein interfaceFormModelService
-
getDefiningModule
- Specified by:
getDefiningModulein interfaceFormModelService
-
getFormLabel
- Specified by:
getFormLabelin interfaceFormModelService
-
getFieldLabels
- Specified by:
getFieldLabelsin interfaceFormModelService
-
getBoxLabel
- Specified by:
getBoxLabelin interfaceFormModelService
-
isFieldHidden
- Specified by:
isFieldHiddenin interfaceFormModelService
-
isReadonly
- Specified by:
isReadonlyin interfaceFormModelService
-
isMandatory
- Specified by:
isMandatoryin interfaceFormModelService
-
getDataType
getDataType The method call .getLayoutType().getDefaultName() returns the Datatype. If the box parameter is not an instance of Form, it returns the ClassName of the instance as Fallback.- Specified by:
getDataTypein interfaceFormModelService
-