java.lang.Cloneable, Dependable, Providerpublic 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, VIEWoid| 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, waitclone, getGrantee, getGrantor, getObjectID, getUUID, isPersistent, keyEquals, keyHashCode, setGrantee, setUUIDgetColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, setDataDictionaryprivate 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
StandardExceptionpublic RoutinePermsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor, UUID routineUUID) throws StandardException
StandardExceptionpublic RoutinePermsDescriptor(DataDictionary dd, java.lang.String grantee, java.lang.String grantor) throws StandardException
StandardExceptionpublic RoutinePermsDescriptor(DataDictionary dd, UUID routineePermsUUID) throws StandardException
StandardExceptionpublic int getCatalogNumber()
getCatalogNumber in class PermissionsDescriptorpublic UUID getRoutineUUID()
public boolean getHasExecutePermission()
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.