Package com.microstrategy.web.objects
Interface WebSubscriptionContacts
-
- All Known Implementing Classes:
WebIServerSubscriptionDynamicRecipientListsImpl
public interface WebSubscriptionContacts
Represents a collection interface ofWebSubscriptionContact
objects.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(WebSubscriptionContact contact)
Add a newWebSubscriptionContact
object to the collection.void
clear()
Clears all items from the collection.WebSubscriptionContact
get(int index)
Returns theWebSubscriptionContact
object at the given indexint
getTotalCount()
Returns the total count ofWebSubscriptionContact
objects that is returned.boolean
isEmpty()
Returns whether the current collection is empty or notboolean
isReadOnly()
Returns whether the current collection is read-onlyvoid
remove(int index)
Removes theWebSubscriptionContact
object at the given index from the collectionint
size()
Returns the current size of the collection
-
-
-
Method Detail
-
size
int size()
Returns the current size of the collection- Returns:
- the number of
WebSubscriptionContact
objects in the collection
-
isEmpty
boolean isEmpty()
Returns whether the current collection is empty or not
-
get
WebSubscriptionContact get(int index)
Returns theWebSubscriptionContact
object at the given index- Parameters:
index
-
-
getTotalCount
int getTotalCount()
Returns the total count ofWebSubscriptionContact
objects that is returned. Please note that this is different from thesize()
method. This method is useful in determining whether there are moreWebSubscriptionContact
objects that could be obtained by an incremental fetch.
-
isReadOnly
boolean isReadOnly()
Returns whether the current collection is read-only
-
remove
void remove(int index)
Removes theWebSubscriptionContact
object at the given index from the collection- Parameters:
index
-
-
add
void add(WebSubscriptionContact contact)
Add a newWebSubscriptionContact
object to the collection.- Parameters:
contact
-
-
clear
void clear()
Clears all items from the collection.
-
-