lumis.service.group
Class DomainScopeFilter

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

public class DomainScopeFilter
extends TableSourceFilter

Filters according the custom property domain value.

Since:
5.0.0

Field Summary
static String DOMAIN_CUSTOM_PROPERTY_NAME
          The name of the custom property used to store the domain.
static String GLOBAL_DOMAIN_VALUE
          The value used to represent the global domain.
 
Constructor Summary
DomainScopeFilter()
           
 
Method Summary
protected  String calculateFilterOperator(Node filterNode)
          Analyzes this filter and returns the operator that should be used with it.
protected  IQueryValue calculateFilterValue(Node filterNode)
          Analyzes this filter and returns the value that should be used with it.
 
Methods inherited from class lumis.doui.table.filter.TableSourceFilter
convertFilterStandardValue, convertOperatorStandardValue, getFieldId, getFilterValue, getInputControlType, getOperator, getParameters, getQueryFilter, 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
 

Field Detail

GLOBAL_DOMAIN_VALUE

public static String GLOBAL_DOMAIN_VALUE
The value used to represent the global domain.

Since:
5.0.0
See Also:
DOMAIN_CUSTOM_PROPERTY_NAME

DOMAIN_CUSTOM_PROPERTY_NAME

public static String DOMAIN_CUSTOM_PROPERTY_NAME
The name of the custom property used to store the domain.

For local domains, the value is the channel identifier, for all domains the value is null, and for global domain the value is GLOBAL_DOMAIN_VALUE.

Since:
5.0.0
See Also:
GLOBAL_DOMAIN_VALUE
Constructor Detail

DomainScopeFilter

public DomainScopeFilter()
Method Detail

calculateFilterOperator

protected String calculateFilterOperator(Node filterNode)
                                  throws PortalException
Description copied from class: TableSourceFilter
Analyzes this filter and returns the operator that should be used with it.

Overrides:
calculateFilterOperator in class TableSourceFilter
Parameters:
filterNode - the filter definition node.
Returns:
the filter operator.
Throws:
PortalException

calculateFilterValue

protected IQueryValue calculateFilterValue(Node filterNode)
                                    throws PortalException
Description copied from class: TableSourceFilter
Analyzes this filter and returns the value that should be used with it.

Overrides:
calculateFilterValue in class TableSourceFilter
Parameters:
filterNode - the filter definition node.
Returns:
the filter value.
Throws:
PortalException


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