Public Member Functions

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

Inheritance diagram for cern.laser.client.services.selection.FilterSelection:
cern.laser.client.impl.services.selection.FilterSelectionImpl

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
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
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
Filter [] cern.laser.client.services.selection.FilterSelection.list (  ) 

List the defined filters.

Returns:
an array containing the defined alarm property filters
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
String cern.laser.client.services.selection.FilterSelection.toSQLString (  ) 

Return the SQL-like representation of the filters selection.

Returns:
the SQL string representation

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties