psdi.app.ticket

Class FldTKProblemCode

    • Constructor Detail

      • FldTKProblemCode

        public FldTKProblemCode(MboValue mbv)
        Construct passing the field to which you are listening.
        Parameters:
        mbv - the MboValue problem code field in the ticket object attach to.
    • Method Detail

      • init

        public void init()
                  throws MXException,
                         java.rmi.RemoteException
        If a failure class has not been specified, the field is read only. This field's read/only flag is toggled by the failure code field.
        Specified by:
        init in interface MboValueListener
        Overrides:
        init in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Update the failure report with the problem code, which is the first level of the failure report. Will also set the WO's FailDate if it is null.
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • hasList

        public boolean hasList()
        There is a list only if the Ticket has a failure class or in a querying situation.
        Specified by:
        hasList in interface MboValueListener
        Overrides:
        hasList in class MAXTableDomain
        Returns:
        true if there is a problem code list, otherwise false.
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Returns the list to use when looking up a value for the ProblemCode. If in a querying situation, all 2nd level failurelist records are returned.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Returns:
        the problem code MboSet.
        Throws:
        MXException
        java.rmi.RemoteException