Class IDS2Wrapper

All Implemented Interfaces:
IPersistence, ISQLWrapper, IDS2Codes, AbstractDataObject, ICBLBeanNGroup, ICBLContainer, IFieldContainer, ISMBean, ISMDataType

public abstract class IDS2Wrapper extends LinkedSQLWrapper implements IDS2Codes
  • Constructor Details

    • IDS2Wrapper

      public IDS2Wrapper(BaseService owner)
      default constructor
      Parameters:
      owner -
  • Method Details

    • findAny

      public int findAny()
      this is like SEEK, but the parameters would have been passed in prior to the search. E.g. myRecord.setFoo("xyz"); myRecord.setBar(1234); myRecord.FindAny()
      Returns:
    • findOwner

      public void findOwner(IDS2Wrapper master)
    • seekChildren

      protected void seekChildren(AbstractCBLPrimitive[] keys, int conditionType) throws IOStatusException
      equivalant of START record in COBOL
      Parameters:
      conditionType -
      key -
      Throws:
      IOStatusException
    • get

      public int get()
    • isRecordSetEmpty

      public boolean isRecordSetEmpty()
    • nextRecord

      public int nextRecord() throws IOStatusException
      Description copied from class: LinkedSQLWrapper
      go to next
      Overrides:
      nextRecord in class LinkedSQLWrapper
      Returns:
      IPersistence.STATUS_SUCCESS if records are found, Otherwise returns other values from IPersistence;
      Throws:
      IOStatusException
    • getDbStatus

      public int getDbStatus()