Class RelationCacheKey

java.lang.Object
de.hybris.platform.cache.relation.RelationCacheKey
All Implemented Interfaces:
CacheKey

public class RelationCacheKey extends Object implements CacheKey
  • Field Details

  • Constructor Details

    • RelationCacheKey

      public RelationCacheKey(String tenantId, String relationId, String relationSideId, PK parentPk)
    • RelationCacheKey

      public RelationCacheKey(String tenantId, String relationId)
  • Method Details

    • isRelationKey

      public static boolean isRelationKey(Object[] key)
    • createKey

      public static RelationCacheKey createKey(Object[] key)
    • toKey

      public Object[] toKey()
    • createInvalidationKey

      public static Object[] createInvalidationKey(String relationId, String relationSideId, PK parentPK)
    • createInvalidationKeyForRelation

      public static Object[] createInvalidationKeyForRelation(String relationId)
    • getCacheValueType

      public CacheUnitValueType getCacheValueType()
      Description copied from interface: CacheKey
      gets value type. Currently not used. To be used in hybris 5.
      Specified by:
      getCacheValueType in interface CacheKey
    • getTypeCode

      public Object getTypeCode()
      Description copied from interface: CacheKey
      Gets code from typesystem.
      Specified by:
      getTypeCode in interface CacheKey
    • getRelationId

      public String getRelationId()
    • getRelationSideId

      public String getRelationSideId()
    • getParentPk

      public PK getParentPk()
    • getTenantId

      public String getTenantId()
      Description copied from interface: CacheKey
      Gets tenant
      Specified by:
      getTenantId in interface CacheKey
    • getFullyQualifiedRelationSideId

      public String getFullyQualifiedRelationSideId()
    • getInvalidationIdentifier

      public String getInvalidationIdentifier()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isForRelation

      public boolean isForRelation()
    • toString

      public String toString()
      Overrides:
      toString in class Object