cern::laser::client::services::selection::FilterSelection Interface Reference

Inheritance diagram for cern::laser::client::services::selection::FilterSelection:
Inheritance graph
[legend]

List of all members.

Public Member Functions

boolean add (Filter filter)
boolean addAll (Collection filters)
boolean remove (Filter filter)
boolean contains (Filter filter)
Filter[] list ()
String toSQLString ()

Detailed Description

The filters selection interface. It is the part of an alarm selection containing the defined alarm property filters.


Member Function Documentation

boolean cern::laser::client::services::selection::FilterSelection::add ( Filter  filter  ) 

Add a new filter.

Parameters:
filter the filter to add
Returns:
true if this selection did not already contain the specified filter

Implemented in cern::laser::client::impl::services::selection::FilterSelectionImpl.

Referenced by cern::laser::client::TestFilter::TestFilter(), and cern::laser::client::TestSearch::TestSearch().

boolean cern::laser::client::services::selection::FilterSelection::addAll ( Collection  filters  ) 

Adds all of the filters in the specified collection to this selection if they're not already present.

Returns:
true if this selection changed as a result of the call
Parameters:
filters collection whose elements are to be added to this selection

Implemented in cern::laser::client::impl::services::selection::FilterSelectionImpl.

Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::createConfiguration().

boolean cern::laser::client::services::selection::FilterSelection::contains ( Filter  filter  ) 

Check if the filter is already defined.

Parameters:
filter the filter to check
Returns:
true iff the filter is part of the selection

Implemented in cern::laser::client::impl::services::selection::FilterSelectionImpl.

Filter [] cern::laser::client::services::selection::FilterSelection::list (  ) 

List the defined filters.

Returns:
an array containing the defined alarm property filters

Implemented in cern::laser::client::impl::services::selection::FilterSelectionImpl.

boolean cern::laser::client::services::selection::FilterSelection::remove ( Filter  filter  ) 

Remove a filter.

Parameters:
filter the filter to be removed
Returns:
true if the selection contained the specified filter

Implemented in cern::laser::client::impl::services::selection::FilterSelectionImpl.

String cern::laser::client::services::selection::FilterSelection::toSQLString (  ) 

The documentation for this interface was generated from the following file:

Generated by  doxygen 1.6.2