@ Override public void clearCache ( CPInstance cpInstance ) { entityCache . removeResult ( CPInstanceModelImpl . ENTITY_CACHE_ENABLED , CPInstanceImpl . class , cpInstance . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CPInstanceModelImpl ) cpInstance , true ) ; }
Clears the cache for the cp instance .