java.lang.Object | ||
↳ | com.microstrategy.utils.serialization.AbstractPersistable | |
↳ | com.microstrategy.web.objects.WebIServerSubscriptionDynamicRecipientListImpl |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_CONTACT_ID | ||||||||||
String | DUMMY_CONTACT_ID |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected String | _description | ||||||||||
protected WebObjectsFactory | _factory | ||||||||||
protected String | _id | ||||||||||
protected boolean | _isPopulated | ||||||||||
protected String | _name | ||||||||||
protected int | _type | ||||||||||
protected String | _xml | ||||||||||
protected boolean | stale |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addAddress(WebSubscriptionAddress address)
add address of contact
| ||||||||||
void | addCollection(WebSubscriptionContact collection) | ||||||||||
void |
addMember(WebSubscriptionContact member)
add the members of contact
| ||||||||||
void |
delete()
Removes an existing editable object from its source.
| ||||||||||
boolean | equals(Object obj) | ||||||||||
List<WebSubscriptionAddress> |
getAddreses()
get the addresses of contact
| ||||||||||
SimpleList |
getAddressesByDeliveryMode(int delMode)
Returns a
SimpleList of WebSubscriptionAddress objects associated
to this particular contact for a specified delivery mode. | ||||||||||
int |
getContactType()
Returns the type of contact, from
EnumDSSXMLSubscriptionContactType
| ||||||||||
String | getDescription() | ||||||||||
String | getID() | ||||||||||
boolean |
getIsAllInfo()
whether to save all info for the contact
| ||||||||||
String |
getLinkedUserName()
Gets the linked user name of the contact
| ||||||||||
SimpleList |
getLocationsByDeliveryMode(int delMode)
Returns a
SimpleList of WebSubscriptionLocation objects associated to this particular
contact for a specified delivery mode. | ||||||||||
WebObjectInfo | getMappingContent() | ||||||||||
WebSubscriptionDynamicRecipientList.MappingField | getMappingDevice() | ||||||||||
WebSubscriptionDynamicRecipientList.MappingField | getMappingLinkedUser() | ||||||||||
WebSubscriptionDynamicRecipientList.MappingField | getMappingNotificationAddress() | ||||||||||
WebSubscriptionDynamicRecipientList.MappingField | getMappingNotificationDevice() | ||||||||||
WebSubscriptionDynamicRecipientList.MappingField | getMappingPersonalization() | ||||||||||
WebSubscriptionDynamicRecipientList.MappingField | getMappingPhysicalAddress() | ||||||||||
WebObjectInfo | getMappingProject() | ||||||||||
WebSubscriptionDynamicRecipientList.MappingField | getMappingRecipientName() | ||||||||||
WebSubscriptionContacts |
getMembers()
get the members of the contact
| ||||||||||
String | getName() | ||||||||||
String | getName(String localeID) | ||||||||||
WebSessionInfo | getSessionInfo() | ||||||||||
boolean |
getStatus()
get the status of the contact
| ||||||||||
String | getStringKey() | ||||||||||
SimpleList |
getSubscriptions(int deliveryMode)
Returns a
SimpleList of WebSubscription objects to which this particular
contact is subscribed to, for a specified delivery mode. | ||||||||||
SimpleList |
getSubscriptions()
Returns a
SimpleList collection of WebSubscription objects to which this DRL (dynamic recipient list)
is subscribed to | ||||||||||
SimpleList | getSubscriptions(int blockBegin, int blockCount) | ||||||||||
SimpleList |
getSubscriptions(int deliveryMode, int blockBegin, int blockCount)
Returns a
SimpleList collection of WebSubscription
objects to which this particular user is subscribed to, for a specified delivery mode, from a specified
begin block, up to a specified block count. | ||||||||||
SimpleList |
getSubscriptions(WebSubscriptionsFilter filter, int blockBegin, int blockCount)
Returns a
SimpleList collection of WebSubscription
objects to which this particular contact is a recipient, for a specified delivery mode, from a specified
begin block, up to a specified block count. | ||||||||||
int | getType() | ||||||||||
int | hashCode() | ||||||||||
boolean | isPopulated() | ||||||||||
WebSubscriptionDynamicRecipientList.MappingField |
newMappingField(String attributeId, String formId)
Creates a new MappingField object.
| ||||||||||
void |
populate()
used to populate the object if not already populated
| ||||||||||
void |
removeAddress(WebSubscriptionAddress address)
remove the address of contact
| ||||||||||
void |
removeMember(WebSubscriptionContact member)
remove members from the contact
| ||||||||||
void |
save()
save this conatct
| ||||||||||
void | setDescription(String description) | ||||||||||
void |
setIsAllInfo(boolean isAllInfo)
Set whether to save all info for the contact
isAllInfo flag is added when we develop the save_contact XML API for Contact and contact group manager in Cloud OM. | ||||||||||
void |
setLinkedUser(String linkedUserId)
set the linked User
| ||||||||||
void |
setMappingContent(WebObjectInfo content)
Sets the mapping content object.
| ||||||||||
void |
setMappingDevice(WebSubscriptionDynamicRecipientList.MappingField field)
Sets the mapping field for Device property.
| ||||||||||
void |
setMappingLinkedUser(WebSubscriptionDynamicRecipientList.MappingField field)
Sets the mapping field for Linked User property.
| ||||||||||
void |
setMappingNotificationAddress(WebSubscriptionDynamicRecipientList.MappingField field)
Sets the mapping field for Notification Address property.
| ||||||||||
void |
setMappingNotificationDevice(WebSubscriptionDynamicRecipientList.MappingField field)
Sets the mapping field for Notification Device property.
| ||||||||||
void |
setMappingPersonalization(WebSubscriptionDynamicRecipientList.MappingField field)
Sets the mapping field for Personalization property.
| ||||||||||
void |
setMappingPhysicalAddress(WebSubscriptionDynamicRecipientList.MappingField field)
Sets the mapping field for Physical Address property.
| ||||||||||
void |
setMappingProject(WebObjectInfo project)
Sets the project object which the mapping content is belonging to.
| ||||||||||
void |
setMappingRecipientName(WebSubscriptionDynamicRecipientList.MappingField field)
Sets the mapping field for Recipient Name property.
| ||||||||||
void |
setName(String objectName)
Sets the name of the contact
| ||||||||||
void |
setStatus(boolean isEnabled)
set the status for the contact
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | saveXMLState(WebXMLBuilder builder, int howMuchState) | ||||||||||
void | saveXMLState(StringBuffer buf, int howMuchState) | ||||||||||
void | setID(String objectID) | ||||||||||
void | setType(int objectType) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
add address of contact
address | WebSubscriptionAddress
|
---|
add the members of contact
member | WebSubscriptionContact
|
---|
Removes an existing editable object from its source. Example : removing an existing WebSchedule
from
IServer.
WebObjectsException |
---|
get the addresses of contact
Returns a SimpleList
of WebSubscriptionAddress
objects associated
to this particular contact for a specified delivery mode.
delMode | , from EnumDSSXMLSubscriptionDeliveryType |
---|
WebObjectsException |
---|
whether to save all info for the contact
Gets the linked user name of the contact
Returns a SimpleList
of WebSubscriptionLocation
objects associated to this particular
contact for a specified delivery mode.
delMode | , from EnumDSSXMLSubscriptionDeliveryType |
---|
WebObjectsException |
---|
get the status of the contact
Returns a SimpleList
of WebSubscription
objects to which this particular
contact is subscribed to, for a specified delivery mode.
deliveryMode | , from EnumDSSXMLSubscriptionDeliveryType |
---|
WebObjectsException |
---|
Returns a SimpleList
collection of WebSubscription
objects to which this DRL (dynamic recipient list)
is subscribed to
WebObjectsException |
---|
Returns a SimpleList
collection of WebSubscription
objects to which this particular user is subscribed to, for a specified delivery mode, from a specified
begin block, up to a specified block count.
deliveryMode | , from EnumDSSXMLSubscriptionDeliveryType |
---|---|
blockBegin | , the starting count of subscription, it is 0-based index which means set it N will return subscriptions from the (N+1)th subscription. |
blockCount | , block size for the incremental fetch of subscription. If set it 0, will return all subscriptions from the starting count |
WebObjectsException |
---|
Returns a SimpleList
collection of WebSubscription
objects to which this particular contact is a recipient, for a specified delivery mode, from a specified
begin block, up to a specified block count.
filter | WebSubscriptionsFilter used to filter the results of this call. A blank filter can be retrieved from getNewSubscriptionsFilter() |
---|---|
blockBegin | , the starting count of subscription, it is 0-based index which means set it N will return subscriptions from the (N+1)th subscription. |
blockCount | , block size for the incremental fetch of subscription. If set it 0, will return all subscriptions from the starting count |
SimpleList
collection of WebSubscription
objectsWebObjectsException |
---|
Creates a new MappingField object.
attributeId | The id of the attribute which the field is mapping to |
---|---|
formId | The id of the attribute form which the field is mapping to |
used to populate the object if not already populated
Set whether to save all info for the contact
isAllInfo flag is added when we develop the save_contact XML API for Contact and contact group manager in Cloud OM.
Below is the description and usage of this flag. It is added to keep backward compatibility.
1. When its false, it keeps the old behavior that we remove or edit one of its addresses for this contact. We save the changed addresses.
2. When its true, it indicates to save all details for this contact, including all of its addresses, contact members, etc. For this case, we need pass all addresses of this contact to backend.
set the linked User
linkedUserId | the linked User GUID |
---|
Sets the mapping content object.
content | The mapping content object. |
---|
Sets the mapping field for Device property.
field | WebSubscriptionDynamicRecipientList.MappingField containing the mapping attribute id and attribute form id
|
---|
Sets the mapping field for Linked User property.
field | WebSubscriptionDynamicRecipientList.MappingField containing the mapping attribute id and attribute form id
|
---|
Sets the mapping field for Notification Address property.
field | WebSubscriptionDynamicRecipientList.MappingField containing the mapping attribute id and attribute form id
|
---|
Sets the mapping field for Notification Device property.
field | WebSubscriptionDynamicRecipientList.MappingField containing the mapping attribute id and attribute form id
|
---|
Sets the mapping field for Personalization property.
field | WebSubscriptionDynamicRecipientList.MappingField containing the mapping attribute id and attribute form id
|
---|
Sets the mapping field for Physical Address property.
field | WebSubscriptionDynamicRecipientList.MappingField containing the mapping attribute id and attribute form id
|
---|
Sets the project object which the mapping content is belonging to.
project | The project object. |
---|
Sets the mapping field for Recipient Name property.
field | WebSubscriptionDynamicRecipientList.MappingField containing the mapping attribute id and attribute form id
|
---|
Sets the name of the contact
objectName | String containing the name of the contact |
---|
set the status for the contact