Added //ACCOUNTING

item.markAsRead(true);
					

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@114821 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2015-05-21 10:25:03 +00:00
parent 1086f6cdec
commit f9c30d17ec
1 changed files with 8 additions and 0 deletions

View File

@ -125,6 +125,14 @@ public class DownloadServlet extends HttpServlet{
logger.trace("response return: "+message);
return;
}
try{
//ACCOUNTING
item.markAsRead(true);
} catch (InternalErrorException e) {
logger.error("Requested item "+itemId+" has thrown an internal error exception",e);
}
} catch (ItemNotFoundException e) {
logger.error("Requested item "+itemId+" not found",e);