|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.registry.jdbc.handlers.filters.Filter
public abstract class Filter
Base class of all filter implementations. All handlers have to be registered in the jdbc registry with a filter implementation. Filter implementations determine the conditions to invoke the associating handler.
| Field Summary | |
|---|---|
static int |
DELETE
|
static int |
GET
|
static int |
IMPORT
|
static int |
IMPORT_CHILD
|
static int |
PUT
|
static int |
PUT_CHILD
|
| Constructor Summary | |
|---|---|
Filter()
|
|
| Method Summary | |
|---|---|
abstract boolean |
handleDelete(RequestContext requestContext)
Determines whether the associating handler should handle the delete action. |
abstract boolean |
handleGet(RequestContext requestContext)
Determines whether the associating handler should handle the get action. |
abstract boolean |
handleImportChild(RequestContext requestContext)
Determines whether the associating handler should handle the importChild action. |
abstract boolean |
handleImportResource(RequestContext requestContext)
Determines whether the associating handler should handle the import resource action. |
abstract boolean |
handlePut(RequestContext requestContext)
Determines whether the associating handler should handle the put action. |
abstract boolean |
handlePutChild(RequestContext requestContext)
Determines whether the associating handler should handle the putChild action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int GET
public static final int PUT
public static final int DELETE
public static final int IMPORT
public static final int PUT_CHILD
public static final int IMPORT_CHILD
| Constructor Detail |
|---|
public Filter()
| Method Detail |
|---|
public abstract boolean handleGet(RequestContext requestContext)
throws RegistryException
requestContext - Information about the current requestContext.
RegistryException - Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.
public abstract boolean handlePut(RequestContext requestContext)
throws RegistryException
requestContext - Information about the current requestContext.
RegistryException - Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.
public abstract boolean handleImportResource(RequestContext requestContext)
throws RegistryException
requestContext - Information about the current requestContext.
RegistryException - Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.
public abstract boolean handleDelete(RequestContext requestContext)
throws RegistryException
requestContext - Information about the current requestContext.
RegistryException - Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.
public abstract boolean handlePutChild(RequestContext requestContext)
throws RegistryException
requestContext - Information about the current requestContext.
RegistryException - Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.
public abstract boolean handleImportChild(RequestContext requestContext)
throws RegistryException
requestContext - Information about the current requestContext.
RegistryException - Filter impls should deal with the specific exceptions and throw
a RegistryException if the exception has to be propagated to the surface.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||