public class SKDActivityAttrFilter extends ilog.views.util.filter.IlvAbstractFilter<ilog.views.gantt.IlvActivity> implements ResourceFilterHelper.ResourceActivityFilter, java.lang.Cloneable
SKDActivityAttrFilter
filters activities by applying a regular
expression to the activity attribute.Constructor and Description |
---|
SKDActivityAttrFilter()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
evaluate(ilog.views.gantt.IlvActivity activity) |
void |
filterActivitiesBasedOnCrafts(boolean filterBasedOnCrafts) |
void |
filterReqBasedOnActivities(boolean filterReqBasedOnActivities) |
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.
|
java.lang.String |
getRegex() |
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 |
reEvaluate() |
void |
refresh() |
void |
resetQbe()
Reset sets up the filter for use.
|
boolean |
satisfy(ilog.views.gantt.IlvActivity activity)
Does this Mbo satisfy the defined filter?
|
void |
setActivitiesNeeded(java.util.HashSet activitiesNeeded) |
void |
setGanttConfigInfo(IGanttConfigInfo ganttConfigInfo) |
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.
|
void |
setQbeFilter(java.util.Map<java.lang.String,java.lang.String> qbeattrs) |
void |
setRegex(java.lang.String regex) |
void |
showHiddenActivities(boolean show) |
public void showHiddenActivities(boolean show)
public void setRegex(java.lang.String regex) throws java.util.regex.PatternSyntaxException
java.util.regex.PatternSyntaxException
public java.lang.String getRegex()
public void filterActivitiesBasedOnCrafts(boolean filterBasedOnCrafts)
public void filterReqBasedOnActivities(boolean filterReqBasedOnActivities)
filterReqBasedOnActivities
in interface ResourceFilterHelper.ResourceActivityFilter
public void setActivitiesNeeded(java.util.HashSet activitiesNeeded)
setActivitiesNeeded
in interface ResourceFilterHelper.ResourceActivityFilter
public void refresh()
refresh
in interface ResourceFilterHelper.ResourceActivityFilter
public boolean evaluate(ilog.views.gantt.IlvActivity activity)
evaluate
in interface ilog.views.util.collections.IlvUnaryPredicate<ilog.views.gantt.IlvActivity>
public void setQbeFilter(java.util.Map<java.lang.String,java.lang.String> qbeattrs)
public void reEvaluate()
public void resetQbe()
public void setQbe(java.lang.String attrName, java.lang.String expr)
attrName
- The name of the attributeexpr
- The expression for the filterpublic java.lang.String getQbe(java.lang.String attrName)
attrName
- The name of the attributepublic boolean hasQbe()
public boolean satisfy(ilog.views.gantt.IlvActivity activity) throws SKDAppletException, java.rmi.RemoteException
mbo
- The MboSKDAppletException
java.rmi.RemoteException
public void setQbeExactMatch(boolean state)
public void setQbeCaseSensitive(boolean state)
public void setOperatorOr()
public boolean isUsingQbeExactMatch()
public java.lang.String[][] getQbe()
public void ignoreQbeExactMatchSet(boolean flag)
flag
- What value to give the ignore-the-Qbe-Exact-Match-flag flag.public boolean isIgnoreQbeExactMatchSet()
public void setGanttConfigInfo(IGanttConfigInfo ganttConfigInfo)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException