Package com.netscape.cmscore.dbs
Class KeyRecordList
- java.lang.Object
-
- com.netscape.cmscore.dbs.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()
-
-
-
Method Detail
-
getSize
public int getSize()
Retrieves the size of key list.- Specified by:
getSize
in interfacecom.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 interfacecom.netscape.certsrv.dbs.keydb.IKeyRecordList
- Parameters:
startidx
- start indexendidx
- end index- Returns:
- key records
- Throws:
EBaseException
- failed to retrieve key records
-
-