com.ibm.tivoli.maximo.amcrew.app.labor

Class WMAssignTmp

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.tivoli.maximo.amcrew.app.labor.WMAssignTmp
    • Constructor Detail

      • WMAssignTmp

        public WMAssignTmp(MboSet ms)
                    throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • validateDateTime

        public java.util.Date validateDateTime(java.util.Date date,
                                               java.util.Date time)
                                        throws MXException,
                                               java.rmi.RemoteException
        This method will take two dates as a parameters and remove the date section from one and combine it with the time section from the other. The return value will be a new date/time object.
        Specified by:
        validateDateTime in interface WMAssignTmpRemote
        Parameters:
        time -
        date -
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        WMAssignTmp#validateDateTime(date,date)
      • validateFutureTolerance

        public void validateFutureTolerance()
                                     throws MXException,
                                            java.rmi.RemoteException
        Validation for future tolerance. The labor transaction can be reported based on the specified duration in the future in in the multisite labor options. If it is zero tolerance, then labor transaction cannot be reported later than the current date and time.
        Throws:
        MXException
        java.rmi.RemoteException