throw new EXistException("Destination collection " + destUri + " not found");
}
if(move)
{broker.moveCollection(transaction, collection, destination, newName);}
else
{broker.copyCollection(transaction, collection, destination, newName);}
transact.commit(transaction);
return true;
} catch (final LockException e) {
transact.abort(transaction);
throw new PermissionDeniedException(e.getMessage());