psdi.app.kpi

Class KPITemplateVariable

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


    public class KPITemplateVariable
    extends Mbo
    implements MboRemote
    KPITemplateVariable is a user defined variable in the KPI Template The key attribute for this object is:

    The attributes in this object are as follows:

    • Field Detail

      • MBO_KPITEMPLATEVAR

        public static final java.lang.String MBO_KPITEMPLATEVAR
        See Also:
        Constant Field Values
      • ATTRIBUTENAME

        public static final java.lang.String ATTRIBUTENAME
        Attribute Name
        MAX TYPE: UPPER
        SAME AS: MAXATTRIBUTE.ATTRIBUTENAME
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Description
        MAX TYPE: ALN
        See Also:
        Constant Field Values
      • KPITEMPLATENUM

        public static final java.lang.String KPITEMPLATENUM
        Template Name
        MAX TYPE: UPPER
        SAME AS: KPITEMPLATE.KPITEMPLATENUM
        See Also:
        Constant Field Values
      • KPITEMPLATEVARID

        public static final java.lang.String KPITEMPLATEVARID
        Unique Id
        MAX TYPE: BIGINT
        See Also:
        Constant Field Values
      • OBJECTNAME

        public static final java.lang.String OBJECTNAME
        Object Name
        MAX TYPE: UPPER
        SAME AS: MAXOBJECT.OBJECTNAME
        See Also:
        Constant Field Values
      • VARNAME

        public static final java.lang.String VARNAME
        Variable Name
        MAX TYPE: ALN
        See Also:
        Constant Field Values
      • RELATIONSHIP_KPITEMPLATEVARVALUES

        public static final java.lang.String RELATIONSHIP_KPITEMPLATEVARVALUES
        "KPITEMPLATEVARVALUES"
        See Also:
        Constant Field Values
    • Constructor Detail

      • KPITemplateVariable

        public KPITemplateVariable(MboSet ms)
                            throws MXException,
                                   java.rmi.RemoteException
        Constructs the KPITemplateVariable object.

        Parameters:
        ms - MboSet
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialization routine. Set the fields to read/write mode conditionally
        Overrides:
        init in class Mbo
        Parameters:
        none -
        Throws:
        none
        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
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds a new KPITemplateVariable object. 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.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Parameters:
        none -
        Throws:
        MXException - , RemoteException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: Mbo
        Mark the object to be deleted depending on the access modifier. This will usually be overridden in the subclass of Mbo as there may be application specific rules as to if and when an object can be deleted. Object is not actually deleted in the database until save() is called. This method will also mark all associated Long Description and Translation Mbos for deletion.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - The bitwise flag specified to determine if certain normal security checks are to be bypassed for this delete request. For example: if the accessModifer is NOACCESSCHECK, then the check for the object's NODELETE flag and the call to the object's canDelete() method will not be performed. If the accessModifer is NONE, then all the access checks are performed before this object is marked delete.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: Mbo
        Unmark the Mbo for deletion. Can only be called after a delete() and before the save() has been performed. This method will also unmark associated Long Description and Translation Mbos.
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException