java.lang.Cloneable, Dependable, ProviderColPermsDescriptor, PermDescriptor, RoutinePermsDescriptor, TablePermsDescriptorpublic abstract class PermissionsDescriptor extends TupleDescriptor implements java.lang.Cloneable, Provider
| Modifier and Type | Field | Description |
|---|---|---|
private java.lang.String |
grantee |
|
private java.lang.String |
grantor |
|
protected UUID |
oid |
ACTIVATION, ALIAS, COLUMNS_IN_TABLE, COLUMNS_PERMISSION, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PERM, PREPARED_STATEMENT, ROLE_GRANT, ROUTINE_PERMISSION, SCHEMA, SEQUENCE, STORED_PREPARED_STATEMENT, TABLE, TABLE_PERMISSION, TRIGGER, VIEW| Constructor | Description |
|---|---|
PermissionsDescriptor(DataDictionary dd,
java.lang.String grantee,
java.lang.String grantor) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
checkOwner(java.lang.String authorizationId) |
This method checks if the passed authorization id is same as the owner
of the object on which this permission is defined.
|
java.lang.Object |
clone() |
|
abstract int |
getCatalogNumber() |
|
java.lang.String |
getGrantee() |
|
java.lang.String |
getGrantor() |
|
UUID |
getObjectID() |
Get the provider's UUID
|
UUID |
getUUID() |
Gets the UUID of the table.
|
boolean |
isPersistent() |
Is this provider persistent?
|
protected boolean |
keyEquals(PermissionsDescriptor other) |
|
protected int |
keyHashCode() |
|
void |
setGrantee(java.lang.String grantee) |
|
void |
setUUID(UUID oid) |
Sets the UUID of the table
|
getClassType, getDependableFinder, getObjectNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, setDataDictionaryprotected UUID oid
private java.lang.String grantee
private final java.lang.String grantor
PermissionsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor)
public java.lang.Object clone()
clone in class java.lang.Objectpublic abstract int getCatalogNumber()
protected boolean keyEquals(PermissionsDescriptor other)
protected int keyHashCode()
public void setGrantee(java.lang.String grantee)
public final java.lang.String getGrantee()
public final java.lang.String getGrantor()
public UUID getUUID()
public void setUUID(UUID oid)
oid - The UUID of the table to be set in the descriptorpublic abstract boolean checkOwner(java.lang.String authorizationId)
throws StandardException
StandardExceptionpublic UUID getObjectID()
getObjectID in interface Dependablepublic boolean isPersistent()
isPersistent in interface DependableisPersistent in class TupleDescriptorApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.