com.ibm.as400.access

Class ProductDirectoryInformation



  • public class ProductDirectoryInformation
    extends Object
    Represents product directory information for a specific licensed product. Use the Product.getDirectoryInformation method to retrieve the product directory information for a product.
    See Also:
    Product

    • Method Detail

      • getInstalledPath

        public String getInstalledPath()
        The installed full path name for the product directory. This is the installed product home directory concatenated with the installed product directory name.
        Returns:
        The installed full path name of the product directory.
      • getPrimaryPath

        public String getPrimaryPath()
        The primary full path name for the product directory. This is the primary product home directory concatenated with the primary product directory name.
        Returns:
        The primary full path name of the product directory.
      • getPublicDataAuthority

        public String getPublicDataAuthority()
        The public data authority given to the directory by the Restore Licensed Program (RSTLICPGM) command when this product is installed if the directory does not exist. If the product load has not been successfully packaged, this field is blank. Other possible values are:
        • *RWX - Read, write, and execute authorities.
        • *RW - Read and write authorities.
        • *RX - Read and execute authorities.
        • *WX - Write and execute authorities.
        • *R - Read authority.
        • *W - Write authority.
        • *X - Execute authority.
        • *EXCLUDE - Restricted authority.
        • *NONE - No specific authorities.
        Returns:
        The public data authority for this product directory.
        See Also:
        UserPermission
      • getPublicObjectAuthorities

        public String[] getPublicObjectAuthorities()
        The public object authorities given to the directory by the Restore Licensed Program (RSTLICPGM) command when this product is installed if the directory does not exist. If the product load has not been successfully packaged, the number of public object authorities will be 0 and this method will return an empty String array. Possible public object authorities are:
        • *NONE - No authority.
        • *ALL - All authorities.
        • *OBJEXIST - Existence authority.
        • *OBJMGT - Management authority.
        • *OBJALTER - Alter authority.
        • *OBJREF - Reference authority.
        Returns:
        The public object authorities for this product directory.
        See Also:
        UserPermission
      • toString

        public String toString()
        Returns the string representation of this object.
        Overrides:
        toString in class Object
        Returns:
        The primary full path name of this product directory.