@ Override public void clearCache ( CommerceDiscount commerceDiscount ) { entityCache . removeResult ( CommerceDiscountModelImpl . ENTITY_CACHE_ENABLED , CommerceDiscountImpl . class , commerceDiscount . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqueFindersCache ( ( CommerceDiscountModelImpl ) commerceDiscount , true ) ; }
Clears the cache for the commerce discount .