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:
parent
04cf4941b0
commit
fed1203e4d
|
@ -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);
|
||||
|
|
|
@ -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>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue