|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.console.filter.PropertiesViewFilter
public class PropertiesViewFilter
Field Summary | |
---|---|
protected QueryFilter |
next
|
protected Set |
viewFilter
|
Fields inherited from interface org.apache.activemq.console.filter.QueryFilter |
---|
QUERY_DELIMETER |
Constructor Summary | |
---|---|
PropertiesViewFilter(QueryFilter next)
Creates a filter that will select the properties of a map object to view |
|
PropertiesViewFilter(Set viewFilter,
QueryFilter next)
Creates a filter that will select the properties of a map object to view |
Method Summary | |
---|---|
protected Map<Object,Object> |
filterView(Map<Object,Object> data)
Select only the attributes to view from the map data |
protected List<Map<Object,Object>> |
filterViewCollection(Collection<Map<Object,Object>> result,
Set viewFilter)
Filter the view of each element in the collection |
List<Map<Object,Object>> |
query(List queries)
Filter the properties to view of the query result |
List<Map<Object,Object>> |
query(String query)
Filter the properties to view of the query result |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected QueryFilter next
protected Set viewFilter
Constructor Detail |
---|
public PropertiesViewFilter(QueryFilter next)
next
- - the next query filter that will return a collection of mapspublic PropertiesViewFilter(Set viewFilter, QueryFilter next)
viewFilter
- - the properties to viewnext
- - the next query filter that will return a collection of mapsMethod Detail |
---|
public List<Map<Object,Object>> query(String query) throws Exception
query
in interface QueryFilter
query
- - the query string
Exception
public List<Map<Object,Object>> query(List queries) throws Exception
query
in interface QueryFilter
queries
- - the query map
Exception
protected List<Map<Object,Object>> filterViewCollection(Collection<Map<Object,Object>> result, Set viewFilter)
result
- - the lists to filter the view fromviewFilter
- - the views to select
protected Map<Object,Object> filterView(Map<Object,Object> data)
data
- - data to filter the view from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |