String uuid = workspaceManager.getDefaultCollection(m_userAuth, null); try { this.ems.workspaceManager.createCollection( this.m_userAuth, this.m_userInfo.getUuid(), uuid, "lost+found", "Lost assets now found", null, options); } catch(Exception e) { System.out.println(e); } this.ems.workspaceManager.assignToWorkspace(this.ems.userAuth, assetUuid, ((WorkspaceInfo)item).getUuid(), 0, new HashMap());