org.dbforms.interfaces
Interface IDbEventInterceptor

All Known Implementing Classes:
BlobInterceptor, DbEventInterceptorSupport

public interface IDbEventInterceptor

DOCUMENT ME!

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
static int DENY_OPERATION
          The constant defined for not granting the operation
static int GRANT_OPERATION
          The constant defined for granting the operation
static int IGNORE_OPERATION
          The constant defined for ignoring an operation after processing interceptors.
static int POST_ADDROW
          DOCUMENT ME!
static int POST_DELETE
          DOCUMENT ME!
static int POST_INSERT
          DOCUMENT ME!
static int POST_SELECT
          DOCUMENT ME!
static int POST_UPDATE
          DOCUMENT ME!
static int PRE_ADDROW
          DOCUMENT ME!
static int PRE_DELETE
          DOCUMENT ME!
static int PRE_INSERT
          DOCUMENT ME!
static int PRE_SELECT
          DOCUMENT ME!
static int PRE_UPDATE
          DOCUMENT ME!
 
Method Summary
 Map getParameterMap()
          DOCUMENT ME!
 void postAddRow(DbEventInterceptorData data)
          DOCUMENT ME!
 void postDelete(DbEventInterceptorData data)
          DOCUMENT ME!
 void postInsert(DbEventInterceptorData data)
          DOCUMENT ME!
 void postSelect(DbEventInterceptorData data)
          DOCUMENT ME!
 void postUpdate(DbEventInterceptorData data)
          DOCUMENT ME!
 int preAddRow(DbEventInterceptorData data)
          DOCUMENT ME!
 int preDelete(DbEventInterceptorData data)
          DOCUMENT ME!
 int preInsert(DbEventInterceptorData data)
          DOCUMENT ME!
 int preSelect(DbEventInterceptorData data)
          DOCUMENT ME!
 int preUpdate(DbEventInterceptorData data)
          DOCUMENT ME!
 void setParameterMap(Map params)
          DOCUMENT ME!
 

Field Detail

PRE_INSERT

static final int PRE_INSERT
DOCUMENT ME!

See Also:
Constant Field Values

POST_INSERT

static final int POST_INSERT
DOCUMENT ME!

See Also:
Constant Field Values

PRE_UPDATE

static final int PRE_UPDATE
DOCUMENT ME!

See Also:
Constant Field Values

POST_UPDATE

static final int POST_UPDATE
DOCUMENT ME!

See Also:
Constant Field Values

PRE_DELETE

static final int PRE_DELETE
DOCUMENT ME!

See Also:
Constant Field Values

POST_DELETE

static final int POST_DELETE
DOCUMENT ME!

See Also:
Constant Field Values

PRE_SELECT

static final int PRE_SELECT
DOCUMENT ME!

See Also:
Constant Field Values

POST_SELECT

static final int POST_SELECT
DOCUMENT ME!

See Also:
Constant Field Values

PRE_ADDROW

static final int PRE_ADDROW
DOCUMENT ME!

See Also:
Constant Field Values

POST_ADDROW

static final int POST_ADDROW
DOCUMENT ME!

See Also:
Constant Field Values

GRANT_OPERATION

static final int GRANT_OPERATION
The constant defined for granting the operation

See Also:
Constant Field Values

DENY_OPERATION

static final int DENY_OPERATION
The constant defined for not granting the operation

See Also:
Constant Field Values

IGNORE_OPERATION

static final int IGNORE_OPERATION
The constant defined for ignoring an operation after processing interceptors.

See Also:
Constant Field Values
Method Detail

setParameterMap

void setParameterMap(Map params)
DOCUMENT ME!

Parameters:
params - DOCUMENT ME!

getParameterMap

Map getParameterMap()
DOCUMENT ME!

Returns:
DOCUMENT ME!

postAddRow

void postAddRow(DbEventInterceptorData data)
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!

postDelete

void postDelete(DbEventInterceptorData data)
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!

postInsert

void postInsert(DbEventInterceptorData data)
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!

postSelect

void postSelect(DbEventInterceptorData data)
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!

postUpdate

void postUpdate(DbEventInterceptorData data)
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!

preAddRow

int preAddRow(DbEventInterceptorData data)
              throws ValidationException,
                     MultipleValidationException
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
ValidationException - DOCUMENT ME!
MultipleValidationException - DOCUMENT ME!

preDelete

int preDelete(DbEventInterceptorData data)
              throws ValidationException,
                     MultipleValidationException
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
ValidationException - DOCUMENT ME!
MultipleValidationException - DOCUMENT ME!

preInsert

int preInsert(DbEventInterceptorData data)
              throws ValidationException,
                     MultipleValidationException
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
ValidationException - DOCUMENT ME!
MultipleValidationException - DOCUMENT ME!

preSelect

int preSelect(DbEventInterceptorData data)
              throws ValidationException,
                     MultipleValidationException
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
ValidationException - DOCUMENT ME!
MultipleValidationException - DOCUMENT ME!

preUpdate

int preUpdate(DbEventInterceptorData data)
              throws ValidationException,
                     MultipleValidationException
DOCUMENT ME!

Parameters:
data - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
ValidationException - DOCUMENT ME!
MultipleValidationException - DOCUMENT ME!


Copyright © 2002-2006 DbForms. All Rights Reserved.