@ Override public void clearCache ( CommerceWarehouse commerceWarehouse ) { entityCache . removeResult ( CommerceWarehouseModelImpl . ENTITY_CACHE_ENABLED , CommerceWarehouseImpl . class , commerceWarehouse . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; }
Clears the cache for the commerce warehouse .