throw new IllegalArgumentException("Cannot move object, this name already exists in target.");
if (!(so instanceof Filing))
throw new IllegalArgumentException("Cannot move object, object does not have a path.");
if (so instanceof SingleFiling) {
SingleFiling pathObj = (SingleFiling) so;
pathObj.setParent(newParent);
} else if (so instanceof MultiFiling) {
MultiFiling pathObj = (MultiFiling) so;
pathObj.addParent(newParent);
pathObj.removeParent(oldParent);
}
} finally {
fObjStore.unlock();
}
}