psdi.iface.proc

Class RulesCache

    • Method Detail

      • getInstance

        public static RulesCache getInstance()
                                      throws MXException,
                                             java.rmi.RemoteException
        Always use one instance of RulesCache
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • getName

        public java.lang.String getName()
        Return name to be registered in the cashe to reload
        Returns:
        Throws:
        MXException - MAXIMO exception
      • hasOutboundRules

        public boolean hasOutboundRules(java.lang.String ifacename)
        Evaluates does Interface has Outbound Rules
        Parameters:
        ifacename - Service/ Channel name
        Returns:
        TRUE/FALSE based on the Rules
      • hasOutboundRules

        public boolean hasOutboundRules(java.lang.String ifacename,
                                        java.lang.String mosname)
        Evaluates does Interface has Outbound Rules
        Parameters:
        ifacename - Channel name
        mosname - Object Structure name
        Returns:
        TRUE/FALSE based on the Rules
      • hasInboundMboRules

        public boolean hasInboundMboRules(java.lang.String ifacename)
        Evaluates does Interface has Inbound MBO Rules
        Parameters:
        ifacename - Service name
        Returns:
        TRUE/FALSE based on the Rules
      • hasInboundMboRules

        public boolean hasInboundMboRules(java.lang.String ifacename,
                                          java.lang.String mosname)
        Evaluates does Interface has Inbound MBO Rules
        Parameters:
        ifacename - Service name
        mosname - Object Structure name
        Returns:
        TRUE/FALSE based on the Rules
      • hasInboundObjectRules

        public boolean hasInboundObjectRules(java.lang.String ifacename)
        Evaluates does Interface has Inbound Object Rules
        Parameters:
        ifacename - Service/ Channel name
        Returns:
        TRUE/FALSE based on the Rules
      • hasInboundObjectRules

        public boolean hasInboundObjectRules(java.lang.String ifacename,
                                             java.lang.String mosname)
        Evaluates does Interface has Inbound Object Rules
        Parameters:
        ifacename - Service/ Channel name
        mosname - Object Structure name
        Returns:
        TRUE/FALSE based on the Rules
      • hasMigrationObjectRules

        public boolean hasMigrationObjectRules(java.lang.String mosname)
        Evaluates does Migration Manager Object has processing rules
        Parameters:
        mosname - Oject Structure name
        Returns:
        TRUE/FALSE based on the Rules
      • hasMigrationPackageRules

        public boolean hasMigrationPackageRules(java.lang.String packageName)
        Evaluates does Migration Manager Object has processing rules
        Parameters:
        packageName - Package name
        Returns:
        TRUE/FALSE based on the Rules
      • hasMigrationPackageRulesForObject

        public boolean hasMigrationPackageRulesForObject(java.lang.String packageName,
                                                         java.lang.String mosname)
        Evaluates does Migration Manager Object has processing rules
        Parameters:
        packageName - Package name
        mosname - Oject Structure name
        Returns:
        TRUE/FALSE based on the Rules
      • getTableProcsObjIn

        public java.util.List getTableProcsObjIn(java.lang.String ifacename,
                                                 java.lang.String mosname,
                                                 java.lang.String hpath)
        Return Inbound Object Rules of the Given Table
        Parameters:
        ifacename - Service/ Channel name
        mosname - Object Structure name
        hpath - Location path
        Returns:
        List of all rules for given table
      • getTableProcsMboIn

        public java.util.List getTableProcsMboIn(java.lang.String ifacename,
                                                 java.lang.String mosname,
                                                 java.lang.String hpath)
        Return Inbound MBO Rules of the Given Table
        Parameters:
        ifacename - Service/ Channel name
        mosname - Object Structure name
        hpath - Location path
        Returns:
        List of all rules for given table
      • getTableProcsOut

        public java.util.List getTableProcsOut(java.lang.String ifacename,
                                               java.lang.String mosname,
                                               java.lang.String hpath)
        Return Outbound Rules of the Given Table
        Parameters:
        ifacename - Service/ Channel name
        mosname - Object Structure name
        hpath - Location path
        Returns:
        List of all rules for given table
      • getProcessingRules

        public java.util.List getProcessingRules(java.lang.String useWith,
                                                 java.lang.String entityName,
                                                 java.lang.String objStructName,
                                                 java.lang.String hpath)
        Returns a boolean that indicates whether any Rules enabled for a given Object Structure name and Map of MaxIfaceProcInfo.
        Parameters:
        useWith - use with indentifier
        entityName - entity Name
        objStructName - object Structure Name
        hpath - x-path
        Returns:
        boolean Returns whether any rules enabled.
      • isAnyOutBoundRulesEnabled

        public boolean isAnyOutBoundRulesEnabled(java.lang.String ifacename)
                                          throws MXException
        Returns a boolean that indicates whether any Outbound Rules enabled for a given Publish Channel name. Throws MXException if the publish Channel name is not a valid Publish Channel.
        Parameters:
        ifacename - Publish Channel name
        Returns:
        boolean Returns whether the publish channel has any outbound rules enabled.
        Throws:
        MXException - Throws MXApplicationException
      • isAnyInBoundMBORulesEnabled

        public boolean isAnyInBoundMBORulesEnabled(java.lang.String ifacename)
                                            throws MXException
        Returns a boolean that indicates whether any Inbound MBO Rules enabled for a given Enterprise Service name. Throws MXException if the Service name is not a valid Service.
        Parameters:
        ifacename - Enterprise Service name
        Returns:
        boolean Returns whether the Enterprise Service has any inbound MBO rules enabled.
        Throws:
        MXException - Throws MXApplicationException
      • isAnyInBoundObjectRulesEnabled

        public boolean isAnyInBoundObjectRulesEnabled(java.lang.String ifacename)
                                               throws MXException
        Returns a boolean that indicates whether any Inbound Object Rules enabled for a given Enterprise Service name. Throws MXException if the Service name is not a valid Service.
        Parameters:
        ifacename - Enterprise Service name
        Returns:
        boolean Returns whether the Enterprise Service has any Inbound Object Rules enabled.
        Throws:
        MXException - Throws MXApplicationException