@Override
 protected void validateForUpdate(RangerServiceResource vObj, XXServiceResource entityObj) {
   if (StringUtils.equals(entityObj.getGuid(), vObj.getGuid())
       && StringUtils.equals(entityObj.getResourceSignature(), vObj.getResourceSignature())) {
     serviceUpdateNeeded = false;
   } else {
     serviceUpdateNeeded = true;
   }
 }
  @Override
  public RangerServiceResource postUpdate(XXServiceResource resource) {
    RangerServiceResource ret = super.postUpdate(resource);

    if (serviceUpdateNeeded) {
      daoMgr
          .getXXServiceVersionInfo()
          .updateServiceVersionInfoForServiceResourceUpdate(
              resource.getId(), resource.getUpdateTime());
    }

    return ret;
  }