| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private boolean | |
| private String | |
| private String | |
| private UUID | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | PermDescriptor(DataDictionary
data dictionary dataDictionary, UUID unique identification in time and space of this perm descriptor permUUID, String E.g., SEQUENCE_TYPE objectType, UUID Unique id of the object being protected permObjectId, String E.g., USAGE_PRIV permission, String Authorization id which confers the privilege grantor, String Authorization id which receives the privilege grantee, boolean True if the privilege can be granted onwards isGrantable)Constructor |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | checkOwner(String authorizationId)
Implements abstract org. This method checks if the passed authorization id is same as the owner of the object on which this permission is defined. |
| public boolean | Returns: true iff the key part of this perm descriptor equals the key part of another perm descriptor.the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | getCatalogNumber()
Implements abstract org.
|
| public String | Returns: char The provider's type.Implements org. Get the provider's type. |
| public DependableFinder | Returns: the stored form of this providerImplements org. Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable. |
| public String | Returns: String The name of this provider.Implements org. Return the name of this Provider. |
| public String | |
| public String | |
| public UUID | |
| public static PrivilegedSQLObject | getProtectedObject(DataDictionary
Metadata dd, UUID Unique handle on the protected object objectID, String Type of the object objectType)Get the protected object. |
| public int | Returns: the hashCode for the key part of this permissions descriptorOverrides java. Returns a hash code value for this object. |
| public boolean | |
| public String |
| AGGREGATE_TYPE | back to summary |
|---|---|
| public static final String AGGREGATE_TYPE | |
| grantable | back to summary |
|---|---|
| private boolean grantable | |
| objectType | back to summary |
|---|---|
| private String objectType | |
| permission | back to summary |
|---|---|
| private String permission | |
| permObjectId | back to summary |
|---|---|
| private UUID permObjectId | |
| SEQUENCE_TYPE | back to summary |
|---|---|
| public static final String SEQUENCE_TYPE | |
| UDT_TYPE | back to summary |
|---|---|
| public static final String UDT_TYPE | |
| USAGE_PRIV | back to summary |
|---|---|
| public static final String USAGE_PRIV | |
| PermDescriptor | back to summary |
|---|---|
| public PermDescriptor(DataDictionary dataDictionary, UUID permUUID, String objectType, UUID permObjectId, String permission, String grantor, String grantee, boolean isGrantable) Constructor
| |
| PermDescriptor | back to summary |
|---|---|
| public PermDescriptor(DataDictionary dd, UUID permUUID) throws StandardException | |
| checkOwner | back to summary |
|---|---|
| public boolean checkOwner(String authorizationId) throws StandardException Implements abstract org. Doc from org. This method checks if the passed authorization id is same as the owner of the object on which this permission is defined. This method gets called by create view/constraint/trigger to see if this permission needs to be saved in dependency system for the view/constraint/trigger. If the same user is the owner of the the object being accessed and the newly created object, then no need to keep this privilege dependency
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getCatalogNumber | back to summary |
|---|---|
| public int getCatalogNumber() Implements abstract org. | |
| getClassType | back to summary |
|---|---|
| public String getClassType() Implements org. Get the provider's type.
| |
| getDependableFinder | back to summary |
|---|---|
| public DependableFinder getDependableFinder() Implements org. Doc from org. Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable.
| |
| getObjectName | back to summary |
|---|---|
| public String getObjectName() Implements org. Return the name of this Provider. (Useful for errors.)
| |
| getObjectType | back to summary |
|---|---|
| public String getObjectType() | |
| getPermission | back to summary |
|---|---|
| public String getPermission() | |
| getPermObjectId | back to summary |
|---|---|
| public UUID getPermObjectId() | |
| getProtectedObject | back to summary |
|---|---|
| public static PrivilegedSQLObject getProtectedObject(DataDictionary dd, UUID objectID, String objectType) throws StandardException Get the protected object.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isGrantable | back to summary |
|---|---|
| public boolean isGrantable() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |