lumis.content.source.filter
Class MetaDataSourceFilter

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

Deprecated. Since 4.2.0, due to changes in content storage structure.

@Deprecated
public class MetaDataSourceFilter
extends TableSourceFilter

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

Constructor Summary
MetaDataSourceFilter()
          Deprecated.  
 
Method Summary
protected  String calculateFilterOperator(Node filterNode)
          Deprecated. Always return the equals operator, just to be a valid binary operator and the extended TableSourceFilter 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, isOrNull, isRequired, isValueInLookup, setDefinition, setFieldId, setFilterValue, setOperator, setOrNull, setParameters, setRequired, setValueInLookup, shouldHideAllResults
 
Methods inherited from class lumis.doui.table.filter.AbstractTableSourceFilter
getFilter, getId, getSource, setId, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataSourceFilter

public MetaDataSourceFilter()
Deprecated. 
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 extended TableSourceFilter to behave as expected.

Overrides:
calculateFilterOperator in class TableSourceFilter
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 class TableSourceFilter
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


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