Documentation of 'org.apache.derby.iapi.sql.dictionary.PermissionsDescriptor' Java class
PermissionsDescriptor
org.apache.derby.iapi.sql.dictionary

Class PermissionsDescriptor

    • Method Detail

      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • getCatalogNumber

        public abstract int getCatalogNumber()
      • setGrantee

        public void setGrantee(java.lang.String grantee)
      • getGrantee

        public final java.lang.String getGrantee()
      • getGrantor

        public final java.lang.String getGrantor()
      • getUUID

        public UUID getUUID()
        Gets the UUID of the table.
        Returns:
        The UUID of the table.
      • setUUID

        public void setUUID(UUID oid)
        Sets the UUID of the table
        Parameters:
        oid - The UUID of the table to be set in the descriptor
      • checkOwner

        public abstract boolean checkOwner(java.lang.String authorizationId)
                                    throws StandardException
        This method checks if the passed authorization id is same as the owner of the object on which this permission is defined. This method gets called by create view/constraint/trigger to see if this permission needs to be saved in dependency system for the view/constraint/trigger. If the same user is the owner of the the object being accessed and the newly created object, then no need to keep this privilege dependency
        Returns:
        boolean If passed authorization id is owner of the table
        Throws:
        StandardException
      • getObjectID

        public UUID getObjectID()
        Get the provider's UUID
        Specified by:
        getObjectID in interface Dependable
        Returns:
        The provider's UUID
      • isPersistent

        public boolean isPersistent()
        Is this provider persistent? A stored dependency will be required if both the dependent and provider are persistent.
        Specified by:
        isPersistent in interface Dependable
        Overrides:
        isPersistent in class TupleDescriptor
        Returns:
        boolean Whether or not this provider is persistent.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.