public class ColPermsDescriptor extends PermissionsDescriptor
Modifier and Type | Field and Description |
---|---|
private FormatableBitSet |
columns |
private java.lang.String |
tableName |
private UUID |
tableUUID |
private java.lang.String |
type |
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 |
---|
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 and 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() |
clone, getGrantee, getGrantor, getObjectID, getUUID, isPersistent, keyEquals, keyHashCode, setGrantee, setUUID
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, setDataDictionary
private 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
StandardException
public ColPermsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor, UUID tableUUID, java.lang.String type) throws StandardException
StandardException
public ColPermsDescriptor(DataDictionary dd, UUID colPermsUUID) throws StandardException
StandardException
public int getCatalogNumber()
getCatalogNumber
in class PermissionsDescriptor
public UUID getTableUUID()
public java.lang.String getType()
public FormatableBitSet getColumns()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean checkOwner(java.lang.String authorizationId) throws StandardException
PermissionsDescriptor
checkOwner
in class PermissionsDescriptor
StandardException
PermissionsDescriptor.checkOwner(java.lang.String)
public java.lang.String getObjectName()
public java.lang.String getClassType()
public DependableFinder getDependableFinder()
Dependable
Dependable.getDependableFinder()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.