Package com.microstrategy.web.objects
Class WebIServerSubscriptionDynamicRecipientListsImpl
- java.lang.Object
-
- com.microstrategy.web.objects.WebIServerSubscriptionDynamicRecipientListsImpl
-
- All Implemented Interfaces:
WebSubscriptionContacts
public class WebIServerSubscriptionDynamicRecipientListsImpl extends java.lang.Object implements WebSubscriptionContacts
-
-
Method Summary
All Methods Instance Methods Concrete 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
getCurrentCount()
int
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-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.objects.WebSubscriptionContacts
add, clear, get, getTotalCount, isEmpty, isReadOnly, remove, size
-
-
-
-
Method Detail
-
size
public int size()
Description copied from interface:WebSubscriptionContacts
Returns the current size of the collection- Specified by:
size
in interfaceWebSubscriptionContacts
- Returns:
- the number of
WebSubscriptionContact
objects in the collection
-
isEmpty
public boolean isEmpty()
Description copied from interface:WebSubscriptionContacts
Returns whether the current collection is empty or not- Specified by:
isEmpty
in interfaceWebSubscriptionContacts
-
get
public WebSubscriptionContact get(int index)
Description copied from interface:WebSubscriptionContacts
Returns theWebSubscriptionContact
object at the given index- Specified by:
get
in interfaceWebSubscriptionContacts
-
getTotalCount
public int getTotalCount()
Description copied from interface:WebSubscriptionContacts
Returns the total count ofWebSubscriptionContact
objects that is returned. Please note that this is different from theWebSubscriptionContacts.size()
method. This method is useful in determining whether there are moreWebSubscriptionContact
objects that could be obtained by an incremental fetch.- Specified by:
getTotalCount
in interfaceWebSubscriptionContacts
-
getCurrentCount
public int getCurrentCount()
-
isReadOnly
public boolean isReadOnly()
Description copied from interface:WebSubscriptionContacts
Returns whether the current collection is read-only- Specified by:
isReadOnly
in interfaceWebSubscriptionContacts
-
remove
public void remove(int index)
Description copied from interface:WebSubscriptionContacts
Removes theWebSubscriptionContact
object at the given index from the collection- Specified by:
remove
in interfaceWebSubscriptionContacts
-
add
public void add(WebSubscriptionContact contact)
Description copied from interface:WebSubscriptionContacts
Add a newWebSubscriptionContact
object to the collection.- Specified by:
add
in interfaceWebSubscriptionContacts
-
clear
public void clear()
Description copied from interface:WebSubscriptionContacts
Clears all items from the collection.- Specified by:
clear
in interfaceWebSubscriptionContacts
-
-