jxUtil 0.6

org.sourceforge.jxutil.net.ddm.qddrdbd
Class PKGATHRUL

java.lang.Object
  |
  +--org.sourceforge.jxutil.net.ddm.qddprmd.DATA
        |
        +--org.sourceforge.jxutil.net.ddm.qddprmd.NUMBER
              |
              +--org.sourceforge.jxutil.net.ddm.qddprmd.BIN
                    |
                    +--org.sourceforge.jxutil.net.ddm.qddprmd.BIN8
                          |
                          +--org.sourceforge.jxutil.net.ddm.qddrdbd.PKGATHRUL

public final class PKGATHRUL
extends BIN8

The Package Authorization Rules (PKGATHRUL) Binary Integer Number specifies which authorization identifier to use when dynamic SQL in a package is executed.

See Also:
BGNBND, REBIND

Field Summary
static short CP
           
static PKGATHRUL DEFAULT
          DEFAULT = REQUESTER.
static PKGATHRUL DEFINER_REVERT_TO_OWNER
          DEFINER_REVERT_TO_OWNER - Authorization Identifier of Function or Stored Procedure Creator.
static PKGATHRUL DEFINER_REVERT_TO_REQUESTER
          DEFINER_REVERT_TO_REQUESTER - Authorization Identifier of Function or Stored Procedure Creator.
static PKGATHRUL INVOKER_REVERT_TO_OWNER
          INVOKER_REVERT_TO_OWNER - Invoking View/Statement Authorization Identifier.
static PKGATHRUL INVOKER_REVERT_TO_REQUESTER
          INVOKER_REVERT_TO_REQUESTER - Invoking View/Statement Authorization Identifier.
static PKGATHRUL OWNER
          OWNER - Package Owner Authorization Identifier.
static PKGATHRUL REQUESTER
          REQUESTER - Package Requester Authorization Identifier.
 
Fields inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.BIN8
value
 
Constructor Summary
private PKGATHRUL(byte value)
           
  PKGATHRUL(DDM ddm, int len)
           
 
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.BIN8
write
 
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.DATA
getCP, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CP

public static final short CP
See Also:
Constant Field Values

DEFAULT

public static final PKGATHRUL DEFAULT
DEFAULT = REQUESTER.


DEFINER_REVERT_TO_OWNER

public static final PKGATHRUL DEFINER_REVERT_TO_OWNER
DEFINER_REVERT_TO_OWNER - Authorization Identifier of Function or Stored Procedure Creator. The dynamic SQL package's authorization identifier is the creator of the function or stored procedure. If the package is not invoked as a function or stored procedure, the value reverts to OWNER.


DEFINER_REVERT_TO_REQUESTER

public static final PKGATHRUL DEFINER_REVERT_TO_REQUESTER
DEFINER_REVERT_TO_REQUESTER - Authorization Identifier of Function or Stored Procedure Creator. The dynamic SQL package's authorization identifier is the creator of the function or stored procedure. If the package is not invoked as a function or stored procedure, the value reverts to REQUESTER.


INVOKER_REVERT_TO_OWNER

public static final PKGATHRUL INVOKER_REVERT_TO_OWNER
INVOKER_REVERT_TO_OWNER - Invoking View/Statement Authorization Identifier. The dynamic SQL package's authorization identifier is the authorization identifier of the statement invoking the function or stored procedure, or is the creator of the view invoking function. If the package is not invoked as a function or stored procedure, the value reverts to OWNER.


INVOKER_REVERT_TO_REQUESTER

public static final PKGATHRUL INVOKER_REVERT_TO_REQUESTER
INVOKER_REVERT_TO_REQUESTER - Invoking View/Statement Authorization Identifier. The dynamic SQL package's authorization identifier is the authorization identifier of the statement invoking the function or stored procedure, or is the creator of the view invoking function. If the package is not invoked as a function or stored procedure, the value reverts to REQUESTER.


OWNER

public static final PKGATHRUL OWNER
OWNER - Package Owner Authorization Identifier. The dynamic SQL package s authorization identifier is the package owner's s authorization identifier.


REQUESTER

public static final PKGATHRUL REQUESTER
REQUESTER - Package Requester Authorization Identifier. The dynamic SQL package's authorization identifier is the package execution requester's authorization identifier.

Constructor Detail

PKGATHRUL

private PKGATHRUL(byte value)

PKGATHRUL

public PKGATHRUL(DDM ddm,
                 int len)
          throws IOException

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.