A collection of connections. More...
Public Member Functions | |
fm.liveswitch.ManagedConnection | getById (String idValue) |
Gets a connection by ID. More... | |
fm.liveswitch.ManagedConnection | getByRemoteId (String idValue) |
Gets a connection by remote ID. More... | |
ManagedConnectionCollection () | |
boolean | tryGetById (String idValue, fm.liveswitch.Holder< fm.liveswitch.ManagedConnection > connection) |
Tries to get a connection by ID. More... | |
boolean | tryGetByRemoteId (String idValue, fm.liveswitch.Holder< fm.liveswitch.ManagedConnection > connection) |
Tries to get a connection by remote ID. More... | |
Protected Member Functions | |
void | addSuccess (fm.liveswitch.ManagedConnection value) |
Invoked when an element is added to the collection. More... | |
fm.liveswitch.ManagedConnection[] | arrayFromList (java.util.ArrayList< fm.liveswitch.ManagedConnection > list) |
Creates an array from a list. More... | |
fm.liveswitch.ManagedConnectionCollection | createCollection () |
Creates a collection. More... | |
void | removeSuccess (fm.liveswitch.ManagedConnection value) |
Invoked when an element is removed from the collection. More... | |
A collection of connections.
fm.liveswitch.ManagedConnectionCollection.ManagedConnectionCollection | ( | ) |
|
protected |
Invoked when an element is added to the collection.
value | The value. |
|
protected |
Creates an array from a list.
list | The list. |
|
protected |
Creates a collection.
fm.liveswitch.ManagedConnection fm.liveswitch.ManagedConnectionCollection.getById | ( | String | idValue | ) |
Gets a connection by ID.
idValue | The identifier. |
fm.liveswitch.ManagedConnection fm.liveswitch.ManagedConnectionCollection.getByRemoteId | ( | String | idValue | ) |
Gets a connection by remote ID.
idValue | The identifier. |
|
protected |
Invoked when an element is removed from the collection.
value | The value. |
boolean fm.liveswitch.ManagedConnectionCollection.tryGetById | ( | String | idValue, |
fm.liveswitch.Holder< fm.liveswitch.ManagedConnection > | connection | ||
) |
Tries to get a connection by ID.
idValue | The identifier. |
connection | The connection. |
boolean fm.liveswitch.ManagedConnectionCollection.tryGetByRemoteId | ( | String | idValue, |
fm.liveswitch.Holder< fm.liveswitch.ManagedConnection > | connection | ||
) |
Tries to get a connection by remote ID.
idValue | The identifier. |
connection | The connection. |