com.microstrategy.web.objects.WebSubscriptionRecipientList |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebSubscriptionRecipient |
add(String contactID)
Adds a recipient with the specified contact ID.
| ||||||||||
abstract WebSubscriptionRecipient |
addAddress(WebSubscriptionAddress address)
Add a recipient with the specified address object.
| ||||||||||
abstract WebSubscriptionRecipient |
addAddress(String addressID)
Adds a recipient with the specified location ID.
| ||||||||||
abstract WebSubscriptionRecipient |
addAddress(String contactID, String addressID)
Adds a recipient with the specified contact ID and location ID.
| ||||||||||
abstract WebSubscriptionRecipient |
addLocation(String contactID, String locationKey)
Adds a recipient with the specified location key.
| ||||||||||
abstract WebSubscriptionRecipient |
addLocation(String locationKey)
Adds a recipient with the specified location ID.
| ||||||||||
abstract void |
clear()
clears the recipients list.
| ||||||||||
abstract SimpleList |
filterByAddress(String contactID, String addressID)
returns list of recipients that match the contact, address criterions passed.
| ||||||||||
abstract SimpleList |
filterByLocation(String contactID, String locationKey)
returns list of recipients that match the contact, location criterions passed.
| ||||||||||
abstract boolean |
forceRemoveAddress(String addressID)
Removes the recipient with the specified address ID passed.
| ||||||||||
abstract WebSubscriptionRecipient |
get(int index)
Retrieves the recipient from the index passed.
| ||||||||||
abstract int |
getChangeableMask()
Gets the changeable mask, from
EnumDSSXMLNCSAllowChangeMaskType
| ||||||||||
abstract boolean |
remove(String contactID)
removes the recipient with contact ID passed.
| ||||||||||
abstract boolean |
remove(WebSubscriptionRecipient recipient)
removes the recipient passed.
| ||||||||||
abstract boolean |
removeAddress(String addressID)
Removes the recipient with the specified address ID passed.
| ||||||||||
abstract boolean |
removeAddress(String contactID, String addressID)
removes the recipient with contact ID and address ID passed.
| ||||||||||
abstract boolean |
removeLocation(String locationKey)
Removes the recipient with the specified location key passed.
| ||||||||||
abstract boolean |
removeLocation(String contactID, String locationKey)
removes the recipient with contact ID and locationKey passed.
| ||||||||||
abstract void |
setChangeableMask(int mask)
Sets the changeable mask, from
EnumDSSXMLNCSAllowChangeMaskType . | ||||||||||
abstract void |
setIsAllConsumers(int isAllConsumers)
sets a flag to indicate an isAllConsumers selected in cache subscription
| ||||||||||
abstract void |
setIsBursting()
sets a flag to indicate an instance of burst email subscription
| ||||||||||
abstract int |
size()
returns the size of the recipients list.
|
Adds a recipient with the specified contact ID. The location is the default location defined for that contact.
contactID | DSS ID of the contact which needs to be added as a recipient |
---|
Add a recipient with the specified address object.
Adds a recipient with the specified location ID. The recipient is the default contact associated with the current user who makes the subscription
addressID | DSS ID of the location to which the subscription is sent |
---|
WebObjectsException |
---|
Adds a recipient with the specified contact ID and location ID.
contactID | DSS ID of the contact which needs to be added as a recipient |
---|
WebObjectsException |
---|
Adds a recipient with the specified location key.
WebObjectsException |
---|
Adds a recipient with the specified location ID. The recipient is the default contact associated with the current user who makes the subscription
locationKey | DSS ID of the location to which the subscription is sent |
---|
WebObjectsException |
---|
clears the recipients list.
returns list of recipients that match the contact, address criterions passed. If contactID is passed null or empty, the address is looked up in the personal recipients.
returns list of recipients that match the contact, location criterions passed. If contactID is passed null or empty, the location is looked up in the personal recipients.
Removes the recipient with the specified address ID passed. The recipient is the default contact associated with the current user who makes the subscription. If there are multiple matching instances, the first one encountered will be removed.
Retrieves the recipient from the index passed.
Gets the changeable mask, from EnumDSSXMLNCSAllowChangeMaskType
removes the recipient with contact ID passed. Note, if there are multiple recipients with the same contact ID, this API will remove the one which for which the address is transient (in other words, for which the address is not marked to use the default address). If there are multiple instances of such contact, the first one encountered will be removed.
removes the recipient passed.
recipient | to be removed. |
---|
Removes the recipient with the specified address ID passed. The recipient is the default contact associated with the current user who makes the subscription. If there are multiple matching instances, the first one encountered will be removed.
removes the recipient with contact ID and address ID passed. If there are multiple instances of such contact, the first one encountered will be removed.
Removes the recipient with the specified location key passed. The recipient is the default contact associated with the current user who makes the subscription. If there are multiple matching instances, the first one encountered will be removed.
removes the recipient with contact ID and locationKey passed. If there are multiple instances of such contact, the first one encountered will be removed.
Sets the changeable mask, from EnumDSSXMLNCSAllowChangeMaskType
.
This enables the creator of the subscription to specify whether
the recipients are allowed to change personalization, delivery settings or unsubscribe.
sets a flag to indicate an isAllConsumers selected in cache subscription
sets a flag to indicate an instance of burst email subscription
returns the size of the recipients list.