| com.microstrategy.web.objects.WebChannels |
The WebChannels interface represents a collection of channels which are defined on a
WebServerDef object. The channels represent communication channels on the server;
each channel contains methods to read and write properties of the channel.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract boolean |
contains(String name)
Returns whether the collection contains a channel with the given name.
| ||||||||||
| abstract Enumeration |
elements()
Returns a java.util.Enumeration of the items in the collection.
| ||||||||||
| abstract WebChannel |
get(int i)
Returns the
WebChannel object at the given index in the collection. | ||||||||||
| abstract WebChannel |
getItemByName(String name)
Returns the channel in the collection with the given name.
| ||||||||||
| abstract int |
size()
Returns the size of the collection.
| ||||||||||
Returns whether the collection contains a channel with the given name.
| name | The name of the channel to search for. |
|---|
Returns a java.util.Enumeration of the items in the collection.
Returns the WebChannel object at the given index in the collection.
| i | The index of the object to return. |
|---|
WebChannel object at the given index.
Returns the channel in the collection with the given name.
| name | The name of the channel to search for. |
|---|
WebChannel object with the given name.| IllegalArgumentException | Thrown if the given name does not exist in the collection. |
|---|
Returns the size of the collection.
WebChannel objects in the collection.