*/
private class NameValidatorImpl implements NameValidator {
@Override
public void validateName(String name) throws IllegalNameException {
NameValidator validator = NameValidatorStore.getInstance().get(itemToMove);
if (validator != null) {
validator.validateName(name);
}
if (!EntityUtils.isChildNameUnique(newOwner, name)) {
String msg = format("DuplicateName.Message", name);
throw new IllegalNameException(msg);
}