Interface Permission

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      returns the name of the permission, ie.
      Resource[] getTypes()
      returns the resource types which are allowed for this permission
      int getValue()
      returns the unique numeric value of the permission.
    • Method Detail

      • getName

        java.lang.String getName()
        returns the name of the permission, ie. 'UPDATE'
      • getValue

        int getValue()
        returns the unique numeric value of the permission. Must be a power of 2. ie 2^0, 2^1, 2^2, 2^3, 2^4 ...
      • getTypes

        Resource[] getTypes()
        returns the resource types which are allowed for this permission