Class RelationCacheKey
java.lang.Object
de.hybris.platform.cache.relation.RelationCacheKey
- All Implemented Interfaces:
CacheKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionRelationCacheKey(String tenantId, String relationId) RelationCacheKey(String tenantId, String relationId, String relationSideId, PK parentPk) -
Method Summary
Modifier and TypeMethodDescriptionstatic Object[]createInvalidationKey(String relationId, String relationSideId, PK parentPK) static Object[]createInvalidationKeyForRelation(String relationId) static RelationCacheKeybooleangets value type.Gets tenantGets code from typesystem.inthashCode()booleanstatic booleanisRelationKey(Object[] key) Object[]toKey()toString()
-
Field Details
-
RELATION
- See Also:
-
KEY_POSITION_RELATION
public static final int KEY_POSITION_RELATION- See Also:
-
KEY_POSITION_RELATION_ID
public static final int KEY_POSITION_RELATION_ID- See Also:
-
KEY_POSITION_RELATION_SIDE_ID
public static final int KEY_POSITION_RELATION_SIDE_ID- See Also:
-
KEY_POSITION_PARENT_PK
public static final int KEY_POSITION_PARENT_PK- See Also:
-
-
Constructor Details
-
RelationCacheKey
-
RelationCacheKey
-
-
Method Details
-
isRelationKey
-
createKey
-
toKey
-
createInvalidationKey
-
createInvalidationKeyForRelation
-
getCacheValueType
Description copied from interface:CacheKeygets value type. Currently not used. To be used in hybris 5.- Specified by:
getCacheValueTypein interfaceCacheKey
-
getTypeCode
Description copied from interface:CacheKeyGets code from typesystem.- Specified by:
getTypeCodein interfaceCacheKey
-
getRelationId
-
getRelationSideId
-
getParentPk
-
getTenantId
Description copied from interface:CacheKeyGets tenant- Specified by:
getTenantIdin interfaceCacheKey
-
getFullyQualifiedRelationSideId
-
getInvalidationIdentifier
-
equals
-
hashCode
public int hashCode() -
isForRelation
public boolean isForRelation() -
toString
-