|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcbr.service.PrivilegedUpdateAction
Used to make privileged calls to the update() method of a PicsStore.
| Field Summary | |
private Iterator |
i_
The iterator that iterates over the picture entries that shall be inserted into or deleted
from the index of a PicsStore. |
private int |
mode_
The mode, either MODE_INSERT
MODE_DELETE. |
private PicsStore |
store_
The PicsStore that is called. |
| Constructor Summary | |
PrivilegedUpdateAction(PicsStore store,
Iterator entries,
int mode)
Creates an instance that calls the given PicsStore. |
|
| Method Summary | |
Object |
run()
Executes the action. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private PicsStore store_
PicsStore that is called.
private Iterator i_
picture entries that shall be inserted into or deleted
from the index of a PicsStore.
private int mode_
MODE_INSERT
MODE_DELETE.
| Constructor Detail |
public PrivilegedUpdateAction(PicsStore store,
Iterator entries,
int mode)
store - The PicsStore to call.entries - The iterator that iterates over the picture entries.mode - The mode to use, either MODE_INSERT MODE_DELETE.| Method Detail |
public Object run()
throws Exception
run in interface PrivilegedExceptionActionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||