Interface Configuration
- All Superinterfaces:
- Comparable<Configuration>
- All Known Implementing Classes:
- DesignTimeConfiguration,- RunTimeConfiguration
A configuration is a set of filter components.
- 
Method SummaryModifier and TypeMethodDescriptiongetFilterComponentDefaultValue(String parameterName) Returns a default value ofFilterComponentby parameter name.getId()getName()getOwner()default booleanReturns whether the configuration is available for all usersbooleanisFilterComponentModified(FilterComponent filterComponent) Returns whether theFilterComponentof configuration is modified.booleanvoidSets null as the default value for all configuration filter components.voidresetFilterComponentDefaultValue(String parameterName) Resets a default value ofFilterComponent.default voidsetAvailableForAllUsers(boolean availableForAllUsers) Sets whether the configuration is available for all users or notvoidsetFilterComponentDefaultValue(String parameterName, Object defaultValue) Sets a default value ofFilterComponentfor the configuration by the parameter name.voidsetFilterComponentModified(FilterComponent filterComponent, boolean modified) Sets whether theFilterComponentof configuration is modified.voidsetModified(boolean modified) Sets whether configuration is modified.voidSets the name of configuration.voidsetRootLogicalFilterComponent(LogicalFilterComponent<?> rootLogicalFilterComponent) Sets the root element of configuration.Methods inherited from interface java.lang.ComparablecompareTo
- 
Method Details- 
getOwnerGenericFilter getOwner()- Returns:
- a GenericFilterowning the configuration
 
- 
getIdString getId()- Returns:
- a configuration id
 
- 
getName- Returns:
- a configuration name
 
- 
setNameSets the name of configuration. This method is only available for theRunTimeConfiguration.- Parameters:
- name- a configuration name
- See Also:
 
- 
getRootLogicalFilterComponentLogicalFilterComponent<?> getRootLogicalFilterComponent()- Returns:
- a root element of configuration
- See Also:
 
- 
setRootLogicalFilterComponentSets the root element of configuration. This method is only available for theRunTimeConfiguration.- Parameters:
- rootLogicalFilterComponent- a root element of configuration
- See Also:
 
- 
getQueryConditionLogicalCondition getQueryCondition()- Returns:
- a LogicalConditionrelated to the configuration
 
- 
isModifiedboolean isModified()- Returns:
- true if the configuration is modified
 
- 
setModifiedvoid setModified(boolean modified) Sets whether configuration is modified. If a filter component is modified, then a remove button appears next to it.- Parameters:
- modified- whether configuration is modified.
 
- 
isFilterComponentModifiedReturns whether theFilterComponentof configuration is modified. If a filter component is modified, then a remove button appears next to it.- Parameters:
- filterComponent- the filter component to check
- Returns:
- whether the filter component of configuration is modified
 
- 
setFilterComponentModifiedSets whether theFilterComponentof configuration is modified. If a filter component is modified, then a remove button appears next to it.- Parameters:
- filterComponent- a filter component
- modified- whether the filter component of configuration is modified
 
- 
setFilterComponentDefaultValueSets a default value ofFilterComponentfor the configuration by the parameter name. This allows the default values to be saved and displayed in the configuration editor.- Parameters:
- parameterName- a parameter name of filter component
- defaultValue- a default value
 
- 
resetFilterComponentDefaultValueResets a default value ofFilterComponent. The default value for the filter component becomes null.- Parameters:
- parameterName- a parameter name of filter component
 
- 
getFilterComponentDefaultValueReturns a default value ofFilterComponentby parameter name.- Parameters:
- parameterName- a parameter name of filter component
- Returns:
- a default value of filter component by parameter name
 
- 
resetAllDefaultValuesvoid resetAllDefaultValues()Sets null as the default value for all configuration filter components.
- 
isAvailableForAllUsersdefault boolean isAvailableForAllUsers()Returns whether the configuration is available for all users- Returns:
- true if the configuration is available for all users, otherwise false.
 
- 
setAvailableForAllUsersdefault void setAvailableForAllUsers(boolean availableForAllUsers) Sets whether the configuration is available for all users or not
 
-