psdi.webclient.beans.workman

Class SelectWorkdateBean

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, DataBeanListener


    public class SelectWorkdateBean
    extends AMBaseBean
    • Constructor Detail

      • SelectWorkdateBean

        public SelectWorkdateBean()
    • Method Detail

      • initialize

        public void initialize()
                        throws MXException,
                               java.rmi.RemoteException
        This copies the workdate from the presentation CalendarViewSet to the dialog CalendarViewSet so that the CalendarView mbo will have the right date in the "day1" field; turns off the setting of the other DayN dates; calls the standard initialize method; and opens the date lookup.
        Overrides:
        initialize in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException
      • setDate

        public void setDate(java.lang.String controlId,
                            java.lang.String attribute,
                            java.util.Date value)
                     throws MXException
        Overrides setDate from DataBean so that the date selection event can trigger the Select Workdate actions: saving the new workdate, recalculating the availability grid, etc.
        Overrides:
        setDate in class DataBean
        Throws:
        MXException
      • execute

        public int execute()
                    throws MXException,
                           java.rmi.RemoteException
        Overrides execute so that the Select Workdate actions will take place if the user chose to use the OK button.
        Overrides:
        execute in class AMBaseBean
        Throws:
        MXException
        java.rmi.RemoteException