com.ibm.tivoli.maximo.mfmail

Class MfMailWFSender

  • java.lang.Object
    • com.ibm.tivoli.maximo.mfmail.MfMailWFSender
    • Constructor Summary

      Constructors 
      Constructor and Description
      MfMailWFSender() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void applyCustomAction(MboRemote arg0, java.lang.Object[] arg1)
      This is the method which is called when the class is used a custom action.
      protected java.lang.String getLinkList(java.lang.String wfProcessName, int wfProcRev, int wfNodeId, java.lang.String wfNodeTitle, WFAssignmentRemote assign, MboRemote targetMbo, MfMailGlobalInfo gi, UserInfo ui, java.lang.String sender, java.lang.String subj, java.lang.String secStr) 
      MXLogger getLogger()
      Returns the logger to be used to log messages.
      protected java.lang.String getNVPairList(java.lang.String wfProcessName, int wfProcRev, int wfNodeId, java.lang.String wfNodeTitle, WFAssignmentRemote assign, MboRemote targetMbo, MfMailGlobalInfo gi, UserInfo ui, java.lang.String attributesList, java.lang.String secStr, boolean bGenerateObjId)
      Get value list for medium device, which include list of actions We have this method in this class, not in utility class, because work flow scenario uses list of Name/Value pair only in first outbound mail.
      protected java.lang.String getRegisterKey(MboRemote mbo) 
      protected java.lang.String registerAssignment(MboRemote assign) 
      void sendWFAssignmentMail(WFAssignmentRemote assign, CommTemplateRemote commTemplate, MboRemote targetMbo, MboRemote trackEntry, UserInfo ui, int deviceClass, boolean checkHtml, java.lang.String process, int procRev, int nodeId, java.lang.String nodeTitle, java.lang.String sender, java.lang.String secString, java.lang.String attributesList) 
      protected void unregisterAssignment(java.lang.String key) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MfMailWFSender

        public MfMailWFSender()
    • Method Detail

      • getLogger

        public MXLogger getLogger()
        Returns the logger to be used to log messages.
        Returns:
        the logger to be used to log messages.
      • applyCustomAction

        public void applyCustomAction(MboRemote arg0,
                                      java.lang.Object[] arg1)
                               throws MXException,
                                      java.rmi.RemoteException
        Description copied from interface: ActionCustomClass
        This is the method which is called when the class is used a custom action.
        Specified by:
        applyCustomAction in interface ActionCustomClass
        Parameters:
        arg0 - The Mbo on which the action will apply.
        Throws:
        MXException
        java.rmi.RemoteException
      • sendWFAssignmentMail

        public void sendWFAssignmentMail(WFAssignmentRemote assign,
                                         CommTemplateRemote commTemplate,
                                         MboRemote targetMbo,
                                         MboRemote trackEntry,
                                         UserInfo ui,
                                         int deviceClass,
                                         boolean checkHtml,
                                         java.lang.String process,
                                         int procRev,
                                         int nodeId,
                                         java.lang.String nodeTitle,
                                         java.lang.String sender,
                                         java.lang.String secString,
                                         java.lang.String attributesList)
                                  throws java.rmi.RemoteException,
                                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getNVPairList

        protected java.lang.String getNVPairList(java.lang.String wfProcessName,
                                                 int wfProcRev,
                                                 int wfNodeId,
                                                 java.lang.String wfNodeTitle,
                                                 WFAssignmentRemote assign,
                                                 MboRemote targetMbo,
                                                 MfMailGlobalInfo gi,
                                                 UserInfo ui,
                                                 java.lang.String attributesList,
                                                 java.lang.String secStr,
                                                 boolean bGenerateObjId)
                                          throws java.rmi.RemoteException,
                                                 MXException
        Get value list for medium device, which include list of actions We have this method in this class, not in utility class, because work flow scenario uses list of Name/Value pair only in first outbound mail. For small hybrid mode, this method generates Name/Value pair of housekeeping entries that contains information to identify WFAssignment and security string
        Parameters:
        wfProcessName - : WF process name
        wfNodeTitle - : Node title in the WF above
        assign - : WFAssignment we are working with
        targetMbo - : The mbo controlled with WF
        gi -
        ui -
        attributesList - : List of attributes to be included in the value list
        secStr - : Security String to ensure the WFASSIGNMENTID is not altered in reply mail
        bGenerateObjId - : Create name/value pair to identify assignment for small
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • getLinkList

        protected java.lang.String getLinkList(java.lang.String wfProcessName,
                                               int wfProcRev,
                                               int wfNodeId,
                                               java.lang.String wfNodeTitle,
                                               WFAssignmentRemote assign,
                                               MboRemote targetMbo,
                                               MfMailGlobalInfo gi,
                                               UserInfo ui,
                                               java.lang.String sender,
                                               java.lang.String subj,
                                               java.lang.String secStr)
                                        throws java.rmi.RemoteException,
                                               MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getRegisterKey

        protected java.lang.String getRegisterKey(MboRemote mbo)
                                           throws java.rmi.RemoteException,
                                                  MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • registerAssignment

        protected java.lang.String registerAssignment(MboRemote assign)
                                               throws java.rmi.RemoteException,
                                                      MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • unregisterAssignment

        protected void unregisterAssignment(java.lang.String key)
                                     throws java.rmi.RemoteException,
                                            MXException
        Throws:
        java.rmi.RemoteException
        MXException