|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is an API interface for configuring alert/event filters. New Filters
are created with the help of FilterObject objects.
| Method Summary | |
boolean |
deleteFilterActions(java.lang.String filtername,
java.lang.String[] actions)
To delete actions of a filter on the server. |
boolean |
deleteFilters(java.lang.String[] filternames)
To delete the filters on the server given their names. |
FilterObject[] |
getCompleteList()
To get all the filters on the server. |
FilterObject[] |
getFilters(java.lang.String[] filternames)
To get the filters given their names. |
FilterObject[] |
getFiltersFromFile(java.lang.String file)
To get all the filters from the file. |
boolean |
saveFiltersToFile(FilterObject[] objs,
java.lang.String file)
To save a set of filters to a file. |
boolean |
setFilterActions(java.lang.String filtername,
FilterAction[] actions,
boolean deleteOldActions)
To set actions to a filter on the server. |
boolean |
setFilters(FilterObject[] objs)
To set a list of filters on the server. |
| Method Detail |
public boolean setFilters(FilterObject[] objs)
throws java.rmi.RemoteException,
NmsStorageException,
FaultException
objs - The array of FilterObject objects.java.rmi.RemoteException - if request fails in remote machineNmsStorageException - if any error occurs while doing storage operationsFaultException - if any other exception occurs while processing the method.FilterObject
public boolean setFilterActions(java.lang.String filtername,
FilterAction[] actions,
boolean deleteOldActions)
throws java.rmi.RemoteException,
NmsStorageException,
FaultException
filtername - The name of the filter.actions - The array of FilterAction objects representing actions.deleteOldActions - Whether to delete the existing actions or not.java.rmi.RemoteException - if request fails in remote machineNmsStorageException - if any error occurs while doing storage operationsFaultException - if any other exception occurs while processing the method.FilterAction
public FilterObject[] getCompleteList()
throws java.rmi.RemoteException
java.rmi.RemoteException - FilterObject
public FilterObject[] getFilters(java.lang.String[] filternames)
throws java.rmi.RemoteException,
FaultException
filternames - An array of names of the filters.java.rmi.RemoteException - if request fails in remote machineFaultException - if any other exception occurs while processing the method.FilterObject
public boolean deleteFilters(java.lang.String[] filternames)
throws java.rmi.RemoteException,
NmsStorageException,
FaultException
filternames - An array of names of the filters.java.rmi.RemoteException - if request fails in remote machineNmsStorageException - if any error occurs while doing storage operationsFaultException - if any other exception occurs while processing the method.
public boolean deleteFilterActions(java.lang.String filtername,
java.lang.String[] actions)
throws java.rmi.RemoteException,
NmsStorageException,
FaultException
filtername - The name of the filter.actions - An array of names of actions which have to be deleted.java.rmi.RemoteException - if request fails in remote machineNmsStorageException - if any error occurs while doing storage operationsFaultException - if any other exception occurs while processing the method.
public boolean saveFiltersToFile(FilterObject[] objs,
java.lang.String file)
throws java.rmi.RemoteException,
NmsStorageException,
FaultException
objs - array of FilterObject objects each representing a filter.file - the name of the filejava.rmi.RemoteException - if request fails in remote machineNmsStorageException - if any error occurs while doing storage operationsFaultException - if any other exception occurs while processing the method.FilterObject
public FilterObject[] getFiltersFromFile(java.lang.String file)
throws java.rmi.RemoteException,
FaultException
file - the name of the file.java.rmi.RemoteException - if request fails in remote machineFaultException - if any other exception occurs while processing the method.FilterObject
|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||