psdi.app.jobplan

Class JobLaborSet

    • Constructor Detail

      • JobLaborSet

        public JobLaborSet(MboServerInterface ms)
                    throws MXException,
                           java.rmi.RemoteException
        Construct the set
        Parameters:
        ms - The Mbo Server interface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generate a new Job Labor object
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - MboSet
        Returns:
        the new Job Labor object
        Throws:
        MXException
        java.rmi.RemoteException
      • initDataDictionary

        public void initDataDictionary()
        Initialize the data dictionary.
        Overrides:
        initDataDictionary in class MboSet
      • addToUserPrefWhere

        public java.lang.String addToUserPrefWhere()
                                            throws MXException,
                                                   java.rmi.RemoteException
        Add this where clause to the MboSet's getUserPrefWhere()
        Returns:
        The where clause.
        Throws:
        MXException
        java.rmi.RemoteException
      • getUserPrefWhere

        public java.lang.String getUserPrefWhere()
        Override the MboSet getUserPrefWhere() to return a userpref where clause which is appended to the existing whereClause. This is called by the framework to allow any app specific modifications to the whereClause.
        Overrides:
        getUserPrefWhere in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • canAdd

        public void canAdd()
                    throws MXException
        If this object is being added to a newly created Job Plan then validate the Job Plan Key. Do not allow an object to be added to this set if the Job Plan key is invalid
        Overrides:
        canAdd in class MboSet
        Throws:
        MXException