com.ibm.as400.access

Class ISeriesNetServerPrintShare

  • All Implemented Interfaces:
    java.io.Serializable


    public class ISeriesNetServerPrintShare
    extends ISeriesNetServerShare
    The ISeriesNetServerPrintShare class represents a NetServer print share.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int AFP
      Value of the "spooled file type" attribute, indicating "Advanced Function Printing".
      static int AUTO_DETECT
      Value of the "spooled file type" attribute, indicating "Automatic type sensing".
      static int NOT_REQUIRED
      Value of the "Encryption Required" attribute, indicating "Encryption Required is not required".
      static int REQUIRED
      Value of the "Encryption Required" attribute, indicating "Encryption Required is required".
      static int SCS
      Value of the "spooled file type" attribute, indicating "SNA character string".
      static int USER_ASCII
      Value of the "spooled file type" attribute, indicating "User ASCII".
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getAuthorizationList()
      Gets the value of the "Authorization List" attribute.
      int getEncryptionRequired()
      Gets the value of the "Encryption Required" attribute, only available on 7.4 and above Possible values are ENABLED, NOT_ENABLED.
      java.lang.String getOutputQueueLibrary()
      Returns the name of the library containing the output queue associated with the share.
      java.lang.String getOutputQueueName()
      Returns the name of the output queue associated with the share.
      java.lang.String getPrintDriver()
      Returns the text string that identifies the print driver appropriate for this share.
      java.lang.String getPrinterFileLibrary()
      Returns the name of the library containing the printer file associated with the share.
      java.lang.String getPrinterFileName()
      Returns the name of the printer file associated with the share.
      int getSpooledFileType()
      Returns the spooled file type for the share.
      boolean isPublished()
      Returns the value of the "publish print share" attribute.
      void setAuthorizationList(java.lang.String authorizationList)
      Sets the value of the "Authorization List" attribute.
      void setEncryptionRequired(int required)
      Sets the value of the "Encryption Required" attribute. only available on 7.4 and above Valid values are ENABLED, NOT_ENABLED.
      void setOutputQueueLibrary(java.lang.String name)
      Sets the name of the library containing the output queue associated with the share.
      void setOutputQueueName(java.lang.String name)
      Sets the name of the output queue associated with the share.
      void setPrintDriver(java.lang.String printDriver)
      Sets the text string that identifies the print driver appropriate for this share.
      void setPrinterFileLibrary(java.lang.String name)
      Sets the name of the library containing the printer file associated with the share.
      void setPrinterFileName(java.lang.String name)
      Sets the name of the printer file associated with the share.
      void setPublished(boolean isPublished)
      Sets the value of the "publish print share" attribute.
      void setSpooledFileType(int spooledFileType)
      Sets the spooled file type for the share.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • AFP

        public static final int AFP
        Value of the "spooled file type" attribute, indicating "Advanced Function Printing".
        See Also:
        Constant Field Values
      • AUTO_DETECT

        public static final int AUTO_DETECT
        Value of the "spooled file type" attribute, indicating "Automatic type sensing".
        See Also:
        Constant Field Values
      • SCS

        public static final int SCS
        Value of the "spooled file type" attribute, indicating "SNA character string".
        See Also:
        Constant Field Values
      • USER_ASCII

        public static final int USER_ASCII
        Value of the "spooled file type" attribute, indicating "User ASCII".
        See Also:
        Constant Field Values
      • NOT_REQUIRED

        public static final int NOT_REQUIRED
        Value of the "Encryption Required" attribute, indicating "Encryption Required is not required".
        See Also:
        Constant Field Values
      • REQUIRED

        public static final int REQUIRED
        Value of the "Encryption Required" attribute, indicating "Encryption Required is required".
        See Also:
        Constant Field Values
    • Method Detail

      • getOutputQueueName

        public java.lang.String getOutputQueueName()
        Returns the name of the output queue associated with the share.
        Returns:
        The name of the output queue.
      • getOutputQueueLibrary

        public java.lang.String getOutputQueueLibrary()
        Returns the name of the library containing the output queue associated with the share.
        Returns:
        The library containing the output queue.
      • setOutputQueueName

        public void setOutputQueueName(java.lang.String name)
        Sets the name of the output queue associated with the share.
        Parameters:
        name - The name of the output queue.
      • setOutputQueueLibrary

        public void setOutputQueueLibrary(java.lang.String name)
        Sets the name of the library containing the output queue associated with the share.
        Parameters:
        name - The library containing the output queue.
      • getPrintDriver

        public java.lang.String getPrintDriver()
        Returns the text string that identifies the print driver appropriate for this share. When personal computers connect to this shared printer, this identifies the print driver they should use.
        Returns:
        The print driver.
      • setPrintDriver

        public void setPrintDriver(java.lang.String printDriver)
        Sets the text string that identifies the print driver appropriate for this share. When personal computers connect to this shared printer, this identifies the print driver they should use. This text should match the name of a print driver known to the personal computer operating system.
        Parameters:
        printDriver - The print driver.
      • getPrinterFileName

        public java.lang.String getPrinterFileName()
        Returns the name of the printer file associated with the share.
        Returns:
        The name of the printer file.
      • getPrinterFileLibrary

        public java.lang.String getPrinterFileLibrary()
        Returns the name of the library containing the printer file associated with the share.
        Returns:
        The library containing the printer file.
      • setPrinterFileName

        public void setPrinterFileName(java.lang.String name)
        Sets the name of the printer file associated with the share.
        Parameters:
        name - The name of the printer file.
      • setPrinterFileLibrary

        public void setPrinterFileLibrary(java.lang.String name)
        Sets the name of the library containing the printer file associated with the share.
        Parameters:
        name - The library containing the printer file.
      • isPublished

        public boolean isPublished()
        Returns the value of the "publish print share" attribute. This attribute indicates whether the print share is to be published. true indicates that the print share is published.
        Returns:
        The "publish print share" attribute.
      • setPublished

        public void setPublished(boolean isPublished)
        Sets the value of the "publish print share" attribute. This attribute indicates whether the print share is to be published. true indicates that the print share is published.
        Parameters:
        isPublished - The "publish print share" attribute.
      • getSpooledFileType

        public int getSpooledFileType()
        Returns the spooled file type for the share. This specifies the type of spooled files that are created by using this share. Possible values are AFP, AUTO_DETECT, SCS, and USER_ASCII.
        Returns:
        The spooled file type.
      • setSpooledFileType

        public void setSpooledFileType(int spooledFileType)
        Sets the spooled file type for the share. This specifies the type of spooled files that are created by using this share. Valid values are AFP, AUTO_DETECT, SCS, and USER_ASCII.
        Parameters:
        spooledFileType - The spooled file type.
      • getEncryptionRequired

        public int getEncryptionRequired()
        Gets the value of the "Encryption Required" attribute, only available on 7.4 and above Possible values are ENABLED, NOT_ENABLED.
        Returns:
        The Encryption Required.
      • setEncryptionRequired

        public void setEncryptionRequired(int required)
        Sets the value of the "Encryption Required" attribute. only available on 7.4 and above Valid values are ENABLED, NOT_ENABLED.
        Parameters:
        Encryption - Required, required
      • getAuthorizationList

        public java.lang.String getAuthorizationList()
        Gets the value of the "Authorization List" attribute.
        Returns:
        The Authorization List.
      • setAuthorizationList

        public void setAuthorizationList(java.lang.String authorizationList)
        Sets the value of the "Authorization List" attribute.
        Parameters:
        Authorization - List