psdi.app.jobplan

Class FldJobPlanTask

    • Constructor Detail

      • FldJobPlanTask

        public FldJobPlanTask(MboValue mbv)
                       throws MXException
        Constructor
        Parameters:
        mbv - the MboValue this field attach to.
        Throws:
        MXException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Using the combination of Task Number:Orgid:Siteid, find at least one Task in the related JobTaskSet that the component mbo can belong to
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXApplicationException - when no Task can be found: MXApplicationException("jobplan","notvalidjptask")
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.jobplan.JobTask#iisValidTaskComponentKey(MboRemote mbo)
      • action

        public void action(java.lang.String strField)
                    throws MXException,
                           java.rmi.RemoteException
        Copy the Tasks duration to the specified field when the JPTask changes.
        Parameters:
        strField - The name of the field that the tasks duration should be copied to
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Returns the list to use when looking up a value for the jobTask. This list contains values from the owning JobPlan's JobTask set, except any records that are deleted or marked for deletion.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Returns:
        the wpTask MboSet.
        Throws:
        MXException
        java.rmi.RemoteException