public class IndexFolderList extends Object implements IIndexFolderList
Constructor and Description |
---|
IndexFolderList(IndexFolderList list,
String indexId)
Construct object of class IndexFolderList.
|
IndexFolderList(String indexId)
Construct object of class IndexFolderList.
|
Modifier and Type | Method and Description |
---|---|
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/initialises 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 . |
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(Comparator comp)
Sorts the index folder list using the given comparator.
|
public IndexFolderList(String indexId) throws WcmException
indexId
- index where index folder list is inWcmException
- WcmExceptionpublic IndexFolderList(IndexFolderList list, String indexId) throws WcmException
list
- other index folder list to copy into this listindexId
- index where index folder list is inWcmException
- WcmExceptionpublic boolean isEmpty()
isEmpty
in interface IIndexFolderList
public IIndexFolder get(int index)
IIndexFolderList
get
in interface IIndexFolderList
index
- position in list to get index folder frompublic IRidList getRidList()
getRidList
in interface IIndexFolderList
public int size()
IIndexFolderList
size
in interface IIndexFolderList
public String getIndexId()
IIndexFolderList
getIndexId
in interface IIndexFolderList
public boolean add(IIndexFolder indexFolder) throws WcmException
IIndexFolderList
indexFolder
to the list.add
in interface IIndexFolderList
indexFolder
- index folder to add to listWcmException
- WcmException
if the operation failspublic boolean addAll(IIndexFolderList indexFolderList) throws WcmException
addAll
in interface IIndexFolderList
indexFolderList
- All to be addedWcmException
- WcmException
if the operation failspublic void add(int index, IIndexFolder indexFolder) throws WcmException
IIndexFolderList
add
in interface IIndexFolderList
index
- position where to add the index folderindexFolder
- index folder to add at the positionWcmException
- WcmException
if the operation failspublic void addLast(IIndexFolder indexFolder) throws WcmException
addLast
in interface IIndexFolderList
indexFolder
- Last to be addedWcmException
- WcmException
if the operation failspublic void addFirst(IIndexFolder indexFolder) throws WcmException
addFirst
in interface IIndexFolderList
indexFolder
- First to be addedWcmException
- WcmException
if the operation failspublic IIndexFolder remove(int index)
IIndexFolderList
index
and returns it.remove
in interface IIndexFolderList
index
- position where the element has to be removedpublic void remove(IIndexFolder indexFolder) throws WcmException
remove
in interface IIndexFolderList
indexFolder
- that has to be removedWcmException
- WcmExceptionpublic IIndexFolderIterator listIterator()
IIndexFolderList
listIterator
in interface IIndexFolderList
public IIndexFolderIterator listIterator(int index)
IIndexFolderList
index
.listIterator
in interface IIndexFolderList
index
- position to start for iteratorpublic boolean contains(IIndexFolder indexFolder)
IIndexFolderList
contains
in interface IIndexFolderList
indexFolder
- index folder for that the existence has to be tested in the listpublic IIndexFolder get(RID indexFolderRid)
IIndexFolderList
RID
.get
in interface IIndexFolderList
indexFolderRid
- rid for index folder to getpublic void clear()
clear
in interface IIndexFolderList
public void sort(Comparator comp)
sort
in interface IIndexFolderList
comp
- the comparatorAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice