public class CreateButtonCondition extends java.lang.Object implements CustomCondition
| Constructor and Description |
|---|
CreateButtonCondition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateCondition(MboRemote mbo,
java.lang.Object param)
Sets the condition for displaying the Create Report button
|
java.lang.String |
toWhereClause(java.lang.Object param,
MboSetRemote msr)
Sets the where clause
|
public boolean evaluateCondition(MboRemote mbo, java.lang.Object param) throws MXException, java.rmi.RemoteException
evaluateCondition in interface CustomConditionmbo - The mbo to be evaluatedparam - 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.MXExceptionjava.rmi.RemoteExceptionSecurityRestrict,
Condition,
Mbo.evaluateRestriction(psdi.mbo.DataRestriction),
Mbo.evaluateCtrlConditions(java.util.HashSet),
Mbo.evaluateCondition(java.lang.String, boolean)public java.lang.String toWhereClause(java.lang.Object param,
MboSetRemote msr)
throws MXException,
java.rmi.RemoteException
toWhereClause in interface CustomConditionparam - 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.msr - The MboSet whose Where clause is being constructedMXExceptionjava.rmi.RemoteExceptionSecurityRestrict,
Condition,
MboSet.getQualifiedWhere()