public interface ISequence
Each scheduler entry has to be unique in this sequence. Copyright (c)2003 SAP AG
Modifier and Type | Method and Description |
---|---|
ISchedulerEntry |
add(int index,
ISchedulerEntry entry)
Inserts a scheduler entry to the sequence at position
index . |
ISchedulerEntry |
add(ISchedulerEntry entry)
Appends a scheduler entry to the end of the sequence.
|
void |
clear()
Removes all of the elements from this sequence.
|
boolean |
contains(ISchedulerEntry entry)
Returns
true if this sequence contains the specified entry. |
ISchedulerEntry |
get(int index)
Returns the entry at the specified position in this sequence.
|
String |
getID()
Get the unique id of the sequence.
|
boolean |
isEmpty()
Returns
true if this sequence contains no entries. |
boolean |
remove(ISchedulerEntry entry)
Removes an entry from the sequence.
|
int |
size()
Returns the number of entries in this sequence.
|
ISchedulerEntry[] |
toArray()
Converts the entries of this sequence to an array in the proper order.
|
String getID()
String
with the entry's id.ISchedulerEntry add(ISchedulerEntry entry) throws WcmException
entry
- A scheduler entryWcmException
- If adding fails.ISchedulerEntry add(int index, ISchedulerEntry entry) throws WcmException
index
.
The scheduler entry must not be added before, otherwise an exception will be raised.index
- The position of the entry in the sequence.entry
- A scheduler entryWcmException
- If adding fails.boolean remove(ISchedulerEntry entry) throws WcmException
entry
- The entry to remove.true
if this list contained the specified element.WcmException
- exceptionvoid clear() throws WcmException
WcmException
- exceptionISchedulerEntry[] toArray()
int size()
boolean isEmpty()
true
if this sequence contains no entries.true
if this sequence contains no entries.ISchedulerEntry get(int index)
index
- of element to return.boolean contains(ISchedulerEntry entry)
true
if this sequence contains the specified entry.
More formally, returns true if and only if this sequence contains exactly one
entry e such that (entry==null ? e==null : entry.equals(e)).entry
- entry whose presence in this sequence is to be tested.true
if this list contains the specified element.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 2018 SAP AG Complete Copyright Notice