@Override
	public void cacheResult(CPSpecificationOption cpSpecificationOption) {
		entityCache.putResult(CPSpecificationOptionModelImpl.ENTITY_CACHE_ENABLED,
			CPSpecificationOptionImpl.class,
			cpSpecificationOption.getPrimaryKey(), cpSpecificationOption);

		finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
			new Object[] {
				cpSpecificationOption.getUuid(),
				cpSpecificationOption.getGroupId()
			}, cpSpecificationOption);

		finderCache.putResult(FINDER_PATH_FETCH_BY_G_K,
			new Object[] {
				cpSpecificationOption.getGroupId(),
				cpSpecificationOption.getKey()
			}, cpSpecificationOption);

		cpSpecificationOption.resetOriginalValues();
	}
@ Override public void cacheResult ( CPSpecificationOption cpSpecificationOption ) { entityCache . putResult ( CPSpecificationOptionModelImpl . ENTITY_CACHE_ENABLED , CPSpecificationOptionImpl . class , cpSpecificationOption . getPrimaryKey ( ) , cpSpecificationOption ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpSpecificationOption . getUuid ( ) , cpSpecificationOption . getGroupId ( ) } , cpSpecificationOption ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_K , new Object [ ] { cpSpecificationOption . getGroupId ( ) , cpSpecificationOption . getKey ( ) } , cpSpecificationOption ) ; cpSpecificationOption . resetOriginalValues ( ) ; }
Caches the cp specification option in the entity cache if it is enabled.

@param cpSpecificationOption the cp specification option