OSWF: deleteEntry
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
There is currently no deleteEntry method in the Workflow interface.
We implemented it for JDBC back-end in subclasses of JDBCWorkflowStore
and JDBCPropertySet
The structure is very simple:
Workflow.deleteEntry(long id)
{
WorkflowStore store = getPersistence();
PropertySet ps = store.getPropertySet(id);
ps.removeAll();
store.deleteEntry(id);
}
Do you think such a functionality should/could go in the osworkflow main
branch?
In this case, the following items are needed:
add method deleteEntry on Workflow
add method deleteEntry on WorkfowStore
add method removeAll on PropertySet. Problem: the interface doesn't exist
in current propertyset-1.1.0.
Best Regards,
Joachim.
**** DISCLAIMER ****
"This e-mail and any attachments thereto may contain information
which is confidential and/or protected by intellectual property
rights and are intended for the sole use of the recipient(s) named above.
Any use of the information contained herein (including, but not limited to,
total or partial reproduction, communication or distribution in any form)
by persons other than the designated recipient(s) is prohibited.
If you have received this e-mail in error, please notify the sender either
by telephone or by e-mail and delete the material from any computer.
Thank you for your cooperation."
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge