Class BeanControllerBase<BEANCLASS>
java.lang.Object
org.eclnt.ccaddons.pojo.controller.DefaultController<BEANCLASS>
org.eclnt.ccaddons.pojo.controller.BeanControllerBase<BEANCLASS>
- All Implemented Interfaces:
IBeanController<BEANCLASS>
- Direct Known Subclasses:
BeanControllerDOFW
Logic that is expected by processing of
BeanEditorBase
. For
each bean instance one controller instance is created.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeyProperty
(String propertyName) void
addMandatoryProperty
(String propertyName) void
addValidValuesProperty
(String propertyName) protected IBeanTextResolver
getDescription
(BEANCLASS bean, String propertyName) getFormatmask
(BEANCLASS object, String propertyName) getLabelText
(BEANCLASS bean, String propertyName) getTimeZone
(BEANCLASS object, String propertyName) boolean
boolean
isMandatory
(BEANCLASS bean, String propertyName) org.eclnt.ccee.logic.validation.ValidationResult
protected void
validateMandatories
(BEANCLASS object, org.eclnt.ccee.logic.validation.ValidationResult result) protected void
validateValidValues
(BEANCLASS object, org.eclnt.ccee.logic.validation.ValidationResult result) Methods inherited from class org.eclnt.ccaddons.pojo.controller.DefaultController
getEncryption, getFlush, getFlushtimer, getValidValues, isEnabled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclnt.ccaddons.pojo.controller.IBeanController
insert, remove, update
-
Constructor Details
-
BeanControllerBase
-
-
Method Details
-
addKeyProperty
-
addMandatoryProperty
-
addValidValuesProperty
-
isMandatory
- Specified by:
isMandatory
in interfaceIBeanController<BEANCLASS>
- Overrides:
isMandatory
in classDefaultController<BEANCLASS>
-
isKey
- Specified by:
isKey
in interfaceIBeanController<BEANCLASS>
- Overrides:
isKey
in classDefaultController<BEANCLASS>
-
getAlign
- Specified by:
getAlign
in interfaceIBeanController<BEANCLASS>
- Overrides:
getAlign
in classDefaultController<BEANCLASS>
-
getFormat
- Specified by:
getFormat
in interfaceIBeanController<BEANCLASS>
- Overrides:
getFormat
in classDefaultController<BEANCLASS>
-
getFormatmask
- Specified by:
getFormatmask
in interfaceIBeanController<BEANCLASS>
- Overrides:
getFormatmask
in classDefaultController<BEANCLASS>
-
getTimeZone
- Specified by:
getTimeZone
in interfaceIBeanController<BEANCLASS>
- Overrides:
getTimeZone
in classDefaultController<BEANCLASS>
-
validate
- Specified by:
validate
in interfaceIBeanController<BEANCLASS>
- Overrides:
validate
in classDefaultController<BEANCLASS>
-
getLabelText
- Specified by:
getLabelText
in interfaceIBeanController<BEANCLASS>
- Overrides:
getLabelText
in classDefaultController<BEANCLASS>
-
getDescription
- Specified by:
getDescription
in interfaceIBeanController<BEANCLASS>
- Overrides:
getDescription
in classDefaultController<BEANCLASS>
-
getBeanClass
-
findTextResolver
-
validateValidValues
protected void validateValidValues(BEANCLASS object, org.eclnt.ccee.logic.validation.ValidationResult result) -
validateMandatories
protected void validateMandatories(BEANCLASS object, org.eclnt.ccee.logic.validation.ValidationResult result)
-