psdi.iface.app.control

Class MaxIfaceControl

  • java.lang.Object
    • Constructor Detail

      • MaxIfaceControl

        public MaxIfaceControl(MboSet ms)
                        throws MXException,
                               java.rmi.RemoteException
        Construct the MaxIfaceControl 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 iface control.
        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. At least on action and one direction need to be specified. Perform regular appValidate() and process LinkedMbo's deletion.
        Overrides:
        appValidate in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Overwitten for maxifacecontrol's MBO. Delete any control values in MAXCONTROLVALUE referenced by the control to be deleted.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - accessModifier
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        Overwitten for maxifacecontrol's MBO. Undelete any control values in MAXCONTROLVALUE referenced by the control to be deleted.
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete 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 appValidate() 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 maxifacecond. 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.
        • IFACECONTROL
        • USERDEFINED
        • CHANGEBY
        • CHANGEDATE
        Overrides:
        skipCopyField in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • setControlType

        public void setControlType(java.lang.String controlType)
                            throws MXException,
                                   java.rmi.RemoteException
        Description copied from interface: MaxIfaceControlRemote
        Remote interface to method to set fields based on control Type.
        Specified by:
        setControlType in interface MaxIfaceControlRemote
        Parameters:
        controlType - controlType
        Throws:
        MXException
        java.rmi.RemoteException