Class CacheConstants

java.lang.Object
es.kukenan.smartfi.microservice.transfer.cache.CacheConstants

public class CacheConstants extends Object
Class key definition.
  • Field Details

  • Constructor Details

    • CacheConstants

      public CacheConstants()
  • Method Details

    • getKeyCacheBySessionId

      public static String getKeyCacheBySessionId(String key, String sessionId)
      Adding userId and deleting symbols cache key.
      Parameters:
      key - key value.
      sessionId - userId value.
      Returns:
      the user identifier.
    • getKeyCacheByBackoffice

      public static String getKeyCacheByBackoffice(String key, Integer backofficeId)
      Adding backofficeId and deleting symbols cache key.
      Parameters:
      key - key value.
      backofficeId - userId value.
      Returns:
      the backoffice identifier.