|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MOQuery
A managed object query is used to lookup managed objects, for example in
a MOServer repository.
| Method Summary | |
|---|---|
MOContextScope |
getScope()
Gets the search range of this query. |
boolean |
isWriteAccessQuery()
Indicates whether this query is issued on behalf of an intended write access on the ManagedObjects matched by this query. |
boolean |
matchesQuery(ManagedObject managedObject)
Checks whether a managed object matches the internal query criteria defined by this query. |
void |
substractScope(MOScope scope)
Changes the query to no longer match (cover) the specified scope. |
| Method Detail |
|---|
MOContextScope getScope()
MORange instance denoting upper and lower bound
of this queries scope.boolean matchesQuery(ManagedObject managedObject)
managedObject - the ManagedObject instance to check.
true if the managedObject matches the query.void substractScope(MOScope scope)
MutableMOScope interface, then this method will throw an
UnsupportedOperationException.
scope - a MOScope instance that defines the range of OIDs
that should be no longer in the scope of this query.boolean isWriteAccessQuery()
true if this query is performed to change or create a
managed object matching this query and false if the
query is for read-only access on the matched managed objects.
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||