<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Save interception for server side business logic</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Save interception for server side business logic</description>
  <pubDate>Wed, 13 May 2026 13:59:50 -700</pubDate>
  <lastBuildDate>Tue, 15 Nov 2011 12:38:49 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3094</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Save interception for server side business logic : Hi nazbrok;You don&amp;#039;t have...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3094&amp;PID=12069#12069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3094<br /><strong>Posted:</strong> 15-Nov-2011 at 12:38pm<br /><br />Hi nazbrok;<div><br></div><div>You don't have to put all the server side logic in the EntityServerSaveInterceptor class.&nbsp;</div><div><br></div><div>For example, in this particular use case, you can create a separate utility class with a utility method that will create the "many other entities" that you require before saving.</div><div><br></div><div>And then, in the ExecuteSave override, you can call this utility method to create those other entities and then call base.ExecuteSave().</div><div><br></div><div>My point is that you can separate the logic in a separate class but you have to call the logic within the EntityServerSaveInterceptor class.</div><div><br></div><div>We also provide RPC (Remote Procedure Call), also called RSMC, (Remote Server Method Call) to handle other server side scenarios.&nbsp;<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/rsmc-query" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/rsmc-query</a></div><div><br></div><div>Hope this helps.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 15 Nov 2011 12:38:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3094&amp;PID=12069#12069</guid>
  </item> 
  <item>
   <title>Save interception for server side business logic : Hi,  I want to intercept a save...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3094&amp;PID=12061#12061</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1061" rel="nofollow">nazbrok</a><br /><strong>Subject:</strong> 3094<br /><strong>Posted:</strong> 15-Nov-2011 at 1:01am<br /><br />Hi,<br><br>I want to intercept a save on the server to perfom some task BEFORE the save. <br>For exemple : in the SL client, I created a customer but when I save it I want to create many other entities which are not known in the client (because there is no need to bring all this complexity to the client).<br><br>I wanted to use the EntityServerSaveInterceptor but the doc say to not put this kind of stuff in it. Also, it will be a big application (maybe 200 entities+) I can't imagine having all our server side logic in ONE class only.<br><br>I did read the guidline (http://drc.ideablade.com/xwiki/bin/view/Documentation/save-lifecycle-server) but it didn't really helped me out. <br>What is the best way to do it ?<br><br>regards]]>
   </description>
   <pubDate>Tue, 15 Nov 2011 01:01:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3094&amp;PID=12061#12061</guid>
  </item> 
 </channel>
</rss>