Issue Type: Enhancement Enhancement
Affects Versions: 1.3.1
Assignee: Unassigned
Components: datamanager
Created: 08/Jan/14 9:52 AM
Description:

Right now the Store interface has no method to open the store. This method is only in SQLStore, which makes the API inconsistent. I suggest adding these methods:

/**
* If store is open, it can be read or written to.
*/
boolean isOpen();

/**
* Opens store in current thread (blocking).
*/
Store<T> open();

/**
* Opens store in background thread and then callback#onSuccess is called.
*/
void open(Callback<Store<T>> callback);

with the last, asynchronous one as optional, probably only if Store<T> gets more async methods. Otherwise I might be confusing for users.

Project: AeroGear Android
Priority: Major Major
Reporter: Tadeas Kriz
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira