Package org.cyclos.impl.users
Class ProductsAccessorCacheKey
- java.lang.Object
-
- org.cyclos.impl.users.ProductsAccessorCacheKey
-
- All Implemented Interfaces:
Serializable
public class ProductsAccessorCacheKey extends Object implements Serializable
Cache key forProductsAccessorinvocations- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProductsAccessorCacheKey(Long networkId, Set<Long> productIds, String methodName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetmethodName()LonggetNetworkId()Set<Long>getProductIds()inthashCode()booleanmatchesNetwork(Long networkId)booleanmatchesNetworkAndMethod(Long networkId, String methodName)booleanmatchesNetworkAndMethod(Long networkId, Collection<String> methodNames)booleanmatchesProduct(Long productId)StringtoString()
-
-
-
Method Detail
-
getmethodName
public String getmethodName()
-
getNetworkId
public Long getNetworkId()
-
matchesNetwork
public boolean matchesNetwork(Long networkId)
-
matchesNetworkAndMethod
public boolean matchesNetworkAndMethod(Long networkId, Collection<String> methodNames)
-
matchesProduct
public boolean matchesProduct(Long productId)
-
-