From 986affa86fddc19d6fbec83ecaaf7bb7a38254ab Mon Sep 17 00:00:00 2001 From: Si Chen Date: Fri, 25 Aug 2006 23:59:22 +0000 Subject: [PATCH] OFBIZ 182 - Add singleUse indicator to ContactList to allow for lists whose members should be contacted only once. Updated sendCommEventAsEmail to expire ContactListParty if singleUse = 'Y'. git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@437027 13f79535-47bb-0310-9956-ffa450edef68 --- .../config/MarketingUiLabels.properties | 1 + .../marketing/entitydef/entitymodel.xml | 1 + .../marketing/contact/ContactListForms.xml | 6 ++++++ .../CommunicationEventServices.java | 17 ++++++++++++++++- 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/applications/marketing/config/MarketingUiLabels.properties b/applications/marketing/config/MarketingUiLabels.properties index ba23b3db4c..821bab18f5 100644 --- a/applications/marketing/config/MarketingUiLabels.properties +++ b/applications/marketing/config/MarketingUiLabels.properties @@ -28,6 +28,7 @@ ContactListContactListTypeId=Contact List Type Id ContactListContactMechTypeId=Contact Mechanisism Type Id ContactListCreate=Create New Contact List ContactListIsPublic=Is Public ? +ContactListIsSingleUse=Is Single Use ? ContactListOptInVerifyCode=Opt-In Verify Code ContactListOwnerPartyId=Owner Party Id ContactListParty=Contact List Party diff --git a/applications/marketing/entitydef/entitymodel.xml b/applications/marketing/entitydef/entitymodel.xml index f77d268ebe..6a07f7ba60 100644 --- a/applications/marketing/entitydef/entitymodel.xml +++ b/applications/marketing/entitydef/entitymodel.xml @@ -146,6 +146,7 @@ under the License. + Wether members of the list should be contacted only once. diff --git a/applications/marketing/webapp/marketing/contact/ContactListForms.xml b/applications/marketing/webapp/marketing/contact/ContactListForms.xml index 831092f799..e3b47efbfb 100644 --- a/applications/marketing/webapp/marketing/contact/ContactListForms.xml +++ b/applications/marketing/webapp/marketing/contact/ContactListForms.xml @@ -41,6 +41,11 @@ under the License.