|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.doui.table.filter.CompositeTableSourceFilter
public class CompositeTableSourceFilter
A source filter that is composed of a list of source filters.
Constructor Summary | |
---|---|
CompositeTableSourceFilter()
|
Method Summary | |
---|---|
ITableSourceFilter |
getFilter(String filterId)
Returns the filter with the given id. |
String |
getInputControlType()
Returns the input control type for this filter doui frontend. |
IQueryFilter |
getQueryFilter(QueryBase queryBase,
IParameters parameters)
Returns the query filter to be used with the given query. |
void |
init(TableSource source,
Node filtersNode)
Creates and initializes the filters inside this composite filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeTableSourceFilter()
Method Detail |
---|
public void init(TableSource source, Node filtersNode) throws PortalException
init
in interface ISourceFilter<TableSource>
source
- the source the filter belongs to.filtersNode
- the filter definition node.
PortalException
- if the filter could not initialize itself.public IQueryFilter getQueryFilter(QueryBase queryBase, IParameters parameters) throws PortalException, RequiredFilterValueException
ITableSourceFilter
getQueryFilter
in interface ITableSourceFilter
queryBase
- the query.parameters
- the parameters to be used for the filter.
PortalException
RequiredFilterValueException
- when a required value for the filter
was not given. No results should be shown when this happen.public ITableSourceFilter getFilter(String filterId) throws PortalException
ISourceFilter
getFilter
in interface ISourceFilter<TableSource>
getFilter
in interface ITableSourceFilter
filterId
- the filter id.
PortalException
public String getInputControlType() throws PortalException
ISourceFilter
getInputControlType
in interface ISourceFilter<TableSource>
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |