Class KeyRecordList

  • All Implemented Interfaces:
    com.netscape.certsrv.dbs.keydb.IKeyRecordList

    public class KeyRecordList
    extends java.lang.Object
    implements com.netscape.certsrv.dbs.keydb.IKeyRecordList
    A class represents a list of key records.

    Version:
    $Revision$, $Date$
    Author:
    thomask
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyRecordList​(com.netscape.certsrv.dbs.IDBVirtualList<com.netscape.certsrv.dbs.keydb.IKeyRecord> vlist)
      Constructs a key list.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.netscape.certsrv.dbs.keydb.IKeyRecord getKeyRecord​(int i)  
      java.util.Enumeration<com.netscape.certsrv.dbs.keydb.IKeyRecord> getKeyRecords​(int startidx, int endidx)
      Retrieves requests.
      int getSize()
      Retrieves the size of key list.
      int getSizeAfterJumpTo()  
      int getSizeBeforeJumpTo()  
      • Methods inherited from class java.lang.Object

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

      • KeyRecordList

        public KeyRecordList​(com.netscape.certsrv.dbs.IDBVirtualList<com.netscape.certsrv.dbs.keydb.IKeyRecord> vlist)
        Constructs a key list.
    • Method Detail

      • getSize

        public int getSize()
        Retrieves the size of key list.
        Specified by:
        getSize in interface com.netscape.certsrv.dbs.keydb.IKeyRecordList
        Returns:
        size of key list
      • getSizeBeforeJumpTo

        public int getSizeBeforeJumpTo()
      • getSizeAfterJumpTo

        public int getSizeAfterJumpTo()
      • getKeyRecord

        public com.netscape.certsrv.dbs.keydb.IKeyRecord getKeyRecord​(int i)
      • getKeyRecords

        public java.util.Enumeration<com.netscape.certsrv.dbs.keydb.IKeyRecord> getKeyRecords​(int startidx,
                                                                                              int endidx)
                                                                                       throws EBaseException
        Retrieves requests.
        Specified by:
        getKeyRecords in interface com.netscape.certsrv.dbs.keydb.IKeyRecordList
        Parameters:
        startidx - start index
        endidx - end index
        Returns:
        key records
        Throws:
        EBaseException - failed to retrieve key records