|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.client.controller.SynchronizationController
com.funambol.client.controller.AccountScreenController
public class AccountScreenController
This class is the controller (in the MVC model) for the AccountScreen.
Field Summary |
---|
Fields inherited from class com.funambol.client.controller.SynchronizationController |
---|
controller, currentSource, doCancel, engine, logConnectivityError, MANUAL, PUSH, REFRESH_FROM_SERVER, REFRESH_TO_SERVER, SCHEDULED, showTCPAlert |
Constructor Summary | |
---|---|
AccountScreenController(Controller controller,
AccountScreen accountScreen)
|
Method Summary | |
---|---|
void |
applyCurrentValues()
Apply the current Configuration values |
void |
endSync(java.util.Vector sources,
boolean hadErrors)
The synchronizaion has been completed for the given sources. |
Controller |
getController()
|
boolean |
hasChanges(java.lang.String serverUri,
java.lang.String username,
java.lang.String password)
|
void |
hide()
|
void |
initScreen()
|
void |
resetValues()
|
void |
saveAndCheck(java.lang.String serverUri,
java.lang.String username,
java.lang.String password)
|
protected void |
showSyncInProgressMessage()
|
void |
sourceFailed(AppSyncSource appSource,
SyncException e)
This method is invoked when the synchronization of a source throws an exception. |
void |
sourceStarted(AppSyncSource appSource)
This method notifies that a new source is about to begin its synchronization. |
void |
syncEnded()
Invoked at the end of the synchronization (always invoked, regardless of success or failure) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountScreenController(Controller controller, AccountScreen accountScreen)
Method Detail |
---|
public Controller getController()
getController
in class SynchronizationController
public void saveAndCheck(java.lang.String serverUri, java.lang.String username, java.lang.String password)
public void sourceFailed(AppSyncSource appSource, SyncException e)
SyncEngineListener
sourceFailed
in interface SyncEngineListener
sourceFailed
in class SynchronizationController
public void sourceStarted(AppSyncSource appSource)
SyncEngineListener
sourceStarted
in interface SyncEngineListener
sourceStarted
in class SynchronizationController
public void syncEnded()
SyncEngineListener
syncEnded
in interface SyncEngineListener
syncEnded
in class SynchronizationController
public boolean hasChanges(java.lang.String serverUri, java.lang.String username, java.lang.String password)
public void resetValues()
public void applyCurrentValues()
public void endSync(java.util.Vector sources, boolean hadErrors)
SyncEngineListener
endSync
in interface SyncEngineListener
endSync
in class SynchronizationController
sources
- the list of sources being synchronizedpublic void hide()
public void initScreen()
protected void showSyncInProgressMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |