Interface RestrictionContextProvider

All Known Implementing Classes:
DefaultRestrictionContextProvider

public interface RestrictionContextProvider
Interface to set restriction information in the context.
  • Method Details

    • getRestrictionInContext

      RestrictionData getRestrictionInContext()
      Gets the restriction, if any, stored in the context.
      Returns:
      The restriction stored in the context. Will return null if none is stored.
    • setRestrictionInContext

      void setRestrictionInContext(RestrictionData restrictionData)
      Sets the restriction in the context. Will replace any already stored.
      Parameters:
      restrictionData - The restriction to set in the context.
    • removeRestrictionFromContext

      void removeRestrictionFromContext()
      Removes the current restriction in context.