Class CacheUtil

java.lang.Object
com.skava.auth.util.CacheUtil

public final class CacheUtil extends Object
Author:
Infosys Equinox
  • Method Details

    • getCollection

      public static CollectionVO getCollection(Long collectionId, Long businessId, CacheImpl cacheImpl, CollectionRepository collectionRepository)
      Parameters:
      collectionId - the collectionId
      businessId - the businessId
      cacheImpl - the CacheImpl
      collectionRepository - the collectionRepository
      Returns:
      an object of type CollectionVO
    • isValidCollection

      public static boolean isValidCollection(Long collectionId, Long businessId, CollectionRepository collectionRepository, CacheImpl cacheImpl)
      isValidCollection
      Parameters:
      collectionId - the collectionId
      businessId - the businessId
      collectionRepository - the collectionRepository
      cacheImpl - the CacheImpl
      Returns:
      a boolean value
    • getCollection

      public static CollectionVO getCollection(Long collectionId, CacheImpl cacheImpl, CollectionRepository collectionRepository)
      Parameters:
      collectionId - the collectionId
      cacheImpl - the CacheImpl
      collectionRepository - teh collectionRepository
      Returns:
      an object of type CollectionVO