psdi.iface.proc

Class ProcProcesser

  • java.lang.Object
    • psdi.iface.proc.ProcProcesser


  • public class ProcProcesser
    extends java.lang.Object
    Class to process Interface Rules
    • Constructor Detail

      • ProcProcesser

        public ProcProcesser(java.lang.String usewith,
                             java.lang.String ifacename,
                             java.lang.String mosname,
                             java.lang.String tableName,
                             java.lang.String hpath,
                             java.lang.String extSys,
                             boolean isOut,
                             boolean isObject,
                             boolean isEvent,
                             UserInfo userInfo)
                      throws MXException,
                             java.rmi.RemoteException
        Construct the set
        Parameters:
        usewith - use with identifier
        ifacename - the service/ channel name
        mosname - the object structure name
        tableName - the process table name
        hpath - x-path
        extSys - the external system name
        isOut - The IN/OUT indicator
        isObject - The OBJECT/MBO rules indicator (inbound only)
        isEvent - The Is Event indicator (outbound only)
        UserInfo - UserInfo object
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
    • Method Detail

      • checkAssignmentProcs

        public int checkAssignmentProcs(MboRemote mbo,
                                        StructureData data)
                                 throws MXException,
                                        java.rmi.RemoteException
        This will check assignment procs.
        Parameters:
        mbo - the process MBO
        data - the StructureData
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • processAssignments

        public int processAssignments(MboRemote mbo,
                                      StructureData data,
                                      java.util.List allProcs)
                               throws MXException,
                                      java.rmi.RemoteException
        This will process assignment procs.
        Parameters:
        mbo - the process MBO
        data - the StructureData
        allProcs - List of all rules
        Returns:
        true or false evaluation of the rule
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • setReplaceColumns

        public void setReplaceColumns(MaxIfaceProcInfo procInfo,
                                      StructureData data,
                                      MboRemote mbo,
                                      MboRemote realMbo)
                               throws MXException,
                                      java.rmi.RemoteException
        This will check assignment procs columns for the REPLACE and SET transaction
        Parameters:
        procInfo - information about rule
        data - the StructureData
        mbo - the process MBO
        realMbo - persistent Mbo for top level non-peristent Mbo (merge)
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • setSplitColumns

        public void setSplitColumns(MaxIfaceProcInfo procInfo,
                                    StructureData data,
                                    MboRemote mbo,
                                    MboRemote realMbo)
                             throws MXException,
                                    java.rmi.RemoteException
        This will check assignment procs columns for the SPLIT transaction
        Parameters:
        procInfo - information about rule
        data - the StructureData
        mbo - the process MBO
        realMbo - persistent Mbo for top level non-peristent Mbo (merge)
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • setCombineColumns

        public void setCombineColumns(MaxIfaceProcInfo procInfo,
                                      StructureData data,
                                      MboRemote mbo,
                                      MboRemote realMbo)
                               throws MXException,
                                      java.rmi.RemoteException
        This will check assignment procs columns for the COMBINE transaction
        Parameters:
        procInfo - information about rule
        data - the StructureData
        mbo - the process MBO
        realMbo - persistent Mbo for top level non-peristent Mbo (merge)
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • getLogger

        protected MXLogger getLogger()
        Return the Integration or Migration Manager Logger.
        Returns:
        MXLogger