| Access | Constructor and Description |
|---|---|
| pack-priv | SetRoleNode(String
The name of the new role, null if NONE specified roleName, int Type of role name could be USER or dynamic parameter type, ContextManager Context manager cm)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | Returns: NEED_PARAM_ACTIVATION or NEED_NOTHING_ACTIVATION depending on paramsOverrides org. Override: Returns the type of activation this class generates. |
| pack-priv void | generate(ActivationClassBuilder
The ActivationClassBuilder for the class being built acb, MethodBuilder the method for the execute() method to be built mb)Overrides org. Override: Generate code, need to push parameters |
| private void | generateParameterValueSet(ActivationClassBuilder
The ActivationClassBuilder for the class we're building acb)Generate the code to create the ParameterValueSet, if necessary, when constructing the activation. |
| public boolean | Returns: falseOverrides org. Override to allow committing of reading SYSROLES, cf. SetRoleConstantAction's call to userCommit to retain idle state. |
| public ConstantAction | makeConstantAction()
Overrides org. Create the Constant information that will drive the guts of Execution. |
| public String | statementToString()
Implements abstract org.
|
| public String | Returns: This object as a StringOverrides org. Convert this object to a String. |
| SetRoleNode | back to summary |
|---|---|
pack-priv SetRoleNode(String roleName, int type, ContextManager cm) throws StandardException
| |
| activationKind | back to summary |
|---|---|
| pack-priv int activationKind() Overrides org. Override: Returns the type of activation this class generates.
| |
| generate | back to summary |
|---|---|
| pack-priv void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException Overrides org. Override: Generate code, need to push parameters
| |
| generateParameterValueSet | back to summary |
|---|---|
| private void generateParameterValueSet(ActivationClassBuilder acb) throws StandardException Generate the code to create the ParameterValueSet, if necessary, when constructing the activation. Also generate the code to call a method that will throw an exception if we try to execute without all the parameters being set.
| |
| isAtomic | back to summary |
|---|---|
| public boolean isAtomic() Overrides org. Override to allow committing of reading SYSROLES, cf. SetRoleConstantAction's call to userCommit to retain idle state. If atomic, that commit will fail.
| |
| makeConstantAction | back to summary |
|---|---|
| public ConstantAction makeConstantAction() throws StandardException Overrides org. Create the Constant information that will drive the guts of Execution.
| |
| statementToString | back to summary |
|---|---|
| public String statementToString() Implements abstract org. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing. | |