summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java')
-rw-r--r--base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java b/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java
index 919a82efb..23b73fe60 100644
--- a/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java
+++ b/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java
@@ -22,7 +22,7 @@ import com.netscape.certsrv.base.EBaseException;
/**
* A interface represents a virtual list of search results.
* Note that this class must be used with DS4.0.
- *
+ *
* @version $Revision$, $Date$
*/
public interface IDBVirtualList<E> {
@@ -33,14 +33,14 @@ public interface IDBVirtualList<E> {
* that is three times as large as the number of visible entries.
* That way, you can scroll up/down several items(up to a page-full)
* without refetching entries from the directory.
- *
+ *
* @param size the page size
*/
public void setPageSize(int size);
/**
* Sets the sort key
- *
+ *
* @param sortKey the attribute to sort by
* @exception EBaseException failed to set
*/
@@ -48,7 +48,7 @@ public interface IDBVirtualList<E> {
/**
* Sets the sort key
- *
+ *
* @param sortKeys the attributes to sort by
* @exception EBaseException failed to set
*/
@@ -58,14 +58,14 @@ public interface IDBVirtualList<E> {
* Retrieves the size of this virtual list.
* Recommend to call getSize() before getElementAt() or getElements()
* since you'd better check if the index is out of bound first.
- *
+ *
* @return current size in list
*/
public int getSize();
/**
* Returns current index.
- *
+ *
* @return current index
*/
@@ -80,7 +80,7 @@ public interface IDBVirtualList<E> {
* some preceding entries)
* Recommend to call getSize() before getElementAt() or getElements()
* since you'd better check if the index is out of bound first.
- *
+ *
* @param first the index of the first entry of the page you want to fetch
*/
public boolean getPage(int first);
@@ -92,7 +92,7 @@ public interface IDBVirtualList<E> {
* of an entry.
* If no entries match, the one just before(or after, if none before)
* will be returned as mSelectedIndex
- *
+ *
* @param text the prefix of the first entry of the page you want to fetch
*/
public boolean getPage(String text);
@@ -103,14 +103,14 @@ public interface IDBVirtualList<E> {
* since you'd better check if the index is out of bound first.
* If the index is out of range of the virtual list, an exception
* will be thrown and return null
- *
+ *
* @param index the index of the element to fetch
*/
public E getElementAt(int index);
/**
* Retrieves and jumps to element in the given position.
- *
+ *
* @param i position
* @return object
*/
@@ -119,7 +119,7 @@ public interface IDBVirtualList<E> {
/**
* Processes elements as soon as it arrives. It is
* more memory-efficient.
- *
+ *
* @param startidx starting index
* @param endidx ending index
* @param ep object to call
@@ -130,14 +130,14 @@ public interface IDBVirtualList<E> {
/**
* Gets the virutal selected index
- *
+ *
* @return selected index
*/
public int getSelectedIndex();
/**
* Gets the top of the buffer
- *
+ *
* @return first index
*/
public int getFirstIndex();