|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbexee.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
BPELProcessDAOBPELProcess.
insert in interface BPELProcessDAOprocess - the BPELProcess to insert
BPELProcess which serves as a
unique identifier
DAOException - to indicate that there went something wrong
public BPELProcess find(java.lang.String name)
throws DAOException
BPELProcessDAOBPELProcess given its name.
find in interface BPELProcessDAOname - the name of the BPELProcess to find
BPELProcess or null if no
BPELProcess matches the given name
DAOException - to indicate that there went something wrong
public void delete(java.lang.String name)
throws DAOException
BPELProcessDAOBPELProcess given its name.
delete in interface BPELProcessDAOname - the name of the BPELProcess to delete
DAOException - to indicate that there went something wrong
public void deleteAll()
throws DAOException
BPELProcessDAOBPELProcess es.
deleteAll in interface BPELProcessDAODAOException - to indicate that there went something wrong
public void update(BPELProcess process)
throws DAOException
BPELProcessDAOBPELProcess.
update in interface BPELProcessDAOprocess - the BPELProcess to update
DAOException - to indicate that there went something wrong
public java.lang.String replace(BPELProcess process)
throws DAOException
BPELProcessDAOBPELProcess.
If the process doesn't exist it will be insert ed,
otherwise it will be updated.
replace in interface BPELProcessDAOprocess - 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 | ||||||||||