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:
parent
1086f6cdec
commit
f9c30d17ec
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue