[Chandler-dev] Moving sharing-specific attributes out of ContentItem

Morgen Sagen morgen at osafoundation.org
Fri Jan 26 13:55:44 PST 2007


To implement conflict resolution, I need to add a new sharing- 
specific attribute to ContentItem which will connect an item to its  
pending conflicts.  I am actually going to do this by defining a  
SharedItem stamp and put the new attribute in there, but I was hoping  
to be able to also move two long-time sharing-specific attributes of  
ContentItem, "shares" and "sharedIn", into this stamp as well.  This  
appears to be difficult because of ContentItem.isAttributeModifiable 
( ).  That method needs access to the "sharedIn" attribute, and if I  
move that attribute into the sharing layer, some core pim code is now  
going to have a dependency on the sharing package which I believe we  
want to avoid.

Any ideas?

~morgen


More information about the chandler-dev mailing list