Package lumis.content.source.filter
Class MetaDataSourceFilter
- java.lang.Object
-
- lumis.doui.table.filter.AbstractTableSourceFilter
-
- lumis.doui.table.filter.TableSourceFilter
-
- lumis.content.source.filter.MetaDataSourceFilter
-
- All Implemented Interfaces:
ISourceFilter<TableSource>
,ITableSourceFilter
@Deprecated public class MetaDataSourceFilter extends TableSourceFilter
Deprecated.Since 4.2.0, due to changes incontent
storage structure.Generates a filter where the associated field must be equals to a metadata id.The metadata id used is obtained by this filter using its associated value as an itemId and searching for its corresponding metadata id.
- Since:
- 4.0.6
- Version:
- $Revision: 9601 $ $Date: 2008-07-18 15:38:17 -0300 (Fri, 18 Jul 2008) $
-
-
Constructor Summary
Constructors Constructor Description MetaDataSourceFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected String
calculateFilterOperator(Node filterNode)
Deprecated.Always return the equals operator, just to be a valid binary operator and the extendedTableSourceFilter
to behave as expected.IQueryFilter
getQueryFilter(QueryField queryField, IQueryValue queryValue)
Deprecated.Generate a query filter that filters the queryField by the metadata related to the given value (itemId request parameter).-
Methods inherited from class lumis.doui.table.filter.TableSourceFilter
calculateFilterValue, convertFilterStandardValue, convertOperatorStandardValue, getFieldId, getFilterValue, getInputControlType, getOperator, getParameters, getQueryFilter, init, init, isEnabled, isOrNull, isRequired, isValueInLookup, setDefinition, setFieldId, setFilterValue, setOperator, setOrNull, setParameters, setRequired, setValueInLookup, shouldHideAllResults
-
-
-
-
Method Detail
-
calculateFilterOperator
protected String calculateFilterOperator(Node filterNode) throws PortalException
Deprecated.Always return the equals operator, just to be a valid binary operator and the extendedTableSourceFilter
to behave as expected.- Overrides:
calculateFilterOperator
in classTableSourceFilter
- Parameters:
filterNode
- the filter definition node.- Returns:
- the filter operator.
- Throws:
PortalException
- Since:
- 4.0.6
-
getQueryFilter
public IQueryFilter getQueryFilter(QueryField queryField, IQueryValue queryValue) throws PortalException
Deprecated.Generate a query filter that filters the queryField by the metadata related to the given value (itemId request parameter).- Overrides:
getQueryFilter
in classTableSourceFilter
- Parameters:
queryField
- the query field that will be filtered.queryValue
- the query value. Must be the itemId value for a content.- Returns:
- the query filter.
- Throws:
PortalException
-
-