Pre-save actions for enterprise objects
Pre-save actions for enterprise objects
- Subject: Pre-save actions for enterprise objects
- From: Mark Wardle <email@hidden>
- Date: Wed, 26 May 2010 21:59:50 +0100
Hi all,
I would like to add a number of algorithmically calculated relations
into a to-many relationship based upon the manually inserted relations
that already exist in that relationship or in a different relationship
(*). I can potentially maintain a boolean flag so I know which were
entered by users and which have been added algorithmically if I'm
using the same relationship.
I'm using Wonder extensively and so have noted the willUpdate() hook
provided. Can I include such code there?
Many thanks,
Mark
(*) : For example, if a user chooses "Multiple sclerosis (disorder)
(24700007)" then I wish to automatically add "Demyelinating disease of
central nervous system (disorder)" and "Disorder of nervous system
(disorder)". I obviously can algorithmically determine these related
IS-A concepts based upon the SNOMED CT hierarchy....
--
Dr. Mark Wardle
Specialist registrar, Neurology
Cardiff, UK
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden