lumis.portal.monitor
Interface ICategory

Package class diagram package ICategory

@StableMinor(version="6.2",
             sinceVersion="4.1")
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  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.