public class MfMailIsMaximoMail extends java.lang.Object implements CustomCondition
Constructor and Description |
---|
MfMailIsMaximoMail() |
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.
|
public boolean evaluateCondition(MboRemote inboundComm, java.lang.Object arg1) throws MXException, java.rmi.RemoteException
evaluateCondition
in interface CustomCondition
inboundComm
- The mbo to be evaluatedarg1
- 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.MXException
java.rmi.RemoteException
CustomCondition.evaluateCondition(psdi.mbo.MboRemote, java.lang.Object)
public java.lang.String toWhereClause(java.lang.Object arg0, MboSetRemote arg1) throws MXException, java.rmi.RemoteException
CustomCondition
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.
toWhereClause
in interface CustomCondition
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 constructedMXException
java.rmi.RemoteException
SecurityRestrict
,
Condition
,
MboSet.getQualifiedWhere()