/** * Caches the h r client in the entity cache if it is enabled. * * @param hrClient the h r client */ public void cacheResult(HRClient hrClient) { EntityCacheUtil.putResult( HRClientModelImpl.ENTITY_CACHE_ENABLED, HRClientImpl.class, hrClient.getPrimaryKey(), hrClient); hrClient.resetOriginalValues(); }