|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The BPELProcessDAO
abstracts the underlying data access
implementation for BPELProcess
objects to enable transparent
access to the data source.
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 . |
Method Detail |
public java.lang.String insert(BPELProcess process) throws DAOException
BPELProcess
.
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
BPELProcess
given its name.
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
BPELProcess
given its name.
name
- the name of the BPELProcess
to delete
DAOException
- to indicate that there went something wrongpublic void deleteAll() throws DAOException
BPELProcess
es.
DAOException
- to indicate that there went something wrongpublic void update(BPELProcess process) throws DAOException
BPELProcess
.
process
- the BPELProcess
to update
DAOException
- to indicate that there went something wrongpublic java.lang.String replace(BPELProcess process) throws DAOException
BPELProcess
.
If the process doesn't exist it will be insert
ed,
otherwise it will be update
d.
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 |