SAP NetWeaver '04

com.sapportals.wcm.service.indexmanagement.retrieval.search
Interface IQueryEntryList

[contained in: com.sap.km.cm.service.par - km.shared.service.indexmanagement_api.jar]
All Superinterfaces:
java.io.Serializable

public interface IQueryEntryList
extends java.io.Serializable

List of IQueryEntry objects


Method Summary
 void add(int index, IQueryEntry queryEntry)
          Inserts the query entry at the specified position in this list.
 boolean add(IQueryEntry queryEntry)
          Adds a query entry to the query entry list
 boolean addAll(IQueryEntryList queryEntryList)
          Adds another query entry list to the query entry list
 IQueryEntry get(int index)
           
 int indexOf(IQueryEntry queryEntry)
           
 IQueryEntryListIterator listIterator()
           
 IQueryEntry remove(int index)
          Removes the query entry at the specified position in this list.
 int size()
           
 IQueryEntryList subList(int from, int to)
           
 

Method Detail

size

public int size()
Returns:
number of query entries

add

public boolean add(IQueryEntry queryEntry)
Adds a query entry to the query entry list
Parameters:
queryEntry - - query entry to add to query
Returns:
true if result added successfully

addAll

public boolean addAll(IQueryEntryList queryEntryList)
Adds another query entry list to the query entry list
Parameters:
queryEntryList - query entry list to add to the query
Returns:
true if list added successfully

get

public IQueryEntry get(int index)
Parameters:
index - - position in the query entry list
Returns:
query entry at the specified position (index)

indexOf

public int indexOf(IQueryEntry queryEntry)
Parameters:
queryEntry - - query entry for that the position in the list has to be determined
Returns:
position(index) of the search result in the list

listIterator

public IQueryEntryListIterator listIterator()
Returns:
list iterator for the query entry list

add

public void add(int index,
                IQueryEntry queryEntry)
Inserts the query entry at the specified position in this list. Shifts the query entry currently at that position (if any) and any subsequent query entries to the right (adds one to their indices).
Parameters:
index - index at which the specified query entry is to be inserted.
queryEntry - query entry to be inserted.
Throws:
java.lang.IndexOutOfBoundsException - if the specified index is out of range (index < 0 || index > size()).

remove

public IQueryEntry remove(int index)
Removes the query entry at the specified position in this list. Shifts any subsequent query entries to the left (subtracts one from their indices). Returns the query entry that was removed from the list.
Parameters:
index - the index of the query entry to be removed.
Returns:
the query entry previously at the specified position.
Throws:
java.lang.IndexOutOfBoundsException - if the specified index is out of range (index < 0 || index >= size()).

subList

public IQueryEntryList subList(int from,
                               int to)

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.