This is a helper class which implements some methods for repeating tasks that are needed on various occasions.
More...
|
static boolean | subscribe (int eventID, SettingsLocal settingsLocal, Context context) throws ClientProtocolException, IOException, APIException, PermissionException, RequestNotPracticableException, InternalErrorException, NoStorageException |
| This method adds an Event to the subscription list and saves all necessary data in the local database. More...
|
|
static boolean | checkSubscriptions () throws NoStorageException, ClientProtocolException, IOException, APIException, PermissionException, RequestNotPracticableException, InternalErrorException |
| This Method checks whether all the necessary data is in the local database. More...
|
|
static boolean | unsubscribe (int eventID, SettingsLocal settingsLocal, Context context) throws ClientProtocolException, IOException, APIException, PermissionException, RequestNotPracticableException, InternalErrorException |
| This method removes an Event from the subscription list and erases all unnecessary data from the local database. More...
|
|
static boolean | setUpdate (SingleEventLocal sEventLocal, String msg, Context context) throws ClientProtocolException, IOException, APIException, PermissionException, RequestNotPracticableException, InternalErrorException, NoStorageException |
| This method implements the changing of a SingleEvent. More...
|
|
static boolean | removeSingleEvent (int sEventID, String msg, Context context) throws ClientProtocolException, IOException, APIException, PermissionException, RequestNotPracticableException, InternalErrorException, NoStorageException |
| This method implements the removal of a SingleEvent. More...
|
|
static boolean | getUpdate (Date date, Context context) throws ClientProtocolException, IOException, APIException, PermissionException, RequestNotPracticableException, InternalErrorException, NoStorageException |
| This method gets all updates since a given date and saves them to the local database. More...
|
|
static boolean | getRights () throws ClientProtocolException, IOException, APIException, PermissionException, RequestNotPracticableException, InternalErrorException |
| This method updates the database with received permissions. More...
|
|
static SingleEventLocal | checkChanges (List< SingleEventUpdate > sEventUpdateList) |
| This method checks what changes are made in a list of SingleEventUpdates and returns a SingleEventLocal. More...
|
|
static SingleEventLocal | singleEventToSingleEventLocal (SingleEvent sEvent, String name) |
| This method returns to a given SinlgeEvent a SingleEventLocal with the necessary default values. More...
|
|
static SettingsLocal | userSettingsToSettingsLocal (UserSettings settings) throws NoStorageException |
| This method converts a instance of UserSettings to SettingsLocal. More...
|
|
This is a helper class which implements some methods for repeating tasks that are needed on various occasions.
- Author
- Martin Rabe