lumis.portal.monitor
Interface ICategory

Package class diagram package ICategory

public interface ICategory

A category of monitored IEvent's. A category has the objective to organize events into groups.

Since:
4.1.0

Method Summary
 void addEvent(IEvent event)
          Adds an event to this category.
 String getDescription()
          Returns the description for this category.
 Collection<? extends IEvent> getEvents()
          Returns the collection of events that belong to this category.
 String getId()
          Returns the identifier for this category.
 String getName()
          Returns the name for this category.
 String getStringResourcePath()
          The string resource path for localizing this category's strings.
 void setDescription(String description)
          Sets the description for this category.
 void setName(String name)
          Sets the name for this category.
 void setStringResourcePath(String stringResourcePath)
          Sets the string resource path for this category.
 

Method Detail

getId

String getId()
Returns the identifier for this category.

Returns:
the identifier for this category.
Since:
4.1.0

getEvents

Collection<? extends IEvent> getEvents()
Returns the collection of events that belong to this category.

Returns:
this category's events.
Since:
4.1.0

addEvent

void addEvent(IEvent event)
Adds an event to this category. If the event belongs to another category it will be removed from it when persisted.

Parameters:
event - the event to add.
Since:
4.1.0

getDescription

String getDescription()
Returns the description for this category. The description is localizable using getStringResourcePath().

Returns:
the description for this category.
Since:
4.1.0

setDescription

void setDescription(String description)
Sets the description for this category.

Parameters:
description - the description to set.
Since:
4.1.0
See Also:
getDescription()

getName

String getName()
Returns the name for this category. The name is localizable using getStringResourcePath().

Returns:
the name for this category.
Since:
4.1.0

setName

void setName(String name)
Sets the name for this category.

Parameters:
name - the name.
Since:
4.1.0
See Also:
getName()

getStringResourcePath

String getStringResourcePath()
The string resource path for localizing this category's strings.

Returns:
the string resource path.
Since:
4.1.0

setStringResourcePath

void setStringResourcePath(String stringResourcePath)
Sets the string resource path for this category.

Parameters:
stringResourcePath - the string resource path.
Since:
4.1.0
See Also:
getStringResourcePath()


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.