| |
|
| java.lang.Object org.objectweb.alarm.beans.ViewProxy
ViewProxy | public class ViewProxy (Code) | | proxy used to access the "View" session bean. must be instantiated by JSP's
with a tag like this:
|
Constructor Summary | |
public | ViewProxy() constructor: Create here the EJB session. |
ViewProxy | public ViewProxy()(Code) | | constructor: Create here the EJB session.
|
alarmLevel | public int alarmLevel(String profilName)(Code) | | Parameters: profilName - the name of the profil the maximum level of alarm for this Profil. |
forgetAlarm | public void forgetAlarm(String pk)(Code) | | Forget this Alarm because it has been treated.
Parameters: pk - primary key |
getAllAlarms | public AlarmData[] getAllAlarms()(Code) | | RO attribute: list of all alarms on the current Profil |
getErrorMessage | public String getErrorMessage()(Code) | | error message if any |
getNewAlarms | public AlarmData[] getNewAlarms()(Code) | | RO attribute: list of new alarms on the current Profil |
getProfil | public String getProfil()(Code) | | RW attribute: Profil used. |
getProfils | public String[] getProfils()(Code) | | RO attribute: Get all Profils already created by Alarm Manager. |
newProfil | public String newProfil(String device, String level)(Code) | | Creates a new Profil
Parameters: device - the name of the device Parameters: level - the severity level the newly created profil |
removeProfil | public void removeProfil(String profil)(Code) | | remove a Profil
Parameters: profil - name of the profil to remove |
setProfil | public void setProfil(String p)(Code) | | Set the current profil
Parameters: p - the name of the profil |
|
|
|