com.ibm.tivoli.maximo.mfmail

Class MfMailIsMaximoMail

  • java.lang.Object
    • com.ibm.tivoli.maximo.mfmail.MfMailIsMaximoMail
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean evaluateCondition(MboRemote inboundComm, java.lang.Object arg1)
      This method returns true when the passed inboundComm contains the mail for Status change scenario *OR* Workflow scenario.
      java.lang.String toWhereClause(java.lang.Object arg0, MboSetRemote arg1)
      Convert the condition to a where clause.
      • Methods inherited from class java.lang.Object

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

      • MfMailIsMaximoMail

        public MfMailIsMaximoMail()
    • Method Detail

      • evaluateCondition

        public boolean evaluateCondition(MboRemote inboundComm,
                                         java.lang.Object arg1)
                                  throws MXException,
                                         java.rmi.RemoteException
        This method returns true when the passed inboundComm contains the mail for Status change scenario *OR* Workflow scenario.
        Specified by:
        evaluateCondition in interface CustomCondition
        Parameters:
        inboundComm - The mbo to be evaluated
        arg1 - Any object of parameter that is understood by the condition class. For data restrictions, this param is not used. To use it, some of the framework logic must be overridden in the Mbo.
        Returns:
        The result of the evaluation. For data restrictions, True means the restriction will be applied.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        CustomCondition.evaluateCondition(psdi.mbo.MboRemote, java.lang.Object)
      • toWhereClause

        public java.lang.String toWhereClause(java.lang.Object arg0,
                                              MboSetRemote arg1)
                                       throws MXException,
                                              java.rmi.RemoteException
        Description copied from interface: CustomCondition
        Convert the condition to a where clause. If the condition class will be used for "QUALIFIED" object security type, this method should return a where clause. If the condition should NOT be used for "QUALIFIED", it should throw an exception to indicate it is an error when attempted to be used. This method has to be thread safe.

        For qualified object data restrictions (SecurityRestrict) having a condition type of Class, the object framework (MboSet) will call this method to construct the Where clause.

        Specified by:
        toWhereClause in interface CustomCondition
        Parameters:
        arg0 - For data restrictions, this is not used by the object framework. To use param you must override some of the framework logic in your MboSet.
        arg1 - The MboSet whose Where clause is being constructed
        Returns:
        The where clause that can be used to query the database
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        SecurityRestrict, Condition, MboSet.getQualifiedWhere()