com.ibm.tivoli.maximo.mfmail

Class MfMailWFHandler

  • java.lang.Object
    • com.ibm.tivoli.maximo.mfmail.MfMailWFHandler
    • Constructor Detail

      • MfMailWFHandler

        public MfMailWFHandler()
    • Method Detail

      • handleWFMail

        protected void handleWFMail(MboRemote inboundComm,
                                    UserInfo ui)
                             throws java.rmi.RemoteException,
                                    MXException
        Parameters:
        params -
        inboundComm -
        Throws:
        java.rmi.RemoteException
        MXException
      • processAssignment

        protected void processAssignment(WFAssignment assign,
                                         MfMailWFMailInfo mailInfo,
                                         MboRemote inboundComm,
                                         UserInfo ui)
                                  throws java.rmi.RemoteException,
                                         MXException
        Complete WFAssignment as specified in the mail.
        Parameters:
        assign -
        instance -
        targetMbo -
        mailInfo -
        inboundComm -
        ui -
        Throws:
        java.rmi.RemoteException
        MXException
      • isWorkflowMail

        protected static boolean isWorkflowMail(MboRemote inboundComm,
                                                MfMailGlobalInfo gi)
                                         throws MXException,
                                                java.rmi.RemoteException
        Determine whether inboundComm contains mail for Workflow scenario
        Parameters:
        inboundComm -
        gi -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • readFirstLine

        protected MfMailWFMailInfo readFirstLine(java.lang.String messageBody,
                                                 MfMailWFMailInfo mi)
                                          throws MXException
        Parse either the first line of the body (for small device), or value part of LSNRCOMPACTION (for medium device)
        Parameters:
        messageBody -
        mi -
        Returns:
        Throws:
        MXException
      • checkAttributes

        protected java.lang.String checkAttributes(java.util.Hashtable values,
                                                   java.util.HashSet keySet,
                                                   java.lang.String validAttList)
        Check if all the attributes in hashtable belongs to valid attributes
        Parameters:
        values - hash of values from mail
        keySet - hash of key attributes
        validAttList - list of valid attributes
        Returns:
        null if OK, keyname if it is not included in the list