You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Pugh, Eric" <EP...@MuseumCompany.com> on 2001/12/13 20:59:43 UTC
How can I get a user's information service?
Hi all,
I need to tweak my OM objects. I need to intercept any updates to the
database and record in an Audit table the old value and the new value. I am
planning on tweaking the Velocity Templates to have my save() method in my
objects take care of this. However, the harder part about this assignment
is that I need to record the username of the user who is updating the
database.
I don't want to have to pass a username value into my OM objects. I am
hopping that my OM objects can access some sort of service statically who
will give me the User object... That way I don't have to think about the
fact that all my OM objects are storing audit data into the database....
Eric
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>