java.lang.Object
org.postgresql.pljava.pg.AclItem
org.postgresql.pljava.pg.AclItem.NonRole
- All Implemented Interfaces:
CatalogObject.ALTER_SYSTEM
,CatalogObject.CONNECT
,CatalogObject.CREATE
,CatalogObject.CREATE_TEMP
,CatalogObject.DELETE
,CatalogObject.EXECUTE
,CatalogObject.Grant
,CatalogObject.Grant.OnAttribute
,CatalogObject.Grant.OnClass
,CatalogObject.Grant.OnNamespace
,CatalogObject.Grant.OnSetting
,CatalogObject.INSERT
,CatalogObject.REFERENCES
,CatalogObject.SELECT
,CatalogObject.SET
,CatalogObject.TRIGGER
,CatalogObject.TRUNCATE
,CatalogObject.UPDATE
,CatalogObject.USAGE
- Enclosing class:
AclItem
public static class AclItem.NonRole
extends AclItem
implements CatalogObject.Grant.OnClass, CatalogObject.Grant.OnNamespace, CatalogObject.Grant.OnSetting, CatalogObject.EXECUTE, CatalogObject.CREATE_TEMP, CatalogObject.CONNECT
Implementation of all non-OnRole subinterfaces of Grant.
The distinct interfaces in the API are a type-safety veneer to help clients remember what privileges apply to what object types. Underneath, this class implements them all.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.postgresql.pljava.pg.AclItem
AclItem.NonRole
Nested classes/interfaces inherited from interface org.postgresql.pljava.model.CatalogObject.Grant
CatalogObject.Grant.OnAttribute, CatalogObject.Grant.OnClass, CatalogObject.Grant.OnDatabase, CatalogObject.Grant.OnNamespace, CatalogObject.Grant.OnRole, CatalogObject.Grant.OnSetting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
toString()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.postgresql.pljava.model.CatalogObject.Grant
by, to
-
Constructor Details
-
NonRole
-
-
Method Details
-
toString
-
selectGranted
public boolean selectGranted()- Specified by:
selectGranted
in interfaceCatalogObject.SELECT
-
selectGrantable
public boolean selectGrantable()- Specified by:
selectGrantable
in interfaceCatalogObject.SELECT
-
insertGranted
public boolean insertGranted()- Specified by:
insertGranted
in interfaceCatalogObject.INSERT
-
insertGrantable
public boolean insertGrantable()- Specified by:
insertGrantable
in interfaceCatalogObject.INSERT
-
updateGranted
public boolean updateGranted()- Specified by:
updateGranted
in interfaceCatalogObject.UPDATE
-
updateGrantable
public boolean updateGrantable()- Specified by:
updateGrantable
in interfaceCatalogObject.UPDATE
-
referencesGranted
public boolean referencesGranted()- Specified by:
referencesGranted
in interfaceCatalogObject.REFERENCES
-
referencesGrantable
public boolean referencesGrantable()- Specified by:
referencesGrantable
in interfaceCatalogObject.REFERENCES
-
deleteGranted
public boolean deleteGranted()- Specified by:
deleteGranted
in interfaceCatalogObject.DELETE
-
deleteGrantable
public boolean deleteGrantable()- Specified by:
deleteGrantable
in interfaceCatalogObject.DELETE
-
truncateGranted
public boolean truncateGranted()- Specified by:
truncateGranted
in interfaceCatalogObject.TRUNCATE
-
truncateGrantable
public boolean truncateGrantable()- Specified by:
truncateGrantable
in interfaceCatalogObject.TRUNCATE
-
triggerGranted
public boolean triggerGranted()- Specified by:
triggerGranted
in interfaceCatalogObject.TRIGGER
-
triggerGrantable
public boolean triggerGrantable()- Specified by:
triggerGrantable
in interfaceCatalogObject.TRIGGER
-
createGranted
public boolean createGranted()- Specified by:
createGranted
in interfaceCatalogObject.CREATE
-
createGrantable
public boolean createGrantable()- Specified by:
createGrantable
in interfaceCatalogObject.CREATE
-
usageGranted
public boolean usageGranted()- Specified by:
usageGranted
in interfaceCatalogObject.USAGE
-
usageGrantable
public boolean usageGrantable()- Specified by:
usageGrantable
in interfaceCatalogObject.USAGE
-
executeGranted
public boolean executeGranted()- Specified by:
executeGranted
in interfaceCatalogObject.EXECUTE
-
executeGrantable
public boolean executeGrantable()- Specified by:
executeGrantable
in interfaceCatalogObject.EXECUTE
-
create_tempGranted
public boolean create_tempGranted()- Specified by:
create_tempGranted
in interfaceCatalogObject.CREATE_TEMP
-
create_tempGrantable
public boolean create_tempGrantable()- Specified by:
create_tempGrantable
in interfaceCatalogObject.CREATE_TEMP
-
connectGranted
public boolean connectGranted()- Specified by:
connectGranted
in interfaceCatalogObject.CONNECT
-
connectGrantable
public boolean connectGrantable()- Specified by:
connectGrantable
in interfaceCatalogObject.CONNECT
-
setGranted
public boolean setGranted()- Specified by:
setGranted
in interfaceCatalogObject.SET
-
setGrantable
public boolean setGrantable()- Specified by:
setGrantable
in interfaceCatalogObject.SET
-
alterSystemGranted
public boolean alterSystemGranted()- Specified by:
alterSystemGranted
in interfaceCatalogObject.ALTER_SYSTEM
-
alterSystemGrantable
public boolean alterSystemGrantable()- Specified by:
alterSystemGrantable
in interfaceCatalogObject.ALTER_SYSTEM
-