public class TdbControlObjectList extends TdbMessageProvidingList<TdbControlObject> implements com.tietoenator.trip.jxp.internal.utils.DOMSink
Constructor and Description |
---|
TdbControlObjectList(TdbControlObjectList r)
Copy constructor, used to derive a list from an existing list; doesn't copy
the last document reference
|
TdbControlObjectList(TdbSession session,
TdbInterfaceType type)
Constructor, should only be used by a derived class
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String name)
Checks if the list contains a control object specified by name.
|
boolean |
contains(java.lang.String name,
TdbControlObjectType type)
Checks if the list contains a control object specified by name and type.
|
void |
refresh()
Refresh the list with the latest view from the server; note that if this
list was constructed using the copy constructor from an existing list, this
call will fail with an exception (UNEXPECTED_STATE) thrown.
|
<T> java.util.List<T> |
transform(TdbTransformer<T> tx)
Transform each element of the control object list, i.e.
|
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessages
cancel, getSession, isCancelable, setCancelable
public TdbControlObjectList(TdbSession session, TdbInterfaceType type) throws TdbException
session
- Active sessiontype
- Type of connection for which this list is validTdbException
public TdbControlObjectList(TdbControlObjectList r) throws TdbException
r
- Existing list from which to copyTdbException
public boolean contains(java.lang.String name, TdbControlObjectType type)
name
- Name of control object to check fortype
- Type of control object to check forpublic boolean contains(java.lang.String name)
name
- Name of control object to check forpublic void refresh() throws TdbException
TdbException
public <T> java.util.List<T> transform(TdbTransformer<T> tx)
T
- The runtime type of each object that will be created by this transformationtx
- The transformer capable of creating objects of type T from TdbControlObject