|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbexee.dao.MemoryProcessContextDAO
This class uses memory rather than persistent storage to store and load
ProcessContext objects.
| Field Summary | |
protected static java.util.Map |
map
|
| Constructor Summary | |
MemoryProcessContextDAO()
Creates a new MemoryProcessContextDAO that uses a static
Map to manage the stored ProcessContext
objects. |
|
| Method Summary | |
void |
delete(java.lang.String id)
Deletes a ProcessContext given its key. |
ProcessContext |
find(java.lang.String id)
Finds a ProcessContext given its key. |
java.lang.String |
insert(ProcessContext ctx)
Inserts a new ProcessContext. |
void |
update(ProcessContext ctx)
Updates an existing ProcessContext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static java.util.Map map
| Constructor Detail |
public MemoryProcessContextDAO()
MemoryProcessContextDAO that uses a static
Map to manage the stored ProcessContext
objects.
| Method Detail |
public void delete(java.lang.String id)
ProcessContextDAOProcessContext given its key.
delete in interface ProcessContextDAOpublic ProcessContext find(java.lang.String id)
ProcessContextDAOProcessContext given its key.
find in interface ProcessContextDAOid - the key of the ProcessContext to find
ProcessContext or null if no
ProcessContext matches the given keypublic java.lang.String insert(ProcessContext ctx)
ProcessContextDAOProcessContext.
insert in interface ProcessContextDAOctx - the ProcessContext to insert
ProcessContext
public void update(ProcessContext ctx)
throws DAOException
ProcessContextDAOProcessContext.
update in interface ProcessContextDAOctx - the ProcessContext to update
DAOException - to indicate that there went something wrong
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||