| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | check(LanguageConnectionContext
LanguageConnectionContext lcc, boolean forGrant, Activation activation for statement needing check activation)Implements abstract org.
|
| public UUID | |
| public String | getObjectType()
Overrides org. Get the type of the privileged object. |
| public PermissionsDescriptor | getPermissionDescriptor(String
AuthorizationId authid, DataDictionary DataDictionary dd)Implements abstract org. Get the PermissionsDescriptor for the passed authorization id for this object. |
| public String | |
| public PrivilegedSQLObject | getPrivilegedObject(DataDictionary dd)
Overrides org. Get the privileged object associated with this permission. |
| public boolean | isCorrectPermission(PermissionsDescriptor raw)
Overrides org. Return true if the passed in permission matches the one required by this StatementPermission. |
| public String |
| _objectID | back to summary |
|---|---|
| private UUID _objectID | |
| _objectType | back to summary |
|---|---|
| private String _objectType | |
| _privilege | back to summary |
|---|---|
| private String _privilege | |
| StatementGenericPermission | back to summary |
|---|---|
| public StatementGenericPermission(UUID objectID, String objectType, String privilege) | |
| check | back to summary |
|---|---|
| public void check(LanguageConnectionContext lcc, boolean forGrant, Activation activation) throws StandardException Implements abstract org.
| |
| getObjectID | back to summary |
|---|---|
| public UUID getObjectID() | |
| getObjectType | back to summary |
|---|---|
| public String getObjectType() Overrides org. Doc from org. Get the type of the privileged object.
| |
| getPermissionDescriptor | back to summary |
|---|---|
| public PermissionsDescriptor getPermissionDescriptor(String authid, DataDictionary dd) throws StandardException Implements abstract org. Doc from org. Get the PermissionsDescriptor for the passed authorization id for this object. This method gets called during the execution phase of create view/constraint/trigger. The return value of this method is saved in dependency system to keep track of views/constraints/triggers dependencies on required permissions. This happens in execution phase after it has been established that passed authorization id has all the permissions it needs to create that view/constraint/trigger. Which means that we can only get to writing into dependency system once all the required privileges are confirmed.
| |
| getPrivilege | back to summary |
|---|---|
| public String getPrivilege() | |
| getPrivilegedObject | back to summary |
|---|---|
| public PrivilegedSQLObject getPrivilegedObject(DataDictionary dd) throws StandardException Overrides org. Doc from org. Get the privileged object associated with this permission. | |
| isCorrectPermission | back to summary |
|---|---|
| public boolean isCorrectPermission(PermissionsDescriptor raw) Overrides org. Doc from org. Return true if the passed in permission matches the one required by this StatementPermission. | |
| 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-
| |