Author: hansbak
Date: Sun Feb 4 23:20:38 2007
New Revision: 503576
URL:
http://svn.apache.org/viewvc?view=rev&rev=503576Log:
add a view to list all subscriptions for a communication event
Modified:
ofbiz/trunk/applications/party/entitydef/entitygroup.xml
ofbiz/trunk/applications/party/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/party/entitydef/entitygroup.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitygroup.xml?view=diff&rev=503576&r1=503575&r2=503576==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitygroup.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitygroup.xml Sun Feb 4 23:20:38 2007
@@ -55,6 +55,7 @@
<entity-group group="org.ofbiz" entity="CommunicationEvent" />
<entity-group group="org.ofbiz" entity="CommunicationEventPrpTyp" />
<entity-group group="org.ofbiz" entity="CommunicationEventPurpose" />
+ <entity-group group="org.ofbiz" entity="CommunicationEventAndSubscr" />
<entity-group group="org.ofbiz" entity="CommunicationEventRole" />
<entity-group group="org.ofbiz" entity="CommunicationEventType" />
<entity-group group="org.ofbiz" entity="CommunicationEventAndRole" />
Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?view=diff&rev=503576&r1=503575&r2=503576==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Sun Feb 4 23:20:38 2007
@@ -552,6 +552,19 @@
<key-map field-name="contentMimeTypeId" rel-field-name="mimeTypeId"/>
</relation>
</entity>
+
+ <view-entity entity-name="CommunicationEventAndSubscr"
+ package-name="org.ofbiz.party.communication"
+ title="Communication Event And Role View Entity">
+ <member-entity entity-alias="SC" entity-name="SubscriptionCommEvent"/>
+ <member-entity entity-alias="SU" entity-name="Subscription"/>
+ <alias-all entity-alias="SC"/>
+ <alias-all entity-alias="SU"/>
+ <view-link entity-alias="SC" rel-entity-alias="SU">
+ <key-map field-name="subscriptionId"/>
+ </view-link>
+ </view-entity>
+
<view-entity entity-name="CommunicationEventAndRole"
package-name="org.ofbiz.party.communication"
title="Communication Event And Role View Entity">