psdi.iface.proc

Class PreRulesProcessor

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


  • public class PreRulesProcessor
    extends java.lang.Object
    Pre-Rules processor for transactions coming in
    • Constructor Detail

      • PreRulesProcessor

        public PreRulesProcessor(java.lang.String usewith,
                                 java.lang.String extSystem,
                                 java.lang.String serviceName,
                                 java.lang.String mosName,
                                 StructureData data,
                                 ObjectStructureCache interDD,
                                 UserInfo userInfo)
                          throws MXException
        Constructor
        Parameters:
        usewith - use with identifier
        extSystem - the external system name
        serviceName - the service name
        mosName - the object structure name
        data - the structure data
        interDD - the ObjectStructureCache
        userInfo - UserInfo object
        Throws:
        MXException - MAXIMO exception
    • Method Detail

      • applyRules

        public void applyRules(java.lang.String processTable)
                        throws MXException,
                               java.rmi.RemoteException
        Apply rules
        Parameters:
        processTable - Process table name
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • applyRulesToLevel

        protected int applyRulesToLevel(StructureObject struc,
                                        MosDetailInfo mosInfo,
                                        java.lang.String processTable)
                                 throws MXException,
                                        java.rmi.RemoteException
        Apply rules to this level recursively
        Parameters:
        element - the JDOM Element
        mosInfo - the MosDetailInfo for this level
        processTable - Process table name
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception