|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jml.impl.MsnUserImpl
net.sf.jml.impl.MsnOwnerImpl
public class MsnOwnerImpl
Constructor Summary | |
---|---|
MsnOwnerImpl(MsnMessenger messenger,
Email email,
String password)
|
Method Summary | |
---|---|
void |
fSetClientId(MsnClientId clientId)
|
void |
fSetDisplayName(String displayName)
|
void |
fSetNotifyMeWhenSomeoneAddedMe(boolean b)
|
void |
fSetOnlyNotifyAllowList(boolean b)
|
void |
fSetStatusF(MsnUserStatus status)
|
MsnObject |
getDisplayPicture()
|
MsnUserStatus |
getInitStatus()
Get the init status. |
MsnMessenger |
getMessenger()
Get the MsnMessenger the owner belongs to. |
String |
getPassword()
|
String |
getPersonalMessage()
|
boolean |
isNotifyMeWhenSomeoneAddedMe()
See http://www.hypothetic.org/docs/msn/notification/get_details.php "Privacy Settings -- GTC" section. |
boolean |
isOnlyNotifyAllowList()
If result is true, the contacts neither on AL or BL will be blocked, otherwise only the contacts on AL will received my notify message. |
boolean |
isVerified()
The email have been verified. |
void |
setClientId(MsnClientId clientId)
Set client id. |
void |
setCurrentMedia(String currentMedia)
|
void |
setCurrentMedia(String title,
String artist,
String album,
GUID contentId)
|
void |
setDisplayName(String displayName)
Set display name. |
void |
setDisplayPicture(MsnObject displayPicture)
|
void |
setInitDisplayPicture(MsnObject displayPicture)
|
void |
setInitPersonalMessage(String personalMessage)
|
void |
setInitStatus(MsnUserStatus initStatus)
Set the init status. |
void |
setNotifyMeWhenSomeoneAddedMe(boolean b)
See http://www.hypothetic.org/docs/msn/notification/get_details.php "Privacy Settings -- GTC" section. |
void |
setOnlyNotifyAllowList(boolean b)
if set to true, the contacts neither on AL or BL will be blocked. |
void |
setPersonalMessage(String personalMessage)
|
void |
setPersonalMessageAndCurrentMedia(String personalMessage,
String currentMedia)
|
void |
setPersonalMessageAndCurrentMedia(String personalMessage,
String title,
String artist,
String album,
GUID contentId)
|
void |
setProperty(MsnUserPropertyType type,
String value)
Set user property. |
void |
setStatus(MsnUserStatus status)
Set status. |
void |
setVerified(boolean verified)
|
String |
toString()
|
Methods inherited from class net.sf.jml.impl.MsnUserImpl |
---|
getClientId, getDisplayName, getEmail, getOldDisplayName, getOldStatus, getProperties, getStatus, getTelephone, setEmail, setTelephone |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.jml.MsnUser |
---|
getClientId, getDisplayName, getEmail, getOldDisplayName, getOldStatus, getProperties, getStatus |
Constructor Detail |
---|
public MsnOwnerImpl(MsnMessenger messenger, Email email, String password)
Method Detail |
---|
public MsnMessenger getMessenger()
MsnOwner
getMessenger
in interface MsnOwner
public boolean isVerified()
MsnOwner
isVerified
in interface MsnOwner
public MsnUserStatus getInitStatus()
MsnOwner
getInitStatus
in interface MsnOwner
public void setInitStatus(MsnUserStatus initStatus)
MsnOwner
setInitStatus
in interface MsnOwner
initStatus
- init statuspublic boolean isOnlyNotifyAllowList()
MsnOwner
isOnlyNotifyAllowList
in interface MsnOwner
public boolean isNotifyMeWhenSomeoneAddedMe()
MsnOwner
isNotifyMeWhenSomeoneAddedMe
in interface MsnOwner
public void setDisplayName(String displayName)
MsnOwner
setDisplayName
in interface MsnOwner
setDisplayName
in class MsnUserImpl
displayName
- display namepublic void setClientId(MsnClientId clientId)
MsnOwner
setClientId
in interface MsnOwner
setClientId
in class MsnUserImpl
clientId
- client idpublic void setStatus(MsnUserStatus status)
MsnOwner
setStatus
in interface MsnOwner
setStatus
in class MsnUserImpl
status
- statuspublic void setPersonalMessage(String personalMessage)
setPersonalMessage
in interface MsnOwner
public void setCurrentMedia(String currentMedia)
setCurrentMedia
in interface MsnOwner
public void setCurrentMedia(String title, String artist, String album, GUID contentId)
setCurrentMedia
in interface MsnOwner
public void setPersonalMessageAndCurrentMedia(String personalMessage, String currentMedia)
public void setPersonalMessageAndCurrentMedia(String personalMessage, String title, String artist, String album, GUID contentId)
public void setDisplayPicture(MsnObject displayPicture)
setDisplayPicture
in interface MsnOwner
public void setProperty(MsnUserPropertyType type, String value)
MsnOwner
setProperty
in interface MsnOwner
type
- property typevalue
- property valuepublic void setOnlyNotifyAllowList(boolean b)
MsnOwner
setOnlyNotifyAllowList
in interface MsnOwner
b
- is only notify ALpublic void setNotifyMeWhenSomeoneAddedMe(boolean b)
MsnOwner
setNotifyMeWhenSomeoneAddedMe
in interface MsnOwner
b
- is notify me when someone added mepublic String toString()
toString
in class Object
public void setVerified(boolean verified)
public void setInitDisplayPicture(MsnObject displayPicture)
setInitDisplayPicture
in interface MsnOwner
public void setInitPersonalMessage(String personalMessage)
setInitPersonalMessage
in interface MsnOwner
public String getPassword()
public MsnObject getDisplayPicture()
getDisplayPicture
in interface MsnOwner
public String getPersonalMessage()
getPersonalMessage
in interface MsnOwner
public void fSetDisplayName(String displayName)
public void fSetClientId(MsnClientId clientId)
public void fSetStatusF(MsnUserStatus status)
public void fSetNotifyMeWhenSomeoneAddedMe(boolean b)
public void fSetOnlyNotifyAllowList(boolean b)
|
JML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |