public abstract class PermissionsDescriptor extends TupleDescriptor implements java.lang.Cloneable, Provider
Modifier and Type | Field and 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 and Description |
---|
PermissionsDescriptor(DataDictionary dd,
java.lang.String grantee,
java.lang.String grantor) |
Modifier and Type | Method and 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
|
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, setDataDictionary
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassType, getDependableFinder, getObjectName
protected 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.Object
public 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
StandardException
public UUID getObjectID()
getObjectID
in interface Dependable
public boolean isPersistent()
isPersistent
in interface Dependable
isPersistent
in class TupleDescriptor
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.