@RemoteServiceRelativePath(value="emailaccount")
public interface EmailAccountService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
void |
changeStatus(String sid,
long id,
boolean enabled)
Changes an account enabled/disabled status
|
void |
delete(String sid,
long id)
Deletes a given account
|
GUIEmailAccount |
get(String sid,
long id)
Loads a given account from the database
|
void |
resetCache(String sid,
long id)
Cleans the cache
|
GUIEmailAccount |
save(String sid,
GUIEmailAccount account)
Creates or updates an account
|
boolean |
test(String sid,
long id)
Test the connection to the given account
|
void delete(String sid, long id) throws InvalidSessionException
InvalidSessionExceptionGUIEmailAccount save(String sid, GUIEmailAccount account) throws InvalidSessionException
InvalidSessionExceptionGUIEmailAccount get(String sid, long id) throws InvalidSessionException
InvalidSessionExceptionboolean test(String sid, long id) throws InvalidSessionException
InvalidSessionExceptionvoid changeStatus(String sid, long id, boolean enabled) throws InvalidSessionException
InvalidSessionExceptionvoid resetCache(String sid, long id) throws InvalidSessionException
InvalidSessionExceptionCopyright © 2008-2014 Logical Objects. All Rights Reserved.