com.ibm.ism.script.autoscript

Class ScriptLaunchPoint

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.ism.script.autoscript.ScriptLaunchPoint
  • All Implemented Interfaces:
    ScriptLaunchPointRemote, java.rmi.Remote, MboConstants, MboRemote, MaxRemoteProxy


    public class ScriptLaunchPoint
    extends Mbo
    implements ScriptLaunchPointRemote
    Mbo to represent Script Launch Point object. See the Script Launch Point package description for details.

    The key attributes for this object is LAUNCHPOINTNAME, AUTOSCRIPT.

    The attributes in this object are as follows:

    Attribute NameDescription
    LAUNCHPOINTNAMEName for the launch point
    AUTOSCRIPT Name of the script
    DESCRIPTIONDescribes the launch point
    LAUNCHPOINTTYPESpecifies the type of launch point
    OBJECTNAMESpecify the object associated with the launch point
    ATTRIBUTENAME Specify the attribute associated with the launch point
    SCRIPTLAUNCHPOINTIDUnique Identifier for SCRIPTLAUNCHPOINT

    • Constructor Detail

      • ScriptLaunchPoint

        public ScriptLaunchPoint(MboSet ms)
                          throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • 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
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Default value for some of the fields of the new Launch Point. The table below shows the default values for each of the attributes listed.
        LAUNCHPOINTTYPEOBJECT
        AUTOSCRIPTvalue from owner(Autoscript)
        ADDfalse
        INITfalse
        UPDATEfalse
        DELETEfalse
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        This is called whenever a change is made to the attributes of ScriptLaunchPoint. When any field related to ScriptLaunchPoint is changed, AutoScript objects changedate and changeby is updated.
        Overrides:
        modify in class Mbo
        Throws:
        MXException - throws MXException
        java.rmi.RemoteException - throws RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        override delete to delete this and records associated with this launch point
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - Access Modifier
        Throws:
        MXException - throws MXException
        java.rmi.RemoteException - throws RemoteException
        See Also:
        Mbo.delete(long)
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws java.rmi.RemoteException,
                                        MXException
        Overrides the skipCopyField() in the Mbo. Since this method takes the MboValueInfo as its parameter just check to see if this field needs to be copied or skipped by using the data from the static HashSet. If this field does not need to be copied return true.
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        The - MboValueInfo object of the MboValue that needs to be copied.
        Returns:
        True,if the field does not need to be copied.In all other cases return false
        Throws:
        java.rmi.RemoteException
        MXException
      • save

        protected 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
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Called when the mbo is saved to the database. set the object event's bit flag
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException - Maximo Exception
        java.rmi.RemoteException - Remote Exception