psdi.iface.mic

Class MicSetIn

    • Field Detail

      • interfaceName

        protected java.lang.String interfaceName
        Service Name
      • controlName

        protected java.lang.String controlName
        Control Name
    • Constructor Detail

      • MicSetIn

        public MicSetIn()
                 throws MXException,
                        java.rmi.RemoteException
        Construct the set
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
    • Method Detail

      • processExternalData

        protected byte[] processExternalData(StructureData data,
                                             EnterpriseServiceInfo detailInfo,
                                             UserInfo info,
                                             MXTransaction trans,
                                             java.lang.String sender)
                                      throws MXException,
                                             java.rmi.RemoteException
        Process data coming from external systems.
        Parameters:
        data - Give refrence to StructureData class with data from external system.
        detailInfo - Give information about service.
        info - Give User Info reference.
        trans - Give refrence to MAXIMO Transaction object.
        sender - Give sender.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • processResponse

        public void processResponse(StructureData data,
                                    java.lang.String ifaceName,
                                    java.lang.Object target,
                                    int action,
                                    UserInfo info,
                                    MXTransaction mxTrans,
                                    java.util.Map md)
                             throws MXException,
                                    java.rmi.RemoteException
        Process response for Invokation Channel.
        Parameters:
        data - Give refrence to StructureData class.
        ifaceName - Give channel name.
        target - Give target Mbo or MboSet.
        action - Give response action (ADD or UPDATE).
        info - Give User Info reference.
        mxTrans - Give refrence to MAXIMO Transaction object.
        md - Give meta data reference.
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • applyXMLRules

        protected void applyXMLRules()
                              throws MXException,
                                     java.rmi.RemoteException
        Apply OS rules for inbound processing
        Overrides:
        applyXMLRules in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • applyMboRules

        protected int applyMboRules(MboRemote ruleMbo,
                                    java.lang.String hPath)
                             throws MXException,
                                    java.rmi.RemoteException
        Apply Mbo rules for inbound processing
        Overrides:
        applyMboRules in class MosProcessImpl
        Parameters:
        ruleMbo - Give Mbo for the current level.
        hPath - Give location path.
        Returns:
        action result of the rules
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • getSender

        public java.lang.String getSender()
        This method will return Senderid
        Returns:
        SENDER
      • callMboExit

        protected void callMboExit()
                            throws MXException,
                                   java.rmi.RemoteException
        Calls Mbo User exits
        Overrides:
        callMboExit in class MosProcessImpl
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception
      • processResponse

        protected byte[] processResponse()
                                  throws MXException,
                                         java.rmi.RemoteException
        Process response for type Create
        Overrides:
        processResponse in class MosProcessImpl
        Returns:
        response data in byte[].
        Throws:
        MXException - MAXIMO exception
        java.rmi.RemoteException - Remote exception