lumis.doui.table.filter
Class AbstractTableSourceFilter

Package class diagram package AbstractTableSourceFilter
java.lang.Object
  extended by lumis.doui.table.filter.AbstractTableSourceFilter
All Implemented Interfaces:
ISourceFilter<TableSource>, ITableSourceFilter
Direct Known Subclasses:
TableSourceFilter

public abstract class AbstractTableSourceFilter
extends Object
implements ITableSourceFilter

Base class for table source filters.

Since:
4.1.0

Constructor Summary
AbstractTableSourceFilter()
           
 
Method Summary
 ITableSourceFilter getFilter(String filterId)
          Returns the filter with the given id.
 String getId()
           
 String getInputControlType()
          Returns the input control type for this filter doui frontend.
 TableSource getSource()
           
 void init(TableSource source, Node filterNode)
          Initialization method, called before any other method on the filter instance.
 void setId(String id)
           
 void setSource(TableSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface lumis.doui.table.filter.ITableSourceFilter
getQueryFilter
 

Constructor Detail

AbstractTableSourceFilter

public AbstractTableSourceFilter()
Method Detail

init

public void init(TableSource source,
                 Node filterNode)
          throws PortalException
Description copied from interface: ISourceFilter
Initialization method, called before any other method on the filter instance.

Specified by:
init in interface ISourceFilter<TableSource>
Parameters:
source - the source the filter belongs to.
filterNode - the filter definition node.
Throws:
PortalException - if the filter could not initialize itself.

getFilter

public 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>
Specified by:
getFilter in interface ITableSourceFilter
Parameters:
filterId - the filter id.
Returns:
return the filter instance or null if the corresponding filter was not found.
Throws:
PortalException

getInputControlType

public String getInputControlType()
                           throws PortalException
Description copied from interface: ISourceFilter
Returns the input control type for this filter doui frontend.

Specified by:
getInputControlType in interface ISourceFilter<TableSource>
Returns:
the input control type, or null if there is no frontend for this filter instance.
Throws:
PortalException

getId

public String getId()

setId

public void setId(String id)

getSource

public TableSource getSource()

setSource

public void setSource(TableSource source)


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.