com.ibm.jtopenlite.command.program.openlist

Class GetListEntries

  • java.lang.Object
    • com.ibm.jtopenlite.command.program.openlist.GetListEntries
    • Constructor Detail

      • GetListEntries

        public GetListEntries()
      • GetListEntries

        public GetListEntries(int lengthOfReceiverVariable,
                      byte[] requestHandle,
                      int recordLength,
                      int numberOfRecordsToReturn,
                      int startingRecord,
                      ListEntryFormat formatter,
                      ListFormatListener listener)
    • Method Detail

      • getProgramName

        public java.lang.String getProgramName()
        Description copied from interface: Program
        Returns the name of the program object.
        Specified by:
        getProgramName in interface Program
      • getProgramLibrary

        public java.lang.String getProgramLibrary()
        Description copied from interface: Program
        Returns the library of the program object.
        Specified by:
        getProgramLibrary in interface Program
      • getNumberOfParameters

        public int getNumberOfParameters()
        Description copied from interface: Program
        Returns the number of parameters for this program.
        Specified by:
        getNumberOfParameters in interface Program
      • newCall

        public void newCall()
        Description copied from interface: Program
        Invoked before any other methods on this interface by CommandConnection whenever this Program is called.
        Specified by:
        newCall in interface Program
      • getLengthOfReceiverVariable

        public int getLengthOfReceiverVariable()
      • setLengthOfReceiverVariable

        public void setLengthOfReceiverVariable(int length)
      • getRequestHandle

        public byte[] getRequestHandle()
      • setRequestHandle

        public void setRequestHandle(byte[] requestHandle)
      • getRecordLength

        public int getRecordLength()
      • setRecordLength

        public void setRecordLength(int recordLength)
      • getNumberOfRecordsToReturn

        public int getNumberOfRecordsToReturn()
      • setNumberOfRecordsToReturn

        public void setNumberOfRecordsToReturn(int numberOfRecordsToReturn)
      • getStartingRecord

        public int getStartingRecord()
      • setStartingRecord

        public void setStartingRecord(int startingRecord)
      • getParameterInputLength

        public int getParameterInputLength(int parmIndex)
        Description copied from interface: Program
        Returns the input length of the parameter at the specified index.
        Specified by:
        getParameterInputLength in interface Program
      • getParameterOutputLength

        public int getParameterOutputLength(int parmIndex)
        Description copied from interface: Program
        Returns the output length of the parameter at the specified index.
        Specified by:
        getParameterOutputLength in interface Program
      • getParameterType

        public int getParameterType(int parmIndex)
        Description copied from interface: Program
        Returns the type of parameter at the specified index.
        Specified by:
        getParameterType in interface Program
        See Also:
        Parameter
      • getTempDataBuffer

        public final byte[] getTempDataBuffer()
        Description copied from interface: Program
        The implementor can create their own temp byte array for the output parameter size and reuse it each time a call is performed, or for more than one parameter on the same call. The implementor can choose to ignore this, and simply return null. The command connection checks to see if the buffer returned by this method is not null and large enough to accommodate the output parameter size.
        Specified by:
        getTempDataBuffer in interface Program
      • getParameterInputData

        public byte[] getParameterInputData(int parmIndex)
        Description copied from interface: Program
        Returns the input data of the parameter at the specified index.
        Specified by:
        getParameterInputData in interface Program
      • setParameterOutputData

        public void setParameterOutputData(int parmIndex,
                                  byte[] tempData,
                                  int maxLength)
        Description copied from interface: Program
        Sets the output data for the parameter at the specified index.
        Specified by:
        setParameterOutputData in interface Program