Class LARightState


  • public final class LARightState
    extends java.lang.Object
    Each of the different states of a right API-Since: 16.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Authorized
      Authorization was granted This can be achieved by succesful authorization.
      static long Authorizing
      Requirements are currently being evaluated.
      static long NotAuthorized
      Authorization was rejected.
      static long Unknown
      Right has not been evaluated yet.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Unknown

        public static final long Unknown
        Right has not been evaluated yet. This is the initial state of @c LARight and changes when @c authorize method is called. API-Since: 16.0
        See Also:
        Constant Field Values
      • Authorizing

        public static final long Authorizing
        Requirements are currently being evaluated. This happens after calling @c authorize method but before the user has granted the right. API-Since: 16.0
        See Also:
        Constant Field Values
      • Authorized

        public static final long Authorized
        Authorization was granted This can be achieved by succesful authorization. API-Since: 16.0
        See Also:
        Constant Field Values
      • NotAuthorized

        public static final long NotAuthorized
        Authorization was rejected. This can be caused by several reasons. For example requirements were not satisified or user rejects to authorize. API-Since: 16.0
        See Also:
        Constant Field Values