psdi.common.dateselector.virtual

Class DateSelector

    • Constructor Detail

      • DateSelector

        public DateSelector(MboSet ms)
                     throws MXException,
                            java.rmi.RemoteException
        Constructor
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        initialization rountine. This sets values for fields when date selector dialog is shown
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Default add method
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • createPattern

        public java.lang.String createPattern()
                                       throws MXException,
                                              java.rmi.RemoteException
        Creates the pattern with the current field value. This method is used by crontask manager since we stored pattern in server locale.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • createPattern

        public java.lang.String createPattern(java.util.Locale l,
                                              java.util.TimeZone tz)
                                       throws MXException,
                                              java.rmi.RemoteException
        Creates the pattern with the current field value. This method is used by Scheduler where no storing to database is done
        Returns:
        patten string
        Throws:
        MXException
        java.rmi.RemoteException
      • validateField

        public void validateField()
                           throws MXException,
                                  java.rmi.RemoteException
        Validate required fields.
        Throws:
        MXException
        java.rmi.RemoteException