This commit is contained in:
Francesco Mangiacrapa 2018-10-05 15:37:30 +00:00
parent 577f79af79
commit d89e1338a3
1 changed files with 2 additions and 2 deletions

View File

@ -511,13 +511,13 @@ public class StorageHubClientService {
* @return the abstract file item
* @throws Exception the exception
*/
public AbstractFileItem moveItem(String itemId, FolderContainer destFolderContainer) throws Exception{
public Item moveItem(String itemId, FolderContainer destFolderContainer) throws Exception{
Validate.notNull(itemId, "Bad invoking move file, the itemId is null");
Validate.notNull(destFolderContainer, "Bad invoking move file, the itemId is null");
OpenResolver openResolver = shcClient.open(itemId).asItem().move(destFolderContainer);
return openResolver.asFile().get();
return openResolver.asItem().get();
}