@ Override public void clearCache ( CPMeasurementUnit cpMeasurementUnit ) { entityCache . removeResult ( CPMeasurementUnitModelImpl . ENTITY_CACHE_ENABLED , CPMeasurementUnitImpl . class , cpMeasurementUnit . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPMeasurementUnitModelImpl ) cpMeasurementUnit , true ) ; }
Clears the cache for the cp measurement unit .