Package lumis.service.group
Class DomainScopeFilter
- java.lang.Object
-
- lumis.doui.table.filter.AbstractTableSourceFilter
-
- lumis.doui.table.filter.TableSourceFilter
-
- lumis.service.group.DomainScopeFilter
-
- All Implemented Interfaces:
ISourceFilter<TableSource>
,ITableSourceFilter
public class DomainScopeFilter extends TableSourceFilter
Filters according the custom propertydomain
value.- Since:
- 5.0.0
- Version:
- $Revision: 20820 $ $Date: 2017-12-07 17:53:40 -0200 (Thu, 07 Dec 2017) $
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description DomainScopeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, isEnabled, isOrNull, isRequired, isValueInLookup, setDefinition, setFieldId, setFilterValue, setOperator, setOrNull, setParameters, setRequired, setValueInLookup, shouldHideAllResults
-
-
-
-
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 isGLOBAL_DOMAIN_VALUE
.- Since:
- 5.0.0
- See Also:
GLOBAL_DOMAIN_VALUE
-
-
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 classTableSourceFilter
- 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 classTableSourceFilter
- Parameters:
filterNode
- the filter definition node.- Returns:
- the filter value.
- Throws:
PortalException
-
-