Re: perform action server-side before commit/fetch

2016-04-19 Thread Andrus Adamchik
user@cayenne.apache.org > Subject: ROP: perform action server-side before commit/fetch > > Is there a way to add a server-side hook in an ROP setup that allows you to > perform an action before a record is committed or before it is fetched to > alter a flag on the record before it

Re: perform action server-side before commit/fetch

2016-04-16 Thread Adam Boyle
Is it as simple as setting a pre-persist and post-load hook and only implementing them on the server? From: Adam Boyle Sent: Saturday, April 16, 2016 10:48 AM To: user@cayenne.apache.org Subject: ROP: perform action server-side before commit/fetch Is

ROP: perform action server-side before commit/fetch

2016-04-16 Thread Adam Boyle
Is there a way to add a server-side hook in an ROP setup that allows you to perform an action before a record is committed or before it is fetched to alter a flag on the record before it is sent to the client? Here is my use-case: I have records that need to be electronically signed. My implem