public class DefaultOperationList extends BaseWeakReferencingObservable implements OperationList
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PERSISTENT_DESCRIPTION
Description of persistence definition
|
static java.lang.String |
PERSISTENT_NAME
Persistence definition name
|
| Constructor and Description |
|---|
DefaultOperationList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Operation operation,
DynObject parameters) |
void |
add(int index,
OperationListEntry element) |
void |
add(Operation operation,
DynObject parameters) |
boolean |
add(OperationListEntry e) |
boolean |
addAll(java.util.Collection<? extends OperationListEntry> c) |
boolean |
addAll(int index,
java.util.Collection<? extends OperationListEntry> c) |
void |
clear() |
java.lang.Object |
clone()
Creates a copy of the object.
|
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
Buffer |
execute(SimpleTaskStatus status,
Buffer buffer) |
OperationListEntry |
get(int index) |
java.util.List<java.lang.String> |
getAvailableParameterNames() |
java.lang.Object |
getParameterValue(java.lang.String name) |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<OperationListEntry> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<OperationListEntry> |
listIterator() |
java.util.ListIterator<OperationListEntry> |
listIterator(int index) |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistence() |
OperationListEntry |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
void |
removeIfExists(java.lang.String name) |
boolean |
retainAll(java.util.Collection<?> c) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
OperationListEntry |
set(int index,
OperationListEntry element) |
void |
setDefaultParameters(DynObject parameters)
TODO:
|
int |
size() |
java.util.List<OperationListEntry> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
void |
validateLookupParameters() |
addObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChangedequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddObserver, deleteObserver, deleteObserverscloneQuietly, cloneQuietlypublic static final java.lang.String PERSISTENT_NAME
public static final java.lang.String PERSISTENT_DESCRIPTION
public int size()
size in interface java.util.Collection<OperationListEntry>size in interface java.util.List<OperationListEntry>public boolean isEmpty()
isEmpty in interface java.util.Collection<OperationListEntry>isEmpty in interface java.util.List<OperationListEntry>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<OperationListEntry>contains in interface java.util.List<OperationListEntry>public java.util.Iterator<OperationListEntry> iterator()
iterator in interface java.lang.Iterable<OperationListEntry>iterator in interface java.util.Collection<OperationListEntry>iterator in interface java.util.List<OperationListEntry>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<OperationListEntry>toArray in interface java.util.List<OperationListEntry>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<OperationListEntry>toArray in interface java.util.List<OperationListEntry>public boolean add(OperationListEntry e)
add in interface java.util.Collection<OperationListEntry>add in interface java.util.List<OperationListEntry>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<OperationListEntry>remove in interface java.util.List<OperationListEntry>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<OperationListEntry>containsAll in interface java.util.List<OperationListEntry>public boolean addAll(java.util.Collection<? extends OperationListEntry> c)
addAll in interface java.util.Collection<OperationListEntry>addAll in interface java.util.List<OperationListEntry>public boolean addAll(int index,
java.util.Collection<? extends OperationListEntry> c)
addAll in interface java.util.List<OperationListEntry>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<OperationListEntry>removeAll in interface java.util.List<OperationListEntry>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<OperationListEntry>retainAll in interface java.util.List<OperationListEntry>public void clear()
clear in interface java.util.Collection<OperationListEntry>clear in interface java.util.List<OperationListEntry>public OperationListEntry get(int index)
get in interface java.util.List<OperationListEntry>public OperationListEntry set(int index, OperationListEntry element)
set in interface java.util.List<OperationListEntry>public void add(int index,
OperationListEntry element)
add in interface java.util.List<OperationListEntry>public OperationListEntry remove(int index)
remove in interface java.util.List<OperationListEntry>public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<OperationListEntry>public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<OperationListEntry>public java.util.ListIterator<OperationListEntry> listIterator()
listIterator in interface java.util.List<OperationListEntry>public java.util.ListIterator<OperationListEntry> listIterator(int index)
listIterator in interface java.util.List<OperationListEntry>public java.util.List<OperationListEntry> subList(int fromIndex, int toIndex)
subList in interface java.util.List<OperationListEntry>public Buffer execute(SimpleTaskStatus status, Buffer buffer) throws BufferOperationException
execute in interface OperationListBufferOperationExceptionpublic void add(Operation operation, DynObject parameters)
add in interface OperationListpublic void add(int index,
Operation operation,
DynObject parameters)
add in interface OperationListpublic void removeIfExists(java.lang.String name)
removeIfExists in interface OperationListpublic java.lang.Object getParameterValue(java.lang.String name)
getParameterValue in interface OperationListpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic static void registerPersistence()
public java.util.List<java.lang.String> getAvailableParameterNames()
public void setDefaultParameters(DynObject parameters)
OperationListsetDefaultParameters in interface OperationListpublic void validateLookupParameters()
throws InvalidLookupParametersException
validateLookupParameters in interface OperationListInvalidLookupParametersExceptionpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class BaseWeakReferencingObservablejava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.