|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbexee.dao.MemoryBPELProcessDAO
This class uses memory rather than persistent storage to store and load
BPELProcess objects.
| Field Summary | |
protected static java.util.Map |
map
|
| Constructor Summary | |
MemoryBPELProcessDAO()
Creates a new MemoryBPELProcessDAO that uses a static
Map to manage the stored BPELProcess
objects. |
|
| 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 |
| Field Detail |
protected static java.util.Map map
| Constructor Detail |
public MemoryBPELProcessDAO()
MemoryBPELProcessDAO that uses a static
Map to manage the stored BPELProcess
objects.
| Method Detail |
public void delete(java.lang.String name)
BPELProcessDAOBPELProcess given its name.
delete in interface BPELProcessDAOname - the name of the BPELProcess to deletepublic void deleteAll()
BPELProcessDAOBPELProcess es.
deleteAll in interface BPELProcessDAOpublic BPELProcess find(java.lang.String name)
BPELProcessDAOBPELProcess given its name.
find in interface BPELProcessDAOname - the name of the BPELProcess to find
BPELProcess or null if no
BPELProcess matches the given namepublic java.lang.String insert(BPELProcess process)
BPELProcessDAOBPELProcess.
insert in interface BPELProcessDAOprocess - the BPELProcess to insert
BPELProcess which serves as a
unique identifier
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 | ||||||||||