summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2012-01-11 12:57:53 -0500
committerAde Lee <alee@redhat.com>2012-01-11 13:49:04 -0500
commit10cfe7756e967ac91c66d33b392aeab9cf3780fb (patch)
treed5ac9b58442265d2ce5ef60e31f041ddacba1b4f /pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java
parentedcb24f65cc3700e75d0a1d14dc2483f210b0ee4 (diff)
downloadpki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.tar.gz
pki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.tar.xz
pki-10cfe7756e967ac91c66d33b392aeab9cf3780fb.zip
Formatting (no line wrap in comments or code)
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java24
1 files changed, 11 insertions, 13 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java b/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java
index 616bd5db1..5db7e473e 100644
--- a/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java
+++ b/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java
@@ -17,74 +17,72 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.dbs.certdb;
-
import java.util.Enumeration;
import com.netscape.certsrv.base.EBaseException;
import com.netscape.certsrv.dbs.IElementProcessor;
-
/**
* A class represents a list of certificate records.
* <P>
- *
+ *
* @version $Revision$, $Date$
*/
public interface ICertRecordList {
/**
* Gets the current index.
- *
+ *
* @return current index
*/
public int getCurrentIndex();
/**
* Retrieves the size of request list.
- *
+ *
* @return size
*/
public int getSize();
/**
* Gets size before jump to index.
- *
+ *
* @return size
*/
public int getSizeBeforeJumpTo();
/**
* Gets size after jump to index.
- *
+ *
* @return size
*/
public int getSizeAfterJumpTo();
/**
* Process certificate record as soon as it is returned.
- *
+ *
* @param startidx starting index
* @param endidx ending index
* @param ep element processor
* @exception EBaseException failed to process cert records
*/
public void processCertRecords(int startidx, int endidx,
- IElementProcessor ep) throws EBaseException;
+ IElementProcessor ep) throws EBaseException;
/**
* Retrieves requests.
* It's no good to call this if you didnt check
* if the startidx, endidx are valid.
- *
+ *
* @param startidx starting index
* @param endidx ending index
* @exception EBaseException failed to retrieve
*/
public Enumeration getCertRecords(int startidx, int endidx)
- throws EBaseException;
+ throws EBaseException;
/**
- * Gets one single record at a time similar to
+ * Gets one single record at a time similar to
* processCertRecords but no extra class needed.
*
* @param index position of the record to be retrieved
@@ -92,5 +90,5 @@ public interface ICertRecordList {
* @exception EBaseException failed to retrieve
*/
public ICertRecord getCertRecord(int index)
- throws EBaseException;
+ throws EBaseException;
}