Documentation of 'org.apache.derby.impl.sql.execute.GenericPrivilegeInfo' Java class
GenericPrivilegeInfo
org.apache.derby.impl.sql.execute

Class GenericPrivilegeInfo

    • Constructor Summary

      Constructors 
      Constructor and Description
      GenericPrivilegeInfo(PrivilegedSQLObject tupleDescriptor, java.lang.String privilege, boolean restrict)
      Construct from the object which is protected by privileges.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void executeGrantRevoke(Activation activation, boolean grant, java.util.List grantees)
      This is the guts of the Execution-time logic for GRANT/REVOKE generic privileges.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenericPrivilegeInfo

        public GenericPrivilegeInfo(PrivilegedSQLObject tupleDescriptor,
                                    java.lang.String privilege,
                                    boolean restrict)
        Construct from the object which is protected by privileges.
        Parameters:
        tupleDescriptor - The object which is being protected
        privilege - Kind of privilege (e.g., PermDescriptor.USAGE_PRIV)
        restrict - True if this is a REVOKE RESTRICT action
    • 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 generic privileges.
        Specified by:
        executeGrantRevoke in class PrivilegeInfo
        Parameters:
        activation -
        grant - true if grant, false if revoke
        grantees - a list of authorization ids (strings)
        Throws:
        StandardException - Thrown on failure

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.