com.ibm.as400.access

Class ProductDirectoryInformation

  • java.lang.Object
    • com.ibm.as400.access.ProductDirectoryInformation


  • public class ProductDirectoryInformation
    extends java.lang.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 Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getInstalledPath()
      The installed full path name for the product directory.
      java.lang.String getPrimaryPath()
      The primary full path name for the product directory.
      java.lang.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.
      java.lang.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.
      java.lang.String toString()
      Returns the string representation of this object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getInstalledPath

        public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String toString()
        Returns the string representation of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The primary full path name of this product directory.