|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bexee.dao.JDOProcessContextDAO
This class uses JDO to store and load ProcessContext
objects.
Constructor Summary | |
JDOProcessContextDAO()
|
Method Summary | |
void |
delete(java.lang.String id)
Deletes a ProcessContext given its key. |
ProcessContext |
find(java.lang.String key)
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 |
Constructor Detail |
public JDOProcessContextDAO()
Method Detail |
public java.lang.String insert(ProcessContext ctx) throws DAOException
ProcessContextDAO
ProcessContext
.
insert
in interface ProcessContextDAO
ctx
- the ProcessContext
to insert
ProcessContext
DAOException
- to indicate that there went something wrongpublic ProcessContext find(java.lang.String key) throws DAOException
ProcessContextDAO
ProcessContext
given its key.
find
in interface ProcessContextDAO
key
- the key of the ProcessContext
to find
ProcessContext
or null if no
ProcessContext
matches the given key
DAOException
- to indicate that there went something wrongpublic void delete(java.lang.String id) throws DAOException
ProcessContextDAO
ProcessContext
given its key.
delete
in interface ProcessContextDAO
DAOException
- to indicate that there went something wrongpublic void update(ProcessContext ctx) throws DAOException
ProcessContextDAO
ProcessContext
.
update
in interface ProcessContextDAO
ctx
- 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 |