| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | GrantRoleConstantAction(List<E>
List of the names of the roles being granted roleNames, List<E> List of the authorization ids granted to role grantees)Make the ConstantAction for a CREATE ROLE statement. |
| Modifier and Type | Method and Description |
|---|---|
| private void | checkCircularity(String
The role about to be granted role, String The role to which grantee, String role is to be grantedWho does the granting grantor, TransactionController tc, DataDictionary dd)Check that allowing this grant to go ahead does nto create a circularity in the GRANT role relation graph, cf. Section 12.5, Syntax rule 1 of ISO/IEC 9075-2 2003. |
| public void | executeConstantAction(Activation
The execution environment for this constant action. activation)Implements org. This is the guts of the Execution-time logic for GRANT role. |
| public String |
| grantees | back to summary |
|---|---|
| private List<E> grantees | |
| roleNames | back to summary |
|---|---|
| private List<E> roleNames | |
| withAdminOption | back to summary |
|---|---|
| private final boolean withAdminOption | |
| GrantRoleConstantAction | back to summary |
|---|---|
| public GrantRoleConstantAction(List<E> roleNames, List<E> grantees) Make the ConstantAction for a CREATE ROLE statement. When executed, will create a role by the given name. | |
| checkCircularity | back to summary |
|---|---|
| private void checkCircularity(String role, String grantee, String grantor, TransactionController tc, DataDictionary dd) throws StandardException Check that allowing this grant to go ahead does nto create a circularity in the GRANT role relation graph, cf. Section 12.5, Syntax rule 1 of ISO/IEC 9075-2 2003.
| |
| executeConstantAction | back to summary |
|---|---|
| public void executeConstantAction(Activation activation) throws StandardException Implements org. This is the guts of the Execution-time logic for GRANT role.
| |
| 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-
| |