Documentation of 'org.hsqldb.rights.Right' Java class
Right
org.hsqldb.rights

Class Right



  • public final class Right
    extends java.lang.Object
    Represents the set of rights on a database object
    Since:
    1.9.0
    • Field Detail

      • fullRights

        public static final Right fullRights
      • noRights

        public static final Right noRights
      • privilegeNames

        public static final java.lang.String[] privilegeNames
      • privilegeTypes

        public static final int[] privilegeTypes
    • Constructor Detail

      • Right

        public Right()
    • Method Detail

      • isFull

        public boolean isFull()
      • getGrantor

        public Grantee getGrantor()
      • getGrantee

        public Grantee getGrantee()
      • getGrantableRights

        public Right getGrantableRights()
      • duplicate

        public Right duplicate()
      • add

        public void add(Right right)
        Supports column level GRANT
      • remove

        public void remove(SchemaObject object,
                           Right right)
        supports column level REVOKE
      • isEmpty

        public boolean isEmpty()
        supports column level GRANT / REVOKE
      • contains

        public boolean contains(Right right)
      • getColumnsForPrivilege

        public OrderedHashSet getColumnsForPrivilege(Table table,
                                                     int type)
      • canAccessFully

        public boolean canAccessFully(int privilegeType)
      • canAcesssNonSelect

        public boolean canAcesssNonSelect()
      • canAccess

        public boolean canAccess(int privilegeType)
        Supports column level rights
      • canAccess

        public boolean canAccess(Table table,
                                 int[] columnMap)
      • setColumns

        public void setColumns(Table table)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.