psdi.app.workorder

Class WOAreasAffected

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, WOAreasAffectedRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class WOAreasAffected
    extends Mbo
    implements WOAreasAffectedRemote
    MBO to represent the AreasAffected object. See the Work Order Package description for details.

    This is a site level object.

    The key attributes for this object are SiteID and WoNum.

    Attributes are as follows:

    Attribute NameDescription
    {@link psdi.app.workorder.FldAreasAffectedAssetNum assetnumAffected Asset Number
    {@link psdi.app.workorder.FldAreasAffectedCommodity affectedcommodityAffected Commodity
    {@link psdi.app.workorder.FldAreasAffectedLocation affectedlocationAffected Location
    {@link psdi.app.workorder.FldAreasAffectedSiteID affectedsiteAffected Site Id
    approveApproved?
    {@link psdi.app.workorder.FldAreasAffectedContact contactOwning Contact
    {@link psdi.app.workorder.FldAreasAffectedContactGroup contactgroupOwning Contact Group
    {@link psdi.app.workorder.FldAreasAffectedDescription descriptionDescription
    notifyNotify?

    • Constructor Detail

      • WOAreasAffected

        public WOAreasAffected(MboSet ms)
                        throws MXException,
                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface WOAreasAffectedRemote
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Check that there is an area affected on the record. For issue 82323.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        Description copied from class: Mbo
        Save the object and other linked objects. Subclasses can code their save() logic to include any appropriate updates to other linked objects and call super.save().
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException