com.ibm.tivoli.maximo.assethealth

Class AHMethodology

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.tivoli.maximo.assethealth.AHMethodology
    • Field Detail

      • skipFieldCopy

        protected static java.util.Set skipFieldCopy
        Deprecated. 
      • isHashSetLoaded

        protected static boolean isHashSetLoaded
        Deprecated. 
        This is a protected boolean variable to check if the HashSet has already been loaded. The HashSet is loaded only once since it is static. The same hashSet can be used by all duplicate methods once it has been loaded
      • HEALTH_ATTR

        public static final java.lang.String HEALTH_ATTR
        Deprecated. 
        See Also:
        Constant Field Values
    • Constructor Detail

      • AHMethodology

        public AHMethodology(MboSet ms)
                      throws java.rmi.RemoteException
        Deprecated. 
        Construct the AHMethodology object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Deprecated. 
        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
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Deprecated. 
        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)
      • deleteOverallFormula

        public void deleteOverallFormula(long accessModifier)
                                  throws MXException,
                                         java.rmi.RemoteException
        Deprecated. 
        Throws:
        MXException
        java.rmi.RemoteException
      • appValidate

        public void appValidate()
                         throws MXException,
                                java.rmi.RemoteException
        Deprecated. 
        Description copied from class: Mbo
        Pre-save validation method. Programmer can override with specific rules.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • setHealthFormula

        public void setHealthFormula()
                              throws MXException,
                                     java.rmi.RemoteException
        Deprecated. 
        Updates the condition for the overall health formula
        Throws:
        MXException
        java.rmi.RemoteException
      • setHealthFormula

        public void setHealthFormula(java.lang.String formula)
                              throws MXException,
                                     java.rmi.RemoteException
        Deprecated. 
        Updates the condition for the overall health formula. This is called from AHMethodDriver.
        Throws:
        MXException
        java.rmi.RemoteException
      • getHealthAttribute

        public static java.lang.String getHealthAttribute(java.lang.String objectName)
                                                   throws MXException,
                                                          java.rmi.RemoteException
        Deprecated. 
        Throws:
        MXException
        java.rmi.RemoteException
      • loadSkipFieldCopyHashSet

        protected void loadSkipFieldCopyHashSet()
                                         throws MXException,
                                                java.rmi.RemoteException
        Deprecated. 
        Throws:
        MXException
        java.rmi.RemoteException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws java.rmi.RemoteException,
                                        MXException
        Deprecated. 
        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