@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
InvalidSessionException
GUIEmailAccount save(String sid, GUIEmailAccount account) throws InvalidSessionException
InvalidSessionException
GUIEmailAccount get(String sid, long id) throws InvalidSessionException
InvalidSessionException
boolean test(String sid, long id) throws InvalidSessionException
InvalidSessionException
void changeStatus(String sid, long id, boolean enabled) throws InvalidSessionException
InvalidSessionException
void resetCache(String sid, long id) throws InvalidSessionException
InvalidSessionException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.