|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bexee.dao.JDOBPELProcessDAO
This class uses JDO to store and load BPELProcess
objects.
Constructor Summary | |
JDOBPELProcessDAO()
|
Method Summary | |
void |
delete(java.lang.String name)
Deletes a BPELProcess given its name. |
void |
deleteAll()
Deletes a *ALL* BPELProcess es. |
BPELProcess |
find(java.lang.String name)
Finds a BPELProcess given its name. |
java.lang.String |
insert(BPELProcess process)
Inserts a new BPELProcess . |
java.lang.String |
replace(BPELProcess process)
Replaces an existing BPELProcess .
|
void |
update(BPELProcess process)
Updates an existing BPELProcess . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDOBPELProcessDAO()
Method Detail |
public java.lang.String insert(BPELProcess process) throws DAOException
BPELProcessDAO
BPELProcess
.
insert
in interface BPELProcessDAO
process
- the BPELProcess
to insert
BPELProcess
which serves as a
unique identifier
DAOException
- to indicate that there went something wrongpublic BPELProcess find(java.lang.String name) throws DAOException
BPELProcessDAO
BPELProcess
given its name.
find
in interface BPELProcessDAO
name
- the name of the BPELProcess
to find
BPELProcess
or null if no
BPELProcess
matches the given name
DAOException
- to indicate that there went something wrongpublic void delete(java.lang.String name) throws DAOException
BPELProcessDAO
BPELProcess
given its name.
delete
in interface BPELProcessDAO
name
- the name of the BPELProcess
to delete
DAOException
- to indicate that there went something wrongpublic void deleteAll() throws DAOException
BPELProcessDAO
BPELProcess
es.
deleteAll
in interface BPELProcessDAO
DAOException
- to indicate that there went something wrongpublic void update(BPELProcess process) throws DAOException
BPELProcessDAO
BPELProcess
.
update
in interface BPELProcessDAO
process
- the BPELProcess
to update
DAOException
- to indicate that there went something wrongpublic java.lang.String replace(BPELProcess process) throws DAOException
BPELProcessDAO
BPELProcess
.
If the process doesn't exist it will be insert
ed,
otherwise it will be update
d.
replace
in interface BPELProcessDAO
process
- the BPELProcess
to replace
BPELProcess
. This will be a new id
in case the BPELProcess
is insert
ed or the id of the update
d
BPELProcess
.
DAOException
- to indicate that there went something wrong
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |