|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DBAccessController
used to control access on database resources in an AbstractDatabase.
AbstractDatabase,
DBClassStore| Method Summary | |
|---|---|
void |
checkAccess(DBClassStore<?> store,
DBClassStore.DBMethod method,
Object parameter)
controls access to the database via the DBClassStore interface;
information on the state of the database (like its current user) can be accessed
through the given DBClassStore. |
| Method Detail |
|---|
void checkAccess(DBClassStore<?> store,
DBClassStore.DBMethod method,
Object parameter)
throws DBAccessDeniedWarning,
DatabaseException
DBClassStore interface;
information on the state of the database (like its current user) can be accessed
through the given DBClassStore. Calls to the methods getDatabase() and getEntryClass() go unchecked.
When this method is called by an AbstractDatabase, there is an ongoing transaction and the current thread is the owner of the transaction.
parameter - depending on the actual method called, this parameter is
either a Resource, its ID or a Filter; it may also be null.
DBAccessDeniedWarning - to indicate that the operation
is not to proceed due to security restrictions.
(E.g. the current user on the database of the given store may not have
sufficient rights to update the database.)
DatabaseExceptionDBClassStore,
DBEntry
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||