Package com.microstrategy.web.objects
Interface WebSubscriptionContacts
-
- All Known Implementing Classes:
WebIServerSubscriptionDynamicRecipientListsImpl
public interface WebSubscriptionContactsRepresents a collection interface ofWebSubscriptionContactobjects.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(WebSubscriptionContact contact)Add a newWebSubscriptionContactobject to the collection.voidclear()Clears all items from the collection.WebSubscriptionContactget(int index)Returns theWebSubscriptionContactobject at the given indexintgetTotalCount()Returns the total count ofWebSubscriptionContactobjects that is returned.booleanisEmpty()Returns whether the current collection is empty or notbooleanisReadOnly()Returns whether the current collection is read-onlyvoidremove(int index)Removes theWebSubscriptionContactobject at the given index from the collectionintsize()Returns the current size of the collection
-
-
-
Method Detail
-
size
int size()
Returns the current size of the collection- Returns:
- the number of
WebSubscriptionContactobjects in the collection
-
isEmpty
boolean isEmpty()
Returns whether the current collection is empty or not
-
get
WebSubscriptionContact get(int index)
Returns theWebSubscriptionContactobject at the given index- Parameters:
index-
-
getTotalCount
int getTotalCount()
Returns the total count ofWebSubscriptionContactobjects that is returned. Please note that this is different from thesize()method. This method is useful in determining whether there are moreWebSubscriptionContactobjects 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 theWebSubscriptionContactobject at the given index from the collection- Parameters:
index-
-
add
void add(WebSubscriptionContact contact)
Add a newWebSubscriptionContactobject to the collection.- Parameters:
contact-
-
clear
void clear()
Clears all items from the collection.
-
-