|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.mn.communicator.DefaultRegistrationService
public class DefaultRegistrationService
Created on 2004-11-29
| Constructor Summary | |
|---|---|
DefaultRegistrationService(Session session)
|
|
| Method Summary | |
|---|---|
void |
changePassword(int uin,
java.lang.String email,
java.lang.String oldPassword,
java.lang.String newPassword,
java.lang.String tokenID,
java.lang.String tokenVal)
This method allows to change password on Gadu-Gadu account. |
GGToken |
getRegistrationToken()
|
int |
registerAccount(java.lang.String email,
java.lang.String password,
java.lang.String tokenID,
java.lang.String tokenVal)
Use this method if you want to create a new Gadu-Gadu account. |
void |
sendPassword(int uin,
java.lang.String email,
java.lang.String tokenID,
java.lang.String tokenVal)
Sends user's current password to user's mailbox. |
void |
unregisterAccount(int uin,
java.lang.String password,
java.lang.String tokenID,
java.lang.String tokenVal)
Use this method if you want to delete your current account from Gadu-Gadu server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRegistrationService(Session session)
| Method Detail |
|---|
public GGToken getRegistrationToken()
throws GGException
getRegistrationToken in interface IRegistrationServiceGGExceptionpl.mn.communicator.IRegistrationService#getRegToken()
public void changePassword(int uin,
java.lang.String email,
java.lang.String oldPassword,
java.lang.String newPassword,
java.lang.String tokenID,
java.lang.String tokenVal)
throws GGException
IRegistrationService
changePassword in interface IRegistrationServiceGGExceptionIRegistrationService.changePassword(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public int registerAccount(java.lang.String email,
java.lang.String password,
java.lang.String tokenID,
java.lang.String tokenVal)
throws GGException
IRegistrationService
registerAccount in interface IRegistrationServiceemail - e-mail address that is associated with the new account.password - Password to access the new account.tokenID - the id of the tokentokenVal - the value of the token
GGExceptionpl.mn.communicator.IRegistrationService#registerAccount(java.lang.String email, java.lang.String password, int qa, String answer)
public void unregisterAccount(int uin,
java.lang.String password,
java.lang.String tokenID,
java.lang.String tokenVal)
throws GGException
IRegistrationService
unregisterAccount in interface IRegistrationServiceuin - Gadu-Gadu number to unregister.password - the password that will be used together with uin in unregistration process.tokenID - the id of the tokentokenVal - the value of the token
GGExceptionpl.mn.communicator.IRegistrationService#unregisterAccount(int, java.lang.String)
public void sendPassword(int uin,
java.lang.String email,
java.lang.String tokenID,
java.lang.String tokenVal)
throws GGException
IRegistrationService
sendPassword in interface IRegistrationServiceuin - User's Gadu-Gadu number.tokenID - the id of the tokentokenVal - the value of the token
GGExceptionpl.mn.communicator.IRegistrationService#remindAndSendPassword(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||