Interface CatalogObject.Grant

All Known Subinterfaces:
org.postgresql.pljava.model.CatalogObject.ALTER_SYSTEM, org.postgresql.pljava.model.CatalogObject.CONNECT, org.postgresql.pljava.model.CatalogObject.CREATE, org.postgresql.pljava.model.CatalogObject.CREATE_TEMP, org.postgresql.pljava.model.CatalogObject.DELETE, CatalogObject.Grant.OnAttribute, CatalogObject.Grant.OnClass, CatalogObject.Grant.OnDatabase, CatalogObject.Grant.OnNamespace, CatalogObject.Grant.OnRole, CatalogObject.Grant.OnSetting, org.postgresql.pljava.model.CatalogObject.INSERT, org.postgresql.pljava.model.CatalogObject.REFERENCES, org.postgresql.pljava.model.CatalogObject.SELECT, org.postgresql.pljava.model.CatalogObject.SET, org.postgresql.pljava.model.CatalogObject.TRIGGER, org.postgresql.pljava.model.CatalogObject.TRUNCATE, org.postgresql.pljava.model.CatalogObject.UPDATE, org.postgresql.pljava.model.CatalogObject.USAGE
Enclosing interface:
CatalogObject

public static interface CatalogObject.Grant
Interface representing any single Grant (or ACL item), a grant of some set of possible privileges, to some role, granted by some role.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Subtype of Grant representing the privileges that may be granted on an attribute (or column).
    static interface 
    Subtype of Grant representing the privileges that may be granted on a class (or relation, table, view).
    static interface 
    Subtype of Grant representing the privileges that may be granted on a database.
    static interface 
    Subtype of Grant representing the privileges that may be granted on a namespace (or schema).
    static interface 
    Subtype of Grant representing the grants (of membership in, and/or privileges of, other roles) that may be made to a role.
    static interface 
    Subtype of Grant representing the privileges that may be granted on a configuration setting.
  • Method Summary

    Modifier and Type
    Method
    Description
    by()
    Role responsible for granting these privileges.
    to()
    Role to which the accompanying privileges are granted.
  • Method Details

    • to

      Role to which the accompanying privileges are granted.

      There is no actual role named public, but there is a distinguished instance PUBLIC of RegRole.Grantee.

    • by

      RegRole by()
      Role responsible for granting these privileges.