psdi.iface.app.ifaceproc

Class MaxCondDetail

  • java.lang.Object
    • Constructor Detail

      • MaxCondDetail

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Default value for some of the fields of the new maxconddetail table.
        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
        This method is called by the framework before save. Perform regular appValidate() and process LinkedMbo's deletion.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        This method is called by the framework before save. Perform regular canDelete() and process LinkedMbo's deletion.
        Overrides:
        canDelete 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 maxconddetail. When any field realated to the object is changed, changedate and changeby is updated.
        Overrides:
        modify in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws MXException,
                                        java.rmi.RemoteException
        Over-rides the method in the super class. If the field need not be copied during copy() return true else return false. The following fields are not copied from the source Mbo to the target Mbo.
        • IFACENAME
        • PROCNAME
        • CONDITION
        • CHANGEBY
        • CHANGEDATE
        Overrides:
        skipCopyField in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • checkCompareType

        public void checkCompareType(java.lang.String type)
                              throws MXException,
                                     java.rmi.RemoteException
        This method will set fields based on the Compare Type.
        Specified by:
        checkCompareType in interface MaxCondDetailRemote
        Parameters:
        type - type Compare Type
        Throws:
        MXException
        java.rmi.RemoteException
      • checkEvalType

        public void checkEvalType(java.lang.String type,
                                  boolean fromInit)
                           throws MXException,
                                  java.rmi.RemoteException
        This method will set fields based on the Eval Type.
        Specified by:
        checkEvalType in interface MaxCondDetailRemote
        Parameters:
        type - Eval Type
        fromInit - Called from init method or from the validation class
        Throws:
        MXException
        java.rmi.RemoteException
      • checkConditionType

        public void checkConditionType(java.lang.String type)
                                throws MXException,
                                       java.rmi.RemoteException
        This method will set fields based on the Condition Type.
        Specified by:
        checkConditionType in interface MaxCondDetailRemote
        Parameters:
        type - Condition Type
        Throws:
        MXException
        java.rmi.RemoteException
      • checkRetainMbo

        public void checkRetainMbo()
                            throws MXException,
                                   java.rmi.RemoteException
        This method will check that no mbo can be used in Retail Mbo is not set.
        Throws:
        MXException
        java.rmi.RemoteException