|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.controller.nodefilter.NodeFilter
public class NodeFilter
Provides a session storage wrapper around the filter criteria.
Field Summary | |
---|---|
static String |
IS_LAST_EDITOR_RADIO
|
static String |
IS_TAG_RADIO
|
Fields inherited from interface com.sri.emo.controller.nodefilter.FilterKeyConstants |
---|
ALL_FILTER_KEYS, FILTER_GROUP, FILTER_KEY, FILTER_LAST_EDITOR, FILTER_TAGS, FILTER_WORDS, TAG_OR_LAST_EDITOR_RADIO |
Constructor Summary | |
---|---|
NodeFilter(ExpressoRequest request)
Constructs a filter for the given request |
Method Summary | |
---|---|
void |
addFiltersToMulti(MultiDBObject multi,
Node samplenode)
add any filters to the multiDBObject supplied. |
void |
addInputs(ExpressoResponse response)
|
void |
addLasteditorFilter(Node samplenode)
add filtering for last editor |
Attribute |
getFilterAttribute()
attribute filtering involves some field of an attribute associated with a given node |
MultiDBObject |
getMulti(Node samplenode)
|
boolean |
isFiltered()
|
boolean |
isFilteringWords()
|
void |
saveNewCriteria()
get criteria from request and replace in session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String IS_TAG_RADIO
public static final String IS_LAST_EDITOR_RADIO
Constructor Detail |
---|
public NodeFilter(ExpressoRequest request)
Method Detail |
---|
public boolean isFiltered() throws ControllerException, DBException
ControllerException
DBException
public Attribute getFilterAttribute() throws DBException
DBException
public void addLasteditorFilter(Node samplenode) throws ControllerException, DBException
ControllerException
DBException
public boolean isFilteringWords() throws ControllerException
ControllerException
public void addFiltersToMulti(MultiDBObject multi, Node samplenode) throws ControllerException, DBException
multi
- a multiobject with already-added sample node objectsamplenode
-
ControllerException
DBException
public MultiDBObject getMulti(Node samplenode) throws DBException, ControllerException
DBException
ControllerException
public void addInputs(ExpressoResponse response) throws DBException, ControllerException
DBException
ControllerException
public void saveNewCriteria() throws ControllerException
ControllerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |