java.lang.Cloneable
, Dependable
, Provider
public class RoutinePermsDescriptor extends PermissionsDescriptor
Modifier and Type | Field | Description |
---|---|---|
private boolean |
hasExecutePermission |
|
private java.lang.String |
routineName |
|
private UUID |
routineUUID |
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
oid
Constructor | Description |
---|---|
RoutinePermsDescriptor(DataDictionary dd,
java.lang.String grantee,
java.lang.String grantor) |
This constructor just sets up the key fields of a RoutinePermsDescriptor.
|
RoutinePermsDescriptor(DataDictionary dd,
java.lang.String grantee,
java.lang.String grantor,
UUID routineUUID) |
|
RoutinePermsDescriptor(DataDictionary dd,
java.lang.String grantee,
java.lang.String grantor,
UUID routineUUID,
boolean hasExecutePermission) |
|
RoutinePermsDescriptor(DataDictionary dd,
UUID routineePermsUUID) |
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.
|
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.
|
boolean |
getHasExecutePermission() |
|
java.lang.String |
getObjectName() |
Return the name of this Provider.
|
UUID |
getRoutineUUID() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getGrantee, getGrantor, getObjectID, getUUID, isPersistent, keyEquals, keyHashCode, setGrantee, setUUID
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, setDataDictionary
private UUID routineUUID
private java.lang.String routineName
private boolean hasExecutePermission
public RoutinePermsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor, UUID routineUUID, boolean hasExecutePermission) throws StandardException
StandardException
public RoutinePermsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor, UUID routineUUID) throws StandardException
StandardException
public RoutinePermsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor) throws StandardException
StandardException
public RoutinePermsDescriptor(DataDictionary dd, UUID routineePermsUUID) throws StandardException
StandardException
public int getCatalogNumber()
getCatalogNumber
in class PermissionsDescriptor
public UUID getRoutineUUID()
public boolean getHasExecutePermission()
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.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.