<?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 : hookfunctions and workflow</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : hookfunctions and workflow</description>
  <pubDate>Sun, 17 May 2026 21:16:36 -700</pubDate>
  <lastBuildDate>Wed, 22 Sep 2010 10:51:13 -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=2181</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>hookfunctions and workflow : The easiest way to inject custom...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2181&amp;PID=8597#8597</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 2181<br /><strong>Posted:</strong> 22-Sep-2010 at 10:51am<br /><br />The easiest way to inject custom logic into any generated entity property is with "Property Interceptors". You can write interceptors that leverage your inheritance tree.<DIV>&nbsp;</DIV><DIV>Here is a DRC (DevForce Resource Center) search with links: <a href="http://drc.ideablade.com/xwiki/bin/view/Main/Search?text=interceptor" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Main/Search?text=interceptor</A>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>We also have life-cycle events all over the place including entity creation and deletion. You should be able to intercept Delete() call on a sub-class and reroute to toggle the Active flag. You'll have to take care of hiding / showing entities based on that flag.</DIV><DIV>&nbsp;</DIV><DIV>Send us a list of specific VFP hooks that matter to you. We may be able to map those to DevForce functionality. Please focus on the ones that matter :-)</DIV>]]>
   </description>
   <pubDate>Wed, 22 Sep 2010 10:51:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2181&amp;PID=8597#8597</guid>
  </item> 
  <item>
   <title>hookfunctions and workflow : I&amp;#039;m wrestling with some application...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2181&amp;PID=8593#8593</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=920" rel="nofollow">Peer</a><br /><strong>Subject:</strong> 2181<br /><strong>Posted:</strong> 22-Sep-2010 at 7:56am<br /><br />I'm wrestling with some application design issues:<div><br></div><div>1) Is there a way &nbsp;to add common behaviour (not only interfaces) but methods, properties to the entity classes. I filled the injected basetype (-&gt;BaseEntity) in the EMdesigner and created a developper &nbsp;partial class with the same name. Point is the propperties of all the subclasses are not available and can't be manipulated at this time</div><div><br></div><div>Use case: deletion in UI is captured in VM or BO (or EM) and instead an update is executed (set active = 0). All the tables in the database have an active field.</div><div><br></div><div>An other use case :</div><div>The Rowversion number should be updated after updating a table.</div><div><br></div><div>in other words:</div><div>I'm Looking for an appropriate way &nbsp;to intercept all kinds of events and relay them to all kind of methods. It would be nice to make all kind of hoofunctions which I could implement in the BO or the VM &nbsp;. The VM is the most logical place for the eventcapturing, the BO for the hookfunctions.</div><div><br></div><div>Maybe I look in the wrong direction and should focus on the EM, subclassing / wrapping in helperclass for specific needs</div><div><br></div><div>The problem here is we have our own framework in VFP which has &nbsp;many-many hookfunctions on critical places where every developer can put extra code. There is an Enterprise layer for common enterprise functionality\layout and an applicationlayer for &nbsp;common application functionality.</div><div><br></div><div>A part of our quest is how we re-construct this architecture in DEvForce...</div><div><br></div><div>Thanks :)</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 22 Sep 2010 07:56:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2181&amp;PID=8593#8593</guid>
  </item> 
 </channel>
</rss>