Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

List of all members.

Public Member Functions

boolean add (Category category)
boolean addAll (Collection categories)
boolean remove (Category category)
boolean contains (Category category)
Category[] list ()

Detailed Description

The category selection interface. It is the part of an alarm selection containing the interested categories.


Member Function Documentation

boolean cern::laser::client::services::selection::CategorySelection::add Category  category  ) 
 

boolean cern::laser::client::services::selection::CategorySelection::addAll Collection  categories  ) 
 

Adds all of the categories 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:
categories collection whose elements are to be added to this selection

boolean cern::laser::client::services::selection::CategorySelection::contains Category  category  ) 
 

Check if the category is part of the selection.

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

Category [] cern::laser::client::services::selection::CategorySelection::list  ) 
 

List the selected categories.

Returns:
an array containing the selected categories

boolean cern::laser::client::services::selection::CategorySelection::remove Category  category  ) 
 

Remove a category from the selection.

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


The documentation for this interface was generated from the following file:
Generated on Thu Apr 30 03:08:54 2009 for ACS Java API by doxygen 1.3.8