This class describes a permission require by a statement.
Constructor Summary
StatementPermission() Restrict implementations to this package to reduce
risk of external code spoofing the GRANT/REVOKE system
by providing its own fake implementations.
Parameters: lcc - LanguageConnectionContext Parameters: authorizationId - AuthorizationId Parameters: forGrant - exception: StandardException - if the permission has not been granted
Get the PermissionDescriptor 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.
Parameters: authid - AuthorizationId Parameters: dd - DataDictionary PermissionsDescriptor The PermissionDescriptor for the passedauthorization id on this object exception: StandardException -