com.ibm.tivoli.maximo.amcrew.app

Class FldAMCrewToolEffectiveDate

    • Constructor Detail

      • FldAMCrewToolEffectiveDate

        public FldAMCrewToolEffectiveDate(MboValue mbv)
        Parameters:
        mbv -
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        validates the values being input to the effective date field Business Rule : 1. Effective date should be greater than the current date
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Updates the EndDate based on the latest effective date of the previous tool asset. Business Rule: 1. The End Date of previous tool/asset will be calculated that is one day prior to the entered Effective Date of the newly added tool/asset.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException