toWhereClause
public java.lang.String toWhereClause(java.lang.Object param,
MboSetRemote msr)
throws MXException,
java.rmi.RemoteException
Convert the condition to a where clause. If the condition class will not be used for
"QUALIFIED" row security type, this method should return a where clause. If the condition
should 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.
This version of the method always throws an exception.
- Specified by:
toWhereClause
in interface CustomCondition
- Parameters:
param
- 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 constructed
- Returns:
- The where clause that can be used to query the database by maximo.
- Throws:
MXException
java.rmi.RemoteException
- See Also:
SecurityRestrict
,
Condition
,
MboSet.getQualifiedWhere()