psdi.app.workorder

Class FldWOIsTask

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldWOIsTask
    extends MboValueAdapter
    Attribute Listener class for the IsTaskID attribute in the WO Mbo. This class ensures the taskid been nulled when it's value been set to false.
    • Constructor Detail

      • FldWOIsTask

        public FldWOIsTask(MboValue mbv)
                    throws MXException
        Constructor using default values.
        Parameters:
        mbv - the current mbo value.
        Throws:
        MXException
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Updates the taskid when the value value of isTask becomes false. Also adjusts the editability of the IncTasksInSched flag.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException