enhancements on trash

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@95661 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2014-05-14 10:14:07 +00:00
parent 04cf4941b0
commit fed1203e4d
2 changed files with 2 additions and 2 deletions

View File

@ -2235,7 +2235,7 @@ public class GWTWorkspaceBuilder {
FileTrashedModel fileTrashModel = new FileTrashedModel();
fileTrashModel.setName(trashedItem.getName());
fileTrashModel.setIdentifier(trashedItem.getOriginalParentId()); //TODO
fileTrashModel.setIdentifier(trashedItem.getId()); //TODO
//SETTING PARENT
FileModel oldParent = new FileModel(trashedItem.getOriginalParentId(), "", true);

View File

@ -2947,8 +2947,8 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
workspace = getWorkspace();
WorkspaceTrashFolder trash = workspace.getTrash();
GWTWorkspaceBuilder builder = getGWTWorkspaceBuilder();
TrashOperationContent result = new TrashOperationContent();
result.setOperation(operation);
List<String> listUpdatedTrashIds = new ArrayList<String>();