Package com.skava.auth.util
Class CacheUtil
java.lang.Object
com.skava.auth.util.CacheUtil
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionstatic CollectionVO
getCollection
(Long collectionId, CacheImpl cacheImpl, CollectionRepository collectionRepository) static CollectionVO
getCollection
(Long collectionId, Long businessId, CacheImpl cacheImpl, CollectionRepository collectionRepository) static boolean
isValidCollection
(Long collectionId, Long businessId, CollectionRepository collectionRepository, CacheImpl cacheImpl) isValidCollection
-
Method Details
-
getCollection
public static CollectionVO getCollection(Long collectionId, Long businessId, CacheImpl cacheImpl, CollectionRepository collectionRepository) - Parameters:
collectionId
- the collectionIdbusinessId
- the businessIdcacheImpl
- the CacheImplcollectionRepository
- 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 collectionIdbusinessId
- the businessIdcollectionRepository
- the collectionRepositorycacheImpl
- the CacheImpl- Returns:
- a boolean value
-
getCollection
public static CollectionVO getCollection(Long collectionId, CacheImpl cacheImpl, CollectionRepository collectionRepository) - Parameters:
collectionId
- the collectionIdcacheImpl
- the CacheImplcollectionRepository
- teh collectionRepository- Returns:
- an object of type
CollectionVO
-