|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiitb.con.ds.ActionBufferList<T>
public class ActionBufferList<T>
ActionBufferList is state buffer for performing actions to the database. The buffer holds the objects along with its action information.
| Nested Class Summary | |
|---|---|
static class |
ActionBufferList.Action
|
| Constructor Summary | |
|---|---|
ActionBufferList()
Initializes the action buffers |
|
| Method Summary | |
|---|---|
boolean |
add(java.lang.Object o,
int size,
ActionBufferList.Action action)
Adds the object to the respective action buffer |
void |
clear()
Clears the action buffers and resets the size to zero |
java.util.List<T> |
getAddList()
Returns the add action list |
java.util.List<T> |
getMetaUpdateList()
Returns the meta update action list |
java.util.List<T> |
getRemoveList()
Returns the update action list |
java.util.List<T> |
getUpdateList()
Returns the update action list |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionBufferList()
| Method Detail |
|---|
public boolean add(java.lang.Object o,
int size,
ActionBufferList.Action action)
o - object to be added to buffersize - object sizeaction - action on the object
public void clear()
public java.util.List<T> getAddList()
public java.util.List<T> getMetaUpdateList()
public java.util.List<T> getRemoveList()
public java.util.List<T> getUpdateList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||