Interface Configuration
- All Superinterfaces:
 Comparable<Configuration>
- All Known Implementing Classes:
 DesignTimeConfiguration,RunTimeConfiguration
A configuration is a set of filter components.
- 
Method Summary
Modifier 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.Comparable
compareTo 
- 
Method Details
- 
getOwner
GenericFilter getOwner()- Returns:
 - a 
GenericFilterowning the configuration 
 - 
getId
String getId()- Returns:
 - a configuration id
 
 - 
getName
- Returns:
 - a configuration name
 
 - 
setName
Sets the name of configuration. This method is only available for theRunTimeConfiguration.- Parameters:
 name- a configuration name- See Also:
 
 - 
getRootLogicalFilterComponent
LogicalFilterComponent<?> getRootLogicalFilterComponent()- Returns:
 - a root element of configuration
 - See Also:
 
 - 
setRootLogicalFilterComponent
Sets the root element of configuration. This method is only available for theRunTimeConfiguration.- Parameters:
 rootLogicalFilterComponent- a root element of configuration- See Also:
 
 - 
getQueryCondition
LogicalCondition getQueryCondition()- Returns:
 - a 
LogicalConditionrelated to the configuration 
 - 
isModified
boolean isModified()- Returns:
 - true if the configuration is modified
 
 - 
setModified
void 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.
 - 
isFilterComponentModified
Returns 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
 
 - 
setFilterComponentModified
Sets whether theFilterComponentof configuration is modified. If a filter component is modified, then a remove button appears next to it.- Parameters:
 filterComponent- a filter componentmodified- whether the filter component of configuration is modified
 - 
setFilterComponentDefaultValue
Sets 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 componentdefaultValue- a default value
 - 
resetFilterComponentDefaultValue
Resets a default value ofFilterComponent. The default value for the filter component becomes null.- Parameters:
 parameterName- a parameter name of filter component
 - 
getFilterComponentDefaultValue
Returns a default value ofFilterComponentby parameter name.- Parameters:
 parameterName- a parameter name of filter component- Returns:
 - a default value of filter component by parameter name
 
 - 
resetAllDefaultValues
void resetAllDefaultValues()Sets null as the default value for all configuration filter components. - 
isAvailableForAllUsers
default boolean isAvailableForAllUsers()Returns whether the configuration is available for all users- Returns:
 - true if the configuration is available for all users, otherwise false.
 
 - 
setAvailableForAllUsers
default void setAvailableForAllUsers(boolean availableForAllUsers) Sets whether the configuration is available for all users or not 
 -