ApplicationPermissionValue

A serializable value object representing an (anonymized) ApplicationPermission .

Intended for value type arithmetic and also for caching. No user/role information is held because that information is not required to perform the arithmetic.

API

ApplicationPermissionValue.java
class ApplicationPermissionValue {
  ApplicationPermissionValue(ApplicationFeatureId featureId, ApplicationPermissionRule rule, ApplicationPermissionMode mode)
  ApplicationFeatureId getFeatureId()
  ApplicationPermissionRule getRule()
  ApplicationPermissionMode getMode()
  boolean implies(ApplicationFeatureId featureId, ApplicationPermissionMode mode)
  boolean refutes(ApplicationFeatureId featureId, ApplicationPermissionMode mode)
  ApplicationPermissionValue withFeatureId(ApplicationFeatureId applicationFeatureId)
  int compareTo(ApplicationPermissionValue o)
  boolean equals(Object o)
  int hashCode()
  String toString()
}