Groups
Groups
Sign in
Groups
Groups
transfer-dev
Conversations
About
Send feedback
Help
Simple way to detect if a TransferObject has been deleted?
0 views
Skip to first unread message
LT
unread,
Feb 2, 2008, 11:46:26 PM
2/2/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to transfer-dev
Hi, guys.
Is there a simple way to test a TransferObject to see if the record it
represents has been deleted?
Thanks.
LT
Mark Mandel
unread,
Feb 3, 2008, 6:48:56 AM
2/3/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to transf...@googlegroups.com
You can use .getIsPersisted() to see if the object is from the DB.
If an object has been deleted, getIsPersisted() will return false.
Does that do what you need?
Mark
lagos.tout
unread,
Feb 4, 2008, 3:02:09 AM
2/4/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to transf...@googlegroups.com
Cool. Thanks. That worked.
LT
Reply all
Reply to author
Forward
0 new messages