Class DefaultNotificationFormManager
java.lang.Object
overit.geocallapp.wfm.notifications.constraint.base.DefaultNotificationFormManager
- All Implemented Interfaces:
NotificationFormManager
Null implementation of the
NotificationFormManager.
Use this for the projects in which there are no
logic to apply for the Notification editing-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisElementEditable(Notification notification, String elementName) booleanisElementMandatory(Notification notification, String elementName) booleanisElementVisible(Notification notification, String elementName) voidprepareForm(NotificationForm form, Notification notification) For each field in the given form, decide if the field is visible, editable and mandatory
-
Constructor Details
-
DefaultNotificationFormManager
public DefaultNotificationFormManager()
-
-
Method Details
-
prepareForm
Description copied from interface:NotificationFormManagerFor each field in the given form, decide if the field is visible, editable and mandatory- Specified by:
prepareFormin interfaceNotificationFormManager- Parameters:
form- theNotificationFormto prepare for the update of the Notificationnotification- theNotificationto update
-
isElementVisible
- Specified by:
isElementVisiblein interfaceNotificationFormManager- Parameters:
notification- theNotificationto considerelementName- the name ofNotificationElementsto check- Returns:
- true if the given element is visible; false otherwise
-
isElementEditable
- Specified by:
isElementEditablein interfaceNotificationFormManager- Parameters:
notification- theNotificationto considerelementName- the name ofNotificationElementsto check- Returns:
- true if the given element is editable; false otherwise
-
isElementMandatory
- Specified by:
isElementMandatoryin interfaceNotificationFormManager- Parameters:
notification- theNotificationto considerelementName- the name ofNotificationElementsto check- Returns:
- true if the given element is mandatory; false otherwise
-