Class RoutinePrivilegeInfo
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.PrivilegeInfo
-
- org.apache.derby.impl.sql.execute.RoutinePrivilegeInfo
-
public class RoutinePrivilegeInfo extends PrivilegeInfo
-
-
Field Summary
Fields Modifier and Type Field Description private AliasDescriptor
aliasDescriptor
-
Constructor Summary
Constructors Constructor Description RoutinePrivilegeInfo(AliasDescriptor aliasDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeGrantRevoke(Activation activation, boolean grant, java.util.List grantees)
This is the guts of the Execution-time logic for GRANT/REVOKE of a routine execute privilege-
Methods inherited from class org.apache.derby.impl.sql.execute.PrivilegeInfo
addWarningIfPrivilegeNotRevoked, checkOwnership
-
-
-
-
Field Detail
-
aliasDescriptor
private AliasDescriptor aliasDescriptor
-
-
Constructor Detail
-
RoutinePrivilegeInfo
public RoutinePrivilegeInfo(AliasDescriptor aliasDescriptor)
-
-
Method Detail
-
executeGrantRevoke
public void executeGrantRevoke(Activation activation, boolean grant, java.util.List grantees) throws StandardException
This is the guts of the Execution-time logic for GRANT/REVOKE of a routine execute privilege- Specified by:
executeGrantRevoke
in classPrivilegeInfo
- Parameters:
activation
-grant
- true if grant, false if revokegrantees
- a list of authorization ids (strings)- Throws:
StandardException
- Thrown on failure
-
-