public String insertResource(String destinations,String item,String view,HttpSession session,String serviceAddr, String tags)
{
String[] destTable = destinations.split(";;");
Person viewer = PersonFactory.findPerson(view);
BookmarksHelper bh = new BookmarksHelper("http://foo.bar");
String createdUri = bh.createResource(item);
if(createdUri!=null)
{
XfoafSscfResource res = XfoafSscfResource.getXfoafSscfResource(createdUri);
if(res!=null)
{
bh.placeResources(res, destTable, viewer);
//notify synchronization resource loader that resources of user were changed
ResourcesLoader.setLastChangeDate(view, new Date());
//it will be useful to have type here.
return getBookmarks(res.getStringURI(), viewer.getURI().toString(), session, 2, true,false,serviceAddr,null);