lumis.doui.source.filter
Interface ISourceFilter<S extends Source>

Package class diagram package ISourceFilter
All Known Subinterfaces:
ITableSourceFilter
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 ISourceFilter<S extends Source>

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

Since:
4.0.5

Method Summary
 ISourceFilter<? extends S> getFilter(String filterId)
          Returns the filter with the given id.
 String getInputControlType()
          Returns the input control type for this filter doui frontend.
 void init(S source, Node filterNode)
          Initialization method, called before any other method on the filter instance.
 

Method Detail

init

void init(S source,
          Node filterNode)
          throws PortalException
Initialization method, called before any other method on the filter instance.

Parameters:
source - the source the filter belongs to.
filterNode - the filter definition node.
Throws:
PortalException - if the filter could not initialize itself.
Since:
4.0.5

getFilter

ISourceFilter<? extends S> getFilter(String filterId)
                                                    throws PortalException
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.

Parameters:
filterId - the filter id.
Returns:
return the filter instance or null if the corresponding filter was not found.
Throws:
PortalException
Since:
4.0.5

getInputControlType

String getInputControlType()
                           throws PortalException
Returns the input control type for this filter doui frontend.

Returns:
the input control type, or null if there is no frontend for this filter instance.
Throws:
PortalException
Since:
4.0.5


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