Class WebhookDeletedItemCacheKey
java.lang.Object
de.hybris.platform.regioncache.key.AbstractCacheKey
de.hybris.platform.webhookservices.cache.WebhookDeletedItemCacheKey
- All Implemented Interfaces:
IntegrationCacheKey<PK>,CacheKey
public final class WebhookDeletedItemCacheKey
extends AbstractCacheKey
implements IntegrationCacheKey<PK>
A cache key for a deleted item to be sent to a webhook.
-
Field Summary
Fields inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
cachedHash, tenantId, typeCode, valueType -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic WebhookDeletedItemCacheKeyCreates an instance ofWebhookDeletedItemCacheKey.getId()Returns the unique identifier for that represents the keyinthashCode()Methods inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
getCacheValueType, getTenantId, getTypeCode, toString
-
Method Details
-
from
Creates an instance ofWebhookDeletedItemCacheKey.- Parameters:
pk- thePKof the deleted item.- Returns:
- an instance of
WebhookDeletedItemCacheKey.
-
getId
Description copied from interface:IntegrationCacheKeyReturns the unique identifier for that represents the key- Specified by:
getIdin interfaceIntegrationCacheKey<PK>- Returns:
- Id
-
equals
- Overrides:
equalsin classAbstractCacheKey
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractCacheKey
-