/** * Caches the social equity history in the entity cache if it is enabled. * * @param socialEquityHistory the social equity history */ public void cacheResult(SocialEquityHistory socialEquityHistory) { EntityCacheUtil.putResult( SocialEquityHistoryModelImpl.ENTITY_CACHE_ENABLED, SocialEquityHistoryImpl.class, socialEquityHistory.getPrimaryKey(), socialEquityHistory); socialEquityHistory.resetOriginalValues(); }