Login  Register

Re: Dev - email as an communications event

Posted by byersa on Mar 23, 2006; 6:17pm
URL: http://ofbiz.116.s1.nabble.com/Dev-email-as-an-communications-event-tp167323p167335.html

As of now, I plan on writing services that do two things in the course
of processing an email (in addition to creating the CommunicationEvent):

1. Reverse find the partyIds from the fromAddress and recipients. Not
sure about creating  skeleton Party/Person/ContactMech entries if they
do not exist.

2. Add content attachments to CommEvent. Will create a
CommunicationEventContent entity as discussed in the JIRA (

http://jira.undersunconsulting.com/browse/OFBIZ-665)

While I am at it, I did this little table to show what commonly used entities have "glue" to commevents and content and notes:

                CommEvent    Content    Note
WorkEffort          E           N         E
Product             N           E         N
Order               N           ?         ?
Party               E           E         E
CustRequest         E           ?         ?
CommEvent                       N         ?

legend: E=existing, N=Needed or Not existing, ?=not sure what the need would be. not existing

I think we will need to add a WorkEffortContent entity

and CommunicationEventProduct/Order entities.

I just threw the note stuff out there to point out that there seem to be three channels for associating "content" with entities - comm events, content and notes. I will be re-evaluating the content management system to see if it can be used to handle more cases without having to add services each time - or atleast try to apply some reuse within those services. I know that the "OFBiz way" is to add functionality as it is needed, but at some point you need to look at refactoring.

-Al



 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev