public class Member extends User
Note: The XMLized form is compatible with the user object. If a user xml is used for construction of a member, an error will be the result, becaus no group id is available in a user xml. But it will work vice versa: all information to set up a user object is available in a member xml.
| Constructor and Description |
|---|
Member() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildMemberId(String userId,
String groupid)
Create a Memberid from the internal user and groupid.
|
static String |
extractGroupId(String memberId) |
static String |
extractUserId(String memberId) |
static Member |
fromXML(String xml) |
String |
getGroupId() |
String |
getId()
Any EcmessengerEntity has a unique ID within the system and a XML document.
|
String |
getMemberAttribute(String name)
Provide the value of the given member attribute.
|
HashMap<String,String> |
getMemberAttributes() |
String |
getUserId() |
Member |
setMemberAttribute(String name,
String value) |
getAttribute, getAttributes, getCountryCode, getDob_dd, getDob_mm, getDob_yyyy, getEmail, getFaxnumber, getFirstName, getIdentifier, getLanguageCode, getLastName, getMobilenumber, getNickName, getPartnerId, getTitle, getZipCode, setAttribute, setCountryCode, setDob_dd, setDob_mm, setDob_yyyy, setEmail, setFaxnumber, setFirstName, setId, setIdentifier, setLanguageCode, setLastName, setMobilenumber, setNickName, setPartnerId, setTitle, setZipCodesetLoaded, toHTTP, toXML@EntityProperty public String getId()
EcmessengerEntityNote, that a value of null does not get serialized by toXML().
public static String extractUserId(String memberId)
buildMemberId(String, String)public static String extractGroupId(String memberId)
buildMemberId(String, String)public static String buildMemberId(String userId, String groupid)
userId - groupid - public String getGroupId()
public String getUserId()
public String getMemberAttribute(String name)
name - The Attribute Name as visible in the user interface of eC-Messenger.@EntityProperty(xmlName="memberattr") @Web(webName="grpattr") public HashMap<String,String> getMemberAttributes()
© 2004..2009, eCircle AG, Version: 1.82 (${buildNumber})