public class QbeFilter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
QbeFilter.AttributeExpressions
Note that this class is very similar to the inner class with the same name in MboQbe
|
Constructor and Description |
---|
QbeFilter(MboSet set) |
QbeFilter(MboSetInfo ms,
boolean processML,
UserInfo userInfo)
Construct the Query, attached to a certain MboSet with default Locale
|
QbeFilter(MboSetInfo ms,
java.util.Locale l,
java.util.TimeZone tz,
boolean ml,
UserInfo userInfo)
Construct the Query, attached to a certain MboSet with specified Locale
|
QbeFilter(MboSetInfo ms,
UserInfo userInfo)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[][] |
getQbe()
Return all the QBE expressions defined.
|
java.lang.String |
getQbe(java.lang.String attrName)
Gets the Qbe filter for an attribute.
|
boolean |
hasQbe()
Is any Qbe Filter defined?
|
void |
ignoreQbeExactMatchSet(boolean flag)
Why is this here? Copied from MboQbe.
|
boolean |
isIgnoreQbeExactMatchSet() |
boolean |
isUsingQbeExactMatch()
Return the state of the useExactMatch
|
void |
resetQbe()
Reset sets up the filter for use.
|
boolean |
satisfy(MboRemote mbo)
Does this Mbo satisfy the defined filter?
|
void |
setOperatorOr()
Set the operator to OR
|
void |
setQbe(java.lang.String attrName,
java.lang.String expr)
Sets the Qbe filter for an attribute.
|
void |
setQbeCaseSensitive(boolean state)
Determines case sensitivity of the filter.
|
void |
setQbeExactMatch(boolean state)
Determines whether to use equals or like as the default comparision.
|
public QbeFilter(MboSet set) throws java.rmi.RemoteException
java.rmi.RemoteException
public QbeFilter(MboSetInfo ms, UserInfo userInfo)
public QbeFilter(MboSetInfo ms, boolean processML, UserInfo userInfo)
public QbeFilter(MboSetInfo ms, java.util.Locale l, java.util.TimeZone tz, boolean ml, UserInfo userInfo)
public void resetQbe()
public void setQbe(java.lang.String attrName, java.lang.String expr) throws MXException
attrName
- The name of the attributeexpr
- The expression for the filterMXException
public java.lang.String getQbe(java.lang.String attrName) throws MXException
attrName
- The name of the attributeMXException
public boolean hasQbe()
public boolean satisfy(MboRemote mbo) throws MXException, java.rmi.RemoteException
mbo
- The MboMXException
java.rmi.RemoteException
public void setQbeExactMatch(boolean state)
public void setQbeCaseSensitive(boolean state)
public void setOperatorOr()
public boolean isUsingQbeExactMatch()
public java.lang.String[][] getQbe() throws MXException
MXException
public void ignoreQbeExactMatchSet(boolean flag)
flag
- What value to give the ignore-the-Qbe-Exact-Match-flag flag.public boolean isIgnoreQbeExactMatchSet()