public abstract class IsSoftwareTypeCondition extends java.lang.Object implements CustomCondition
This class is needed because conditional expression manager fails to parse the following sub-select:
type = (select value from synonymdomain where domainid = 'TLOAMSWTYPE' and maxvalue = 'PRODUCT')
SecurityRestrict
,
Condition
,
Mbo.evaluateRestriction(psdi.mbo.DataRestriction)
,
Mbo.evaluateCtrlConditions(java.util.HashSet)
,
Mbo.evaluateCondition(java.lang.String, boolean)
Constructor and Description |
---|
IsSoftwareTypeCondition() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateCondition(MboRemote mbo,
java.lang.Object param)
For use in conditional expression to determine whether the software catalog record is (a) from a third
party discovery tool or has been created manually, and (b) its software type is a synonym of the
software type returned by getCompareToSofwareType()
|
java.lang.String |
toWhereClause(java.lang.Object param,
MboSetRemote msr)
Throw an exception because this condition cannot be used for a
where clause for data restrictions.
|
public boolean evaluateCondition(MboRemote mbo, java.lang.Object param) throws MXException, java.rmi.RemoteException
evaluateCondition
in interface CustomCondition
mbo
- Any mboparam
- The name of the license key.java.rmi.RemoteException
MXException
SecurityRestrict
,
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 CustomCondition
param
- msr
- java.rmi.RemoteException
MXException
SecurityRestrict
,
Condition
,
MboSet.getQualifiedWhere()