logo       

Sakai 2.2 - Another EntityProducer change: msg#00429

cms.sakai.devel

Subject: Sakai 2.2 - Another EntityProducer change

Removing from EntityProducer:

void importEntities(String fromContext, String toContext, List ids);

boolean willImport();

If you have an EntityProducer that wants to be part of the site editing "import resources from" process, i.e. it is going to be able to transfer a copy of entities from one context to another, declare your EntityProducer impl. class as being this new interface:

EntityTransferrer

Which has the importEntities() method, but renamed to "transferCopyEntities()" to make it clear what's going on. It also defines the myToolIds() method, same as for ContextObserver (in fact, if you implement both of these interfaces, the one impl. of myToolIds meets both needs).

- Glenn

Glenn R. Golden
Software Architect, University Of Michigan
ggolden@xxxxxxxxx



----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise