psdi.app.pm

Class PMForecastJP

  • All Implemented Interfaces:
    java.rmi.Remote, PMForecastJPRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class PMForecastJP
    extends Mbo
    implements PMForecastJPRemote
    MBO object to represent PMForecastJP.

    This is a system level object.

    The key attributes for this object are PMNum, SiteId, LTDPMCounter, JPNum, OrgID, ForecastSeqNo,CreateBy, CreateDate, ChangeBy, ChangeDate.

    The attributes in this object are as follows:

    Attribute NameDescription
    PMNumIdentifier for the PM record.
    SiteIdIdentifier of the site for this PM.
    LTDPMCounterIdentifier of the number of work orders generated from a PM. Life to Date counter cannot be reset.
    JPNumIdentifies the job plan associated with this PM Forecast.
    OrgIdIdentifier of the organization for this PM.
    ForecastSeqNoUnique identifier for a given forecast of a PM.
    CreateBy, CreateDatePerson who created the forecast and the date it was created.
    ChangeByPerson who provided the New forecasted date for the PM.
    ChangeDateThe date the person provided the new forecasted date for the PM.
    • Constructor Detail

      • PMForecastJP

        public PMForecastJP(MboSet ms)
                     throws MXException,
                            java.rmi.RemoteException
        Construct the PMForecastJP object
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Sets default values for a new PMForecastJP object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Method that checks whether a PMForecastJP can be deleted or not.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long modifier)
                    throws MXException,
                           java.rmi.RemoteException
        Deletes a PMFORECASTJP record and its related records.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        modifier - access modifier
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)