psdi.app.contract.master

Class MasterViewStatusHandler

  • All Implemented Interfaces:
    MboConstants


    public class MasterViewStatusHandler
    extends CommonContractStatusHandler
    Handles all the status changes for a master contract view object.This is a helper class and extends from the CommonContractStatusHandler.
    • Constructor Detail

      • MasterViewStatusHandler

        public MasterViewStatusHandler(StatefulMbo sm)
        Constructor
    • Method Detail

      • close

        public void close(java.lang.String desiredStatus,
                          java.util.Date closeDate)
                   throws MXException,
                          java.rmi.RemoteException
        Sets the status of the contract to closed. The historyflag is also turned on.
        Overrides:
        close in class CommonContractStatusHandler
        Parameters:
        approveDate -
        Throws:
        MXException
        java.rmi.RemoteException
      • checkForChildContracts

        public void checkForChildContracts()
                                    throws MXException,
                                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • cancel

        public void cancel(java.lang.String desiredStatus,
                           java.util.Date date)
                    throws MXException,
                           java.rmi.RemoteException
        Sets the status of the contract to cancel.
        Overrides:
        cancel in class CommonContractStatusHandler
        Parameters:
        approveDate -
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        setLineStatus