java.lang.Cloneable, Dependable, Providerpublic class ColPermsDescriptor extends PermissionsDescriptor
| Modifier and Type | Field | Description |
|---|---|---|
private FormatableBitSet |
columns |
|
private java.lang.String |
tableName |
|
private UUID |
tableUUID |
|
private java.lang.String |
type |
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, VIEWoid| Constructor | Description |
|---|---|
ColPermsDescriptor(DataDictionary dd,
java.lang.String grantee,
java.lang.String grantor,
UUID tableUUID,
java.lang.String type) |
This constructor just initializes the key fields of a ColPermsDescriptor
|
ColPermsDescriptor(DataDictionary dd,
java.lang.String grantee,
java.lang.String grantor,
UUID tableUUID,
java.lang.String type,
FormatableBitSet columns) |
|
ColPermsDescriptor(DataDictionary dd,
UUID colPermsUUID) |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
boolean |
equals(java.lang.Object other) |
|
int |
getCatalogNumber() |
|
java.lang.String |
getClassType() |
Get the provider's type.
|
FormatableBitSet |
getColumns() |
|
DependableFinder |
getDependableFinder() |
Get an object which can be written to disk and which,
when read from disk, will find or reconstruct this in-memory
Dependable.
|
java.lang.String |
getObjectName() |
Return the name of this Provider.
|
UUID |
getTableUUID() |
|
java.lang.String |
getType() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, waitclone, getGrantee, getGrantor, getObjectID, getUUID, isPersistent, keyEquals, keyHashCode, setGrantee, setUUIDgetColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, setDataDictionaryprivate UUID tableUUID
private java.lang.String type
private FormatableBitSet columns
private java.lang.String tableName
public ColPermsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor, UUID tableUUID, java.lang.String type, FormatableBitSet columns) throws StandardException
StandardExceptionpublic ColPermsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor, UUID tableUUID, java.lang.String type) throws StandardException
StandardExceptionpublic ColPermsDescriptor(DataDictionary dd, UUID colPermsUUID) throws StandardException
StandardExceptionpublic int getCatalogNumber()
getCatalogNumber in class PermissionsDescriptorpublic UUID getTableUUID()
public java.lang.String getType()
public FormatableBitSet getColumns()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean checkOwner(java.lang.String authorizationId)
throws StandardException
PermissionsDescriptorcheckOwner in class PermissionsDescriptorStandardExceptionPermissionsDescriptor.checkOwner(java.lang.String)public java.lang.String getObjectName()
public java.lang.String getClassType()
public DependableFinder getDependableFinder()
DependableDependable.getDependableFinder()Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.