java.lang.Object | |
↳ | com.microstrategy.web.app.gui.ContactCartElement |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_ADDRESS | ||||||||||
int | TYPE_CONTACT | ||||||||||
int | TYPE_CONTACT_COLLECTION | ||||||||||
int | TYPE_DYNAMIC_RECIPIENT_LIST | ||||||||||
int | TYPE_LDAP_USER | ||||||||||
int | TYPE_LOCATION | ||||||||||
int | TYPE_MSTR_USER | ||||||||||
int | TYPE_MSTR_USER_GROUP |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
String |
getDisplayName()
Get display name to be used in HTML field.
| ||||||||||
String | getKey() | ||||||||||
int | getType() | ||||||||||
String |
getValue()
Gets formatted text for value field.
| ||||||||||
int | hashCode() | ||||||||||
boolean |
isSelected()
Indicates whether given Cart element is selected or not.
| ||||||||||
static int |
mapToContactType(int cartElementType)
Translate from cart element type to contact type
| ||||||||||
static ContactCartElement | newElement(String displayName, int type, String key) | ||||||||||
static ContactCartElement | newElement(WebSubscriptionLocation location) | ||||||||||
static ContactCartElement | newElement(WebSubscriptionContact contact) | ||||||||||
static ContactCartElement |
newElement(WebSubscriptionContact contact, boolean showLinkedUserName)
get a new contact cart element with a contact.
| ||||||||||
static ContactCartElement | newElement(WebSubscriptionAddress address) | ||||||||||
void |
setSelected(boolean flag)
Specifies whether this element has been selected.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Get display name to be used in HTML field.
Gets formatted text for value field.
Indicates whether given Cart element is selected or not.
Translate from cart element type to contact type
cartElementType | int cart element type to be translated to a contact type |
---|
EnumDSSXMLSubscriptionContactType
get a new contact cart element with a contact.
contact | WebSubscriptionContact contact |
---|---|
showLinkedUserName | Boolean specifying if the contact's linked user name should be displayed |
Specifies whether this element has been selected.
flag | boolean value |
---|