public interface IProfileList
ITemplate instances. Copyright 2004 SAP AG
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
IProfile profile)
Inserts the specified template group at the specified position in this list.
|
boolean |
add(IProfile profile)
Add the template group to the list.
|
boolean |
addAll(IProfileList list)
Add all template groups in the specified list to this list.
|
boolean |
containsProfile(IProfile profile)
Returns true if the specified template group is a member of the list.
|
IProfileList |
difference(IProfileList list)
Get the difference of this list to the given list.
|
IProfile |
get(int index)
Returns the template group at the specified position.
|
int |
indexOf(IProfile profile)
Returns the index in this list of the first occurrence of the specified
template group, or -1 if the list does not contain this group.
|
IProfileList |
intersection(IProfileList list)
Get the intersection of this list and the given list.
|
int |
lastIndexOf(IProfile profile)
Returns the index in this list of the last occurrence of the specified
template group, or -1 if the list does not contain this group.
|
IProfileListIterator |
listIterator()
Returns a profile-list-iterator of the elements in this list.
|
IProfileListIterator |
listIterator(int index)
Returns a list-iterator of the template groups in this list, starting at the
specified position in the list.
|
IProfile |
remove(int index)
Removes the template group at the specified position in this list.
|
boolean |
remove(IProfile profile)
Removes the first occurrence of the specified template group from the list.
|
IProfile |
set(int index,
IProfile profile)
Replaces the template group at the specified position in this list with the
given template group.
|
int |
size()
Returns the size of the list.
|
void |
sort(Comparator comp)
Sort the elements in the list using the specified comparator
|
IProfileList |
subList(int index1,
int index2)
Returns a sub list of template groups from a given start index to a given end index
|
IProfileList |
union(IProfileList list)
Get the union of this list and the given list.
|
int size()
boolean containsProfile(IProfile profile)
profile - IProfile for which the check should be doneboolean add(IProfile profile)
profile - The group to add to the list.boolean addAll(IProfileList list)
list - The list whose elements are to be added to this list.boolean remove(IProfile profile)
profile - Template group that should be removedIProfile get(int index)
index - of the group that should be returned.IProfile set(int index, IProfile profile)
index - index of group to replace.profile - Template group to be stored at the specified position.void add(int index,
IProfile profile)
index - index where the specified template group should be inserted.profile - Template group that should be insertedIProfile remove(int index)
index - The index of the template group to remove.int indexOf(IProfile profile)
profile - Template group to search for.int lastIndexOf(IProfile profile)
profile - Template group to search for.IProfileListIterator listIterator()
IProfileListIterator listIterator(int index)
index - Index of first element to be returned from the list-iterator
(by a call to next).IProfileList subList(int index1, int index2)
index1 - start indexindex2 - end indexIProfileList which contains the template groups from the given start index
to the given end indexvoid sort(Comparator comp)
comp - The comparator used for sortingComparatorIProfileList union(IProfileList list)
list - The IProfileList to union with this list.IProfileList with the union list.IProfileList intersection(IProfileList list)
list - the IProfileList to intersect with this list.IProfileList with the intersection list.IProfileList difference(IProfileList list)
list - the IProfileList to subtract from this list.IProfileList with the difference list.| Access 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 2017 SAP AG Complete Copyright Notice