JML

net.sf.jml
Interface MsnOwner

All Superinterfaces:
MsnUser
All Known Implementing Classes:
MsnOwnerImpl

public interface MsnOwner
extends MsnUser

Current login user.

Author:
Roger Chen

Method Summary
 MsnObject getDisplayPicture()
           
 MsnUserStatus getInitStatus()
          Get the init status.
 MsnMessenger getMessenger()
          Get the MsnMessenger the owner belongs to.
 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 info)
           
 void setCurrentMedia(String title, String artist, String album, GUID contentID)
           
 void setDisplayName(String displayName)
          Set display name.
 void setDisplayPicture(MsnObject picture)
           
 void setInitDisplayPicture(MsnObject initDisplayPictures)
           
 void setInitPersonalMessage(String personalMessage)
           
 void setInitStatus(MsnUserStatus status)
          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 info)
           
 void setProperty(MsnUserPropertyType type, String value)
          Set user property.
 void setStatus(MsnUserStatus status)
          Set status.
 
Methods inherited from interface net.sf.jml.MsnUser
getClientId, getDisplayName, getEmail, getOldDisplayName, getOldStatus, getProperties, getStatus
 

Method Detail

getMessenger

MsnMessenger getMessenger()
Get the MsnMessenger the owner belongs to.

Returns:
MsnMessenger

isVerified

boolean isVerified()
The email have been verified.

Returns:
the email have been verified

getInitStatus

MsnUserStatus getInitStatus()
Get the init status. When login to NS, will use this status to init.

Returns:
init status

setInitStatus

void setInitStatus(MsnUserStatus status)
Set the init status.

Parameters:
status - init status

setDisplayName

void setDisplayName(String displayName)
Set display name.

Parameters:
displayName - display name

setClientId

void setClientId(MsnClientId clientId)
Set client id.

Parameters:
clientId - client id

setStatus

void setStatus(MsnUserStatus status)
Set status.

Parameters:
status - status

setProperty

void setProperty(MsnUserPropertyType type,
                 String value)
Set user property. See http://www.hypothetic.org/docs/msn/notification/get_details.php "Phone Numbers" section.

Parameters:
type - property type
value - property value

isOnlyNotifyAllowList

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. See http://www.hypothetic.org/docs/msn/notification/get_details.php "Privacy Settings -- BLP" section.

Returns:
is only notify AL

setOnlyNotifyAllowList

void setOnlyNotifyAllowList(boolean b)
if set to true, the contacts neither on AL or BL will be blocked. See http://www.hypothetic.org/docs/msn/notification/get_details.php "Privacy Settings -- BLP" section.

Parameters:
b - is only notify AL

isNotifyMeWhenSomeoneAddedMe

boolean isNotifyMeWhenSomeoneAddedMe()
See http://www.hypothetic.org/docs/msn/notification/get_details.php "Privacy Settings -- GTC" section.

Returns:
is notify me when someone added me

setNotifyMeWhenSomeoneAddedMe

void setNotifyMeWhenSomeoneAddedMe(boolean b)
See http://www.hypothetic.org/docs/msn/notification/get_details.php "Privacy Settings -- GTC" section.

Parameters:
b - is notify me when someone added me

setDisplayPicture

void setDisplayPicture(MsnObject picture)

setInitDisplayPicture

void setInitDisplayPicture(MsnObject initDisplayPictures)

setInitPersonalMessage

void setInitPersonalMessage(String personalMessage)

getDisplayPicture

MsnObject getDisplayPicture()

setPersonalMessage

void setPersonalMessage(String info)

getPersonalMessage

String getPersonalMessage()

setCurrentMedia

void setCurrentMedia(String info)

setCurrentMedia

void setCurrentMedia(String title,
                     String artist,
                     String album,
                     GUID contentID)

JML