@ Override public void clearCache ( CPDefinitionInventory cpDefinitionInventory ) { entityCache . removeResult ( CPDefinitionInventoryModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionInventoryImpl . class , cpDefinitionInventory . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPDefinitionInventoryModelImpl ) cpDefinitionInventory , true ) ; }
Clears the cache for the cp definition inventory .