- 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
Modifier and TypeInterfaceDescriptionstatic interface
Subtype ofGrant
representing the privileges that may be granted on an attribute (or column).static interface
Subtype ofGrant
representing the privileges that may be granted on a class (or relation, table, view).static interface
Subtype ofGrant
representing the privileges that may be granted on a database.static interface
Subtype ofGrant
representing the privileges that may be granted on a namespace (or schema).static interface
Subtype ofGrant
representing the grants (of membership in, and/or privileges of, other roles) that may be made to a role.static interface
Subtype ofGrant
representing the privileges that may be granted on a configuration setting. -
Method Summary
-
Method Details
-
to
RegRole.Grantee to()Role to which the accompanying privileges are granted.There is no actual role named
public
, but there is a distinguished instancePUBLIC
ofRegRole.Grantee
. -
by
RegRole by()Role responsible for granting these privileges.
-