[Building Sakai] Register tool as Import source

Paul Marais paul at psybergate.co.za
Mon Mar 28 04:26:39 PDT 2011


Hi,

 

just an update on this issue - 

after some digging in the code it looks like it has something to do with an
EntityProducer.

I've injected a spring bean now. The bean class implements EntityProducer
and EntityTransferrer. (Not yet sure if I need both)

I've initialised the bean with a String label,
org.sakaiproject.entity.api.EntityManager and my tool id (as in the xml
registration file).

It looks like my tool is now displaying as an option to import data from :)

 

Now, I just need to figure out how to implement the import/export behaviour.

Any help on this would be welcome.

 

Thanks

Paul

 

 

From: sakai-dev-bounces at collab.sakaiproject.org
[mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Paul Marais
Sent: 28 March 2011 10:46 AM
To: sakai-dev at collab.sakaiproject.org
Subject: [Building Sakai] Register tool as Import source

 

Hi,

 

I've got a custom tool and I want to register the tool as an import source.

In other words, I want the tool to show in the ' Re-use material from Other
Sites' screen.

Is this possible for custom tools?

 

The tool stores its content in a MySQL db and Resources.

What APIs can I use to copy (import/export) the contents from these
locations when the tool is selected in the above mentioned screen?

 

Thank you

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110328/33cc6d6b/attachment.html 


More information about the sakai-dev mailing list