throw restErrorUtil.createRESTException("Error Populating XXServiceResource. No Service found with name: " + vObj.getServiceName(), MessageEnums.INVALID_INPUT_DATA);
}
xObj.setServiceId(xService.getId());
return xObj;
}
<BUG>@Override
@SuppressWarnings("unchecked")
protected RangerServiceResource mapEntityToViewBean(RangerServiceResource vObj, XXServiceResource xObj) {</BUG>
vObj.setGuid(xObj.getGuid());
vObj.setVersion(xObj.getVersion());

throw restErrorUtil.createRESTException("Error Populating XXServiceResource. No Service found with name: " + vObj.getServiceName(), MessageEnums.INVALID_INPUT_DATA);
}
xObj.setServiceId(xService.getId());
return xObj;
}
@Override
protected V mapEntityToViewBean(V vObj, T xObj) {
vObj.setGuid(xObj.getGuid());
vObj.setVersion(xObj.getVersion());
