|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sapportals.wcm.service.indexmanagement.IndexFolderList
List of index folders
| Constructor Summary | |
IndexFolderList(IndexFolderList list,
java.lang.String indexId)
Construct object of class IndexFolderList. |
|
IndexFolderList(java.lang.String indexId)
Construct object of class IndexFolderList. |
|
| Method Summary | |
boolean |
add(IIndexFolder indexFolder)
Adds indexFolder to the list. |
void |
add(int index,
IIndexFolder indexFolder)
Adds the index folder at the specified position. |
boolean |
addAll(IIndexFolderList indexFolderList)
Add All to the IIndexFolderList object. |
void |
addFirst(IIndexFolder indexFolder)
Add First to the IIndexFolderList object. |
void |
addLast(IIndexFolder indexFolder)
Add Last to the IIndexFolderList object. |
void |
clear()
clears/initializes the list |
boolean |
contains(IIndexFolder indexFolder)
Checks if an equal index folder is in the list. |
IIndexFolder |
get(int index)
Returns index folder at the requested position. |
IIndexFolder |
get(RID indexFolderRid)
Returns the index folder with the specified RID. |
java.lang.String |
getIndexId()
Returns the index id of the list. |
IRidList |
getRidList()
Get the RidList attribute of the IndexFolderList object. |
boolean |
isEmpty()
Get the Empty attribute of the IIndexFolderList object. |
IIndexFolderIterator |
listIterator()
Returns an iterator for the list. |
IIndexFolderIterator |
listIterator(int index)
Returns an iterator for the list starting at position index. |
void |
remove(IIndexFolder indexFolder)
|
IIndexFolder |
remove(int index)
Removes the index folder at position index and returns it. |
int |
size()
Returns the size of the list. |
void |
sort(java.util.Comparator comp)
Sorts the index folder list using the given comparator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IndexFolderList(java.lang.String indexId)
throws WcmException
indexId - index where index folder list is in
public IndexFolderList(IndexFolderList list,
java.lang.String indexId)
throws WcmException
list - other index folder list to copy into this listindexId - index where index folder list is in| Method Detail |
public boolean isEmpty()
isEmpty in interface IIndexFolderListpublic IIndexFolder get(int index)
IIndexFolderListget in interface IIndexFolderListindex - position in list to get index folder frompublic IRidList getRidList()
getRidList in interface IIndexFolderListpublic int size()
IIndexFolderListsize in interface IIndexFolderListpublic java.lang.String getIndexId()
IIndexFolderListgetIndexId in interface IIndexFolderListcom.sapportals.wcm.service.indexmanagement.IIndexFolderList
public boolean add(IIndexFolder indexFolder)
throws WcmException
IIndexFolderListindexFolder to the list.add in interface IIndexFolderListindexFolder - index folder to add to list
public boolean addAll(IIndexFolderList indexFolderList)
throws WcmException
addAll in interface IIndexFolderListindexFolderList - All to be added
public void add(int index,
IIndexFolder indexFolder)
throws WcmException
IIndexFolderListadd in interface IIndexFolderListindex - position where to add the index folderindexFolder - index folder to add at the position
public void addLast(IIndexFolder indexFolder)
throws WcmException
addLast in interface IIndexFolderListindexFolder - Last to be added
public void addFirst(IIndexFolder indexFolder)
throws WcmException
addFirst in interface IIndexFolderListindexFolder - First to be addedpublic IIndexFolder remove(int index)
IIndexFolderListindex and returns it.remove in interface IIndexFolderListindex - position where the element has to be removed
public void remove(IIndexFolder indexFolder)
throws WcmException
remove in interface IIndexFolderListindex - folder that has to be removedpublic IIndexFolderIterator listIterator()
IIndexFolderListlistIterator in interface IIndexFolderListpublic IIndexFolderIterator listIterator(int index)
IIndexFolderListindex.listIterator in interface IIndexFolderListindex - position to start for iteratorpublic boolean contains(IIndexFolder indexFolder)
IIndexFolderListcontains in interface IIndexFolderListindexFolder - index folder for that the existence has to be tested in the listpublic IIndexFolder get(RID indexFolderRid)
IIndexFolderListRID.get in interface IIndexFolderListcom.sapportals.wcm.service.indexmanagement.IIndexFolderListindexFolderRid - rid for index folder to getpublic void clear()
clear in interface IIndexFolderListpublic void sort(java.util.Comparator comp)
sort in interface IIndexFolderListcom.sapportals.wcm.service.indexmanagement.IIndexFolderListcomp -
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||