|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilterAdminOperations
The FilterAdmin interface defines operations that enable an object supporting this interface to manage a list of filter objects, each of which supports the Filter interface. This interface is intended to be an abstract interface which is inherited by all of the Proxy and Admin interfaces defined by the Notification Service. The difference in the semantics between a list of filter objects that is associated with an Admin object, and a list that is associated with a Proxy object, is described in section 2.1.2 of the specifiaction.
Method Summary | |
---|---|
int |
add_filter(Filter new_filter)
The add_filter operation accepts as input the reference to an object supporting the Filter interface. |
int[] |
get_all_filters()
The get_all_filters operation accepts no input parameters, and returns the list of unique identifiers which correspond to all of the filters currently associated with the target object. |
Filter |
get_filter(int filter)
The get_filter operation accepts as input a numeric identifier that is intended to correspond to one of the filter objects currently associated with the target object. |
void |
remove_all_filters()
The remove_all_filters operation accepts no input parameters, and removes all filter objects from the list of those currently associated with the target object. |
void |
remove_filter(int filter)
The remove_filter operation accepts as input a numeric value that is intended to be the unique identifier of a filter object that is currently associated with the target object. |
Method Detail |
---|
int add_filter(Filter new_filter)
new_filter
- filter to add
void remove_filter(int filter) throws FilterNotFound
filter
- Id of the filter
FilterNotFound
- Id doesn't match to any filterFilter get_filter(int filter) throws FilterNotFound
filter
- Id of the filter to get
FilterNotFound
- Id doesn't match to any filterint[] get_all_filters()
void remove_all_filters()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |