lumis.doui.table.filter
Interface ITableSourceFilter

Package class diagram package ITableSourceFilter
All Superinterfaces:
ISourceFilter<TableSource>
All Known Implementing Classes:
AbstractTableSourceFilter, CommentContentFilter, CompositeTableSourceFilter, ContentTableSourceFilter, ContentVersionIdReaderTableSourceFilter, DatabaseViewFieldFilter, DatabaseViewFormulaEntryFilter, DependentServiceInstanceIdFilter, DomainScopeFilter, FileManagementPropertiesInterfaceFilter, MetaDataSourceFilter, MonthTableSourceFilter, TableSourceFilter

@StableMinor(version="6.2",
             sinceVersion="4.0")
public interface ITableSourceFilter
extends ISourceFilter<TableSource>

Defines the methods of a table source filter. Implementations of this interface are not expected to be thread-safe.

Since:
4.0.5

Method Summary
 ITableSourceFilter getFilter(String filterId)
          Returns the filter with the given id.
 IQueryFilter getQueryFilter(QueryBase queryBase, IParameters parameters)
          Returns the query filter to be used with the given query.
 
Methods inherited from interface lumis.doui.source.filter.ISourceFilter
getInputControlType, init
 

Method Detail

getQueryFilter

IQueryFilter getQueryFilter(QueryBase queryBase,
                            IParameters parameters)
                            throws PortalException,
                                   RequiredFilterValueException
Returns the query filter to be used with the given query.

Parameters:
queryBase - the query.
parameters - the parameters to be used for the filter.
Returns:
the query filter.
Throws:
RequiredFilterValueException - when a required value for the filter was not given. No results should be shown when this happen.
PortalException
Since:
4.0.5

getFilter

ITableSourceFilter getFilter(String filterId)
                             throws PortalException
Description copied from interface: ISourceFilter
Returns the filter with the given id. The filter instances should use a chain of responsability with their children to find and return the requested source filter.

Specified by:
getFilter in interface ISourceFilter<TableSource>
Parameters:
filterId - the filter id.
Returns:
return the filter instance or null if the corresponding filter was not found.
Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.