psdi.app.contract.warranty

Class WarrantyViewStatusHandler

  • All Implemented Interfaces:
    MboConstants


    public class WarrantyViewStatusHandler
    extends CommonContractStatusHandler
    Handles all the status changes for a warranty contract view object.This is a helper class for status changes.
    • Constructor Detail

      • WarrantyViewStatusHandler

        public WarrantyViewStatusHandler(StatefulMbo sm)
        Constructor
    • Method Detail

      • cancel

        public void cancel(java.lang.String desiredStatus,
                           java.util.Date cancelDate)
                    throws MXException,
                           java.rmi.RemoteException
        Warn the user if there are payments generated for this contract. The user will have the option of continuing or stopping the process.
        Overrides:
        cancel in class CommonContractStatusHandler
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        setLineStatus
      • close

        public void close(java.lang.String desiredStatus,
                          java.util.Date closeDate)
                   throws MXException,
                          java.rmi.RemoteException
        Warn the user if there are payments generated for this contract. The user will have the option of continuing or stopping the process.
        Overrides:
        close in class CommonContractStatusHandler
        Throws:
        MXException
        java.rmi.RemoteException