|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectYahooIdentity
Represents an alias to the current Yahoo account.
A list of possible aliases (identities) is given to the session as part
of the login process. The list can be accessed at any time from the
getIdentities
method of a current Session
object.
Typically this list is made available to an end user via some sort of menu.
Clients would use the YahooIdentity
associated with the
choosen menu item when calling methods on the Session
overloaded to take an identity.
The order in which identities appear in the list may change from login to login. Indeed even during a session, if the user's data is refreshed, there is a (slim) possibility they may change order.
Constructor Summary | |
YahooIdentity()
|
Method Summary | |
String |
getId()
Returns this identity's username. |
boolean |
isActivated()
Returns true if this identity is currently activated. |
boolean |
isLoginIdentity()
Returns true if this is the login identity. |
boolean |
isPrimaryIdentity()
Returns true if this is the primary identity. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public YahooIdentity()
Method Detail |
public String getId()
public boolean isPrimaryIdentity()
public boolean isLoginIdentity()
Session.login
method to
create the current session.
public boolean isActivated()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |