Top Fields Constructors Methods
org.apache.derby.impl.sql.execute

public Class RoutinePrivilegeInfo

extends PrivilegeInfo
Class Inheritance
Imports
org.apache.derby.iapi.sql.Activation, org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.iapi.sql.conn.LanguageConnectionContext, org.apache.derby.iapi.store.access.TransactionController, org.apache.derby.iapi.sql.depend.DependencyManager, org.apache.derby.iapi.sql.dictionary.RoutinePermsDescriptor, .AliasDescriptor, .StatementRoutinePermission, .DataDictionary, .DataDescriptorGenerator, org.apache.derby.shared.common.error.StandardException, java.util.Iterator, .List

Field Summary

Modifier and TypeField and Description
private AliasDescriptor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
executeGrantRevoke(Activation activation, boolean
true if grant, false if revoke
grant
,
List<E>
a list of authorization ids (strings)
grantees
)

Implements abstract org.apache.derby.impl.sql.execute.PrivilegeInfo.executeGrantRevoke.

This is the guts of the Execution-time logic for GRANT/REVOKE of a routine execute privilege

Inherited from org.apache.derby.impl.sql.execute.PrivilegeInfo:
addWarningIfPrivilegeNotRevokedcheckOwnership

Field Detail

aliasDescriptorback to summary
private AliasDescriptor aliasDescriptor

Constructor Detail

RoutinePrivilegeInfoback to summary
public RoutinePrivilegeInfo(AliasDescriptor aliasDescriptor)

Method Detail

executeGrantRevokeback to summary
public void executeGrantRevoke(Activation activation, boolean grant, List<E> grantees) throws StandardException

Implements abstract org.apache.derby.impl.sql.execute.PrivilegeInfo.executeGrantRevoke.

This is the guts of the Execution-time logic for GRANT/REVOKE of a routine execute privilege

Parameters
grant:boolean

true if grant, false if revoke

grantees:List<E>

a list of authorization ids (strings)

Exceptions
StandardException:
Thrown on failure