psdi.iface.app.ifaceproc

Class MaxIfaceProc

  • java.lang.Object
    • Constructor Detail

      • MaxIfaceProc

        public MaxIfaceProc(MboSet ms)
                     throws MXException,
                            java.rmi.RemoteException
        Construct the MaxIfaceProc 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 MAXIFACEPROC.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Overwitten for ifaceproc's MBO. Delete any columns in MAXIFACECOND and conditions in MAXIFACECOND referenced by the proc 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 ifaceproc's MBO. Delete any columns in MAXRULECOND and conditions in MAXRULECOND referenced by the proc to be deleted.
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Parameters:
        accessModifier - accessModifier
        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
      • 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
      • modify

        public void modify()
                    throws MXException,
                           java.rmi.RemoteException
        This is called whenever a change is made to the attributes of maxifaceproc. 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
        • USERDEFINED
        • CHANGEBY
        • CHANGEDATE
        Overrides:
        skipCopyField in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • copy

        public MboRemote copy(MboSetRemote newSet)
                       throws MXException,
                              java.rmi.RemoteException
        Duplicates an MAXIFACEPROC record. Also duplicates the related MAXIFACECOND, MAXCONDDETAIL, MAXREPLACEPROC, MAXPROCCOLS, MAXTRANSFORMPROC entries
        Specified by:
        copy in interface MboRemote
        Overrides:
        copy in class Mbo
        Parameters:
        newSet - The set into which the new mbo will be added.
        Returns:
        MboRemote The newly created external system.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.copy(MboSetRemote, long)