- getAccount() - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Returns the current account if it is created.
- getAccountData(String) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Returns the single data for the current single account (if created) stored under the specified
key.
- getAccountData(Account, String) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Returns the single data for the given account stored under the specified key.
- getAccountDataBundle(String...) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Returns the bundle with data for the current single account (if created).
- getAccountDataBundle(Account, String...) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Returns the bundle with data for the given account.
- getAccountPassword() - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Returns the password for the current single account (if created).
- getAccountPassword(Account) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Returns the password for the given account.
- getAccountType() - Method in class universum.studios.android.officium.account.UserAccountManager
-
Returns the type of account that this manager can manage (add, rename, remove).
- getApi() - Method in class universum.studios.android.officium.service.ServiceApiProvider
-
Returns the service api implementation specific for this api provider.
- getAuthority() - Method in class universum.studios.android.officium.sync.BaseSyncManager
-
Returns the content authority with which has been this manager created.
- getAuthToken(AccountAuthenticatorResponse, Account, String, Bundle) - Method in class universum.studios.android.officium.account.BaseAccountAuthenticator
-
- getAuthToken(String) - Method in class universum.studios.android.officium.account.UserAccount
-
Returns the authentication token specified for this user account for the requested tokenType.
- getAuthTokenLabel(String) - Method in class universum.studios.android.officium.account.BaseAccountAuthenticator
-
- getAuthTokens() - Method in class universum.studios.android.officium.account.UserAccount
-
Returns the map with authentication tokens specified for this user account mapped to theirs
types.
- getAuthTokenTypes() - Method in class universum.studios.android.officium.account.UserAccount
-
Returns the types of authentication tokens specific for this user account.
- getBaseUrl() - Method in interface universum.studios.android.officium.service.EndPoint
-
Returns the base url of this end point.
- getBus() - Method in class universum.studios.android.officium.event.SimpleEventBus
-
Returns the original bus wrapped.
- getContext() - Method in class universum.studios.android.officium.account.UserAccountManager
-
Returns the context with which has been this manager created.
- getContext() - Method in class universum.studios.android.officium.sync.BaseSyncManager
-
Returns the context with which has been this manager created.
- getData(String) - Method in class universum.studios.android.officium.account.UserAccount
-
Returns the data value contained within data bundle of this user account under the specified
key.
- getDataBundle() - Method in class universum.studios.android.officium.account.UserAccount
-
Returns the data bundle of this user account
- getEndPoint() - Method in class universum.studios.android.officium.service.ServiceManager
-
Returns the end point specified for this manager.
- getErrorBody() - Method in class universum.studios.android.officium.service.ServiceError
-
Returns the error body of the response send by the server as result to call to the associated
service and request.
- getErrorBodyAs(Class<T>) - Method in class universum.studios.android.officium.service.ServiceError
-
Returns the error body of this service error as the desired type.
- getErrorCode() - Method in class universum.studios.android.officium.service.ErrorResponse
-
Returns the code of the error (if any) of this response.
- getErrorCode() - Method in class universum.studios.android.officium.service.ServiceError
-
Returns the error code of the response send by the server as result to call to the associated
service and request.
- getErrorMessage() - Method in class universum.studios.android.officium.service.ErrorResponse
-
Returns the message of the error (if any) of this response.
- getEventDispatcher() - Method in class universum.studios.android.officium.sync.BaseSyncAdapter
-
Returns the event dispatcher specified for this sync adapter.
- getFailure() - Method in class universum.studios.android.officium.service.ServiceError
-
Returns the failure that has caused the associated service and request to fail.
- getGlobalSyncHandler() - Method in class universum.studios.android.officium.sync.BaseSyncAdapter
-
Returns the sync handler that is responsible for global synchronization handling.
- getId() - Method in class universum.studios.android.officium.sync.SyncTask
-
Returns the id of this task.
- getLogger() - Static method in class universum.studios.android.officium.OfficiumLogging
-
Returns the logger used by this logging class.
- getName() - Method in class universum.studios.android.officium.account.UserAccount
-
Returns the name specified for this user account.
- getOAuthToken() - Method in class universum.studios.android.officium.account.UserAccount
-
- getPassword() - Method in class universum.studios.android.officium.account.UserAccount
-
Returns the password specified for this user account.
- getRequest(Class<R>) - Method in class universum.studios.android.officium.sync.SyncTask
-
Returns the request specified for this task.
- getRequestBody() - Method in class universum.studios.android.officium.sync.SyncTask
-
Returns a body of the request specified for this task.
- getRequestId() - Method in class universum.studios.android.officium.service.BaseServiceObject
-
- getRequestId() - Method in interface universum.studios.android.officium.service.ServiceObject
-
Returns the unique id of the request with which is this service object associated.
- getServiceId() - Method in class universum.studios.android.officium.service.BaseServiceObject
-
- getServiceId() - Method in interface universum.studios.android.officium.service.ServiceObject
-
Returns the id of service with which is this service object associated.
- getState() - Method in class universum.studios.android.officium.sync.SyncTask
-
Returns the current state of this task.
- getTaskId() - Method in class universum.studios.android.officium.sync.SyncHandler
-
Returns id of the associated synchronization task.
- i(String, String) - Static method in class universum.studios.android.officium.OfficiumLogging
-
Delegates to Logger#i(String, String).
- i(String, String, Throwable) - Static method in class universum.studios.android.officium.OfficiumLogging
-
Delegates to Logger#i(String, String, Throwable).
- id - Variable in class universum.studios.android.officium.sync.SyncEvent
-
Id of the synchronization task for which has been this synchronization event fired.
- IDLE - Static variable in class universum.studios.android.officium.sync.SyncTask
-
- intercept(Chain) - Method in class universum.studios.android.officium.service.auth.AuthRequestInterceptor
-
- intoExtras(Bundle) - Method in class universum.studios.android.officium.sync.SyncTask
-
Puts all data of this task into the given extras Bundle.
- invalidate() - Method in class universum.studios.android.officium.service.ServiceManager.ServicesConfiguration
-
Invalidates the current configuration.
- invalidateAccountAuthToken(String) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Invalidates the specified authToken for the current single account (if created).
- invalidateAccountAuthToken(Account, String) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Invalidates the specified authToken for the given account.
- invalidateApi() - Method in class universum.studios.android.officium.service.ServiceApiProvider
-
- isAccountAuthenticated(String) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Checks whether the current single account (if created) is authenticated or not.
- isAccountAuthenticated(Account, String) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Checks whether the given account is authenticated or not.
- isAccountCreated() - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Checks whether there is account created or not.
- isCanceled() - Method in class universum.studios.android.officium.service.ServiceCall
-
- isError() - Method in class universum.studios.android.officium.service.ServiceError
-
Checks whether this service error represents an error response that has been received from
the server for the associated service and request.
- isExecuted() - Method in class universum.studios.android.officium.service.ServiceCall
-
- isFailure() - Method in class universum.studios.android.officium.service.ServiceError
-
Checks whether this service error represents a failure that has caused the associated service
and request to fail during its execution.
- isSyncActive() - Method in class universum.studios.android.officium.sync.BaseSyncManager
-
Checks whether there is currently a synchronization being processed for the content authority
specified for this manager and account picked for synchronization by this manager implementation.
- isSyncPedning() - Method in class universum.studios.android.officium.sync.BaseSyncManager
-
Checks whether there are any pending synchronizations for the content authority specified for
this manager and account picked for synchronization by this manager implementation.
- peekAccountAuthToken(String) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Returns the authentication token for the current single account (if created) stored for the
specified authTokenType.
- peekAccountAuthToken(Account, String) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Returns the authentication token for the given account stored for the specified
authTokenType.
- peekToken() - Method in interface universum.studios.android.officium.service.auth.AuthTokenProvider
-
Returns the auth token provided by this token provided.
- PENDING - Static variable in class universum.studios.android.officium.sync.SyncTask
-
State indicating that
SyncTask is in pending state waiting to be executed.
- PERMISSION_AUTHENTICATE_ACCOUNTS - Static variable in class universum.studios.android.officium.account.UserAccountManager
-
Value for Android permission to AUTHENTICATE accounts.
- PERMISSION_GET_ACCOUNTS - Static variable in class universum.studios.android.officium.account.UserAccountManager
-
Value for Android permission to GET accounts.
- PERMISSION_MANAGE_ACCOUNTS - Static variable in class universum.studios.android.officium.account.UserAccountManager
-
Value for Android permission to MANAGE accounts.
- pickAccountForSync() - Method in class universum.studios.android.officium.sync.BaseSyncManager
-
Called to pick account for the current synchronization related request dispatched to this
manager.
- post(Object) - Method in interface universum.studios.android.officium.event.EventBus
-
Posts the specified event to all handlers registered on this event bus.
- post(Object) - Method in class universum.studios.android.officium.event.SimpleEventBus
-
Delegates to Bus#post(Object).
- post(Object) - Method in class universum.studios.android.officium.event.UiEventBus
-
- progress(int) - Method in class universum.studios.android.officium.sync.SyncEvent.Builder
-
Specifies a progress of running synchronization.
- PROGRESS - Static variable in class universum.studios.android.officium.sync.SyncEvent
-
Type flag for
SyncEvent determining
progress of synchronization.
- progress - Variable in class universum.studios.android.officium.sync.SyncEvent
-
- putAuthToken(String, String) - Method in class universum.studios.android.officium.account.UserAccount
-
Puts the given token into authentication tokens of this user account under the
specified tokenType as key.
- putData(String, String) - Method in class universum.studios.android.officium.account.UserAccount
-
Puts the given data into data bundle of this user account under the specified
key.
- putOAuthToken(String) - Method in class universum.studios.android.officium.account.UserAccount
-
- ServiceApi<M extends ServiceManager> - Class in universum.studios.android.officium.service
-
ServiceApi represents an access layer for a single services interface or set of such service
interfaces.
- ServiceApi(M) - Constructor for class universum.studios.android.officium.service.ServiceApi
-
Creates a new instance of ServiceApi with the specified service manager.
- ServiceApiProvider<A> - Class in universum.studios.android.officium.service
-
ServiceApiProvider represents a provider that can provide an instance of
ServiceApi
implementation.
- ServiceApiProvider() - Constructor for class universum.studios.android.officium.service.ServiceApiProvider
-
- ServiceCall<T> - Class in universum.studios.android.officium.service
-
A
Call implementation that wraps original Retrofit call to provide functionality that
supports association of
ServiceCallback with the related service along with service request.
- ServiceCall(<any>) - Constructor for class universum.studios.android.officium.service.ServiceCall
-
Creates a new instance of ServiceCall with the given original Retrofit call.
- ServiceCallback<R> - Class in universum.studios.android.officium.service
-
Base implementation of Callback that may be used to receive a response for a particular
service request asynchronously and dispatch it to its receivers.
- ServiceCallback() - Constructor for class universum.studios.android.officium.service.ServiceCallback
-
- ServiceError - Class in universum.studios.android.officium.service
-
A
BaseServiceObject implementation that represents an error occurred during service execution.
- ServiceError(int, ResponseBody) - Constructor for class universum.studios.android.officium.service.ServiceError
-
Creates a new instance of ServiceError with the specified errorCode and errorBody
received from the server as error response for the associated service and request.
- ServiceError(Throwable) - Constructor for class universum.studios.android.officium.service.ServiceError
-
Creates a new instance of ServiceError with the specified failure.
- ServiceError(ServiceError) - Constructor for class universum.studios.android.officium.service.ServiceError
-
Creates a new instance of ServiceError with data of the given one.
- ServiceManager - Class in universum.studios.android.officium.service
-
Manager that may be used for accessing of multiple instances of services (theirs PROXYies) and
also of theirs configuration.
- ServiceManager() - Constructor for class universum.studios.android.officium.service.ServiceManager
-
Creates a new instance of ServiceManager without specified end point.
- ServiceManager(EndPoint) - Constructor for class universum.studios.android.officium.service.ServiceManager
-
Creates a new instance of ServiceManager with the specified endPoint.
- ServiceManager.ServicesConfiguration<S> - Class in universum.studios.android.officium.service
-
Class used for configuration of a specific Retrofit services interface.
- ServiceObject - Interface in universum.studios.android.officium.service
-
Interface for objects that may be associated with services and theirs requests.
- ServiceResponse - Class in universum.studios.android.officium.service
-
A
BaseServiceObject implementation for service objects used to parse body of response
send by a server.
- ServiceResponse() - Constructor for class universum.studios.android.officium.service.ServiceResponse
-
- services(Class<S>) - Method in class universum.studios.android.officium.service.ServiceApi
-
Returns an instance of services PROXY for the specified servicesInterface.
- services(Class<S>) - Method in class universum.studios.android.officium.service.ServiceManager
-
Returns the PROXY instance for the requested servicesInterface.
- servicesConfiguration(Class<S>) - Method in class universum.studios.android.officium.service.ServiceApi
-
Returns the configuration for services with the specified servicesInterface.
- servicesConfiguration(Class<S>) - Method in class universum.studios.android.officium.service.ServiceManager
-
Returns the services configuration object for the requested servicesInterface.
- setAccountAuthToken(String, String) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Sets an authentication token for the current single account (if created) with the specified
authTokenType.
- setAccountAuthToken(Account, String, String) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Sets an authentication token for the given account with the specified authTokenType.
- setAccountData(String, String) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Sets a single data value for the current single account (if created) with the
specified key.
- setAccountData(Account, String, String) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Sets a single data value for the given account with the specified key.
- setAccountDataBundle(Bundle) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Sets a bundle with data for the current single account (if created).
- setAccountDataBundle(Account, Bundle) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Sets a bundle with data for the given account.
- setAccountPassword(String) - Method in class universum.studios.android.officium.account.SingleUserAccountManager
-
Sets a password for the current single account (if created).
- setAccountPassword(Account, String) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Sets a password for the given account.
- setDataBundle(Bundle) - Method in class universum.studios.android.officium.account.UserAccount
-
Sets a data bundle for this user account.
- setDataCrypto(Crypto) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Sets an implementation of Crypto that should be used by this account manager to
perform account data encryption/decryption operations.
- setEndPoint(String) - Method in class universum.studios.android.officium.service.ServiceManager
-
- setEndPoint(EndPoint) - Method in class universum.studios.android.officium.service.ServiceManager
-
Sets an end point for this manager.
- setErrorBodyConverter(<any>) - Method in class universum.studios.android.officium.service.ServiceError
-
- setEventDispatcher(BaseSyncAdapter.EventDispatcher) - Method in class universum.studios.android.officium.sync.BaseSyncAdapter
-
Sets an dispatcher that is used by this sync adapter to dispatch synchronization events.
- setGlobalSyncHandler(SyncHandler) - Method in class universum.studios.android.officium.sync.BaseSyncAdapter
-
Sets a sync handler that is responsible for global synchronization handling.
- setKeyEncrypto(Encrypto) - Method in class universum.studios.android.officium.account.UserAccountManager
-
Sets an implementation of Encrypto that should be used by this account manager to
perform account data keys encryption operation.
- setLogger(Logger) - Static method in class universum.studios.android.officium.OfficiumLogging
-
Sets a logger to be used by this logging class to print out logs into console.
- setOnTaskStateChangeListener(OnSyncTaskStateChangeListener) - Method in class universum.studios.android.officium.sync.BaseSyncAdapter
-
Registers a callback to be invoked whenever a state is changed for a particular
SyncTask
within this sync adapter.
- setPassword(String) - Method in class universum.studios.android.officium.account.UserAccount
-
Sets a new password for this account.
- setRequestId(String) - Method in class universum.studios.android.officium.service.BaseServiceObject
-
- setRequestId(String) - Method in interface universum.studios.android.officium.service.ServiceObject
-
Sets an id of the request with which is this service object associated.
- setServiceId(int) - Method in class universum.studios.android.officium.service.BaseServiceObject
-
- setServiceId(int) - Method in interface universum.studios.android.officium.service.ServiceObject
-
Specifies an id of the service with which is this service object associated.
- shouldRequestSync(SyncTask, Account) - Method in class universum.studios.android.officium.sync.BaseSyncManager
-
- SimpleEventBus - Class in universum.studios.android.officium.event
-
An
EventBus implementation that wraps
Bus provided by the
Otto
library.
- SimpleEventBus() - Constructor for class universum.studios.android.officium.event.SimpleEventBus
-
- SimpleEventBus(Bus) - Constructor for class universum.studios.android.officium.event.SimpleEventBus
-
Creates a new instance of SimpleEventBus that wraps the specified bus.
- SingleUserAccountManager<A extends UserAccount> - Class in universum.studios.android.officium.account
-
A
UserAccountManager implementation that can be used for Android applications that allow
only one account to be created for a user.
- SingleUserAccountManager(Context, String) - Constructor for class universum.studios.android.officium.account.SingleUserAccountManager
-
Creates a new instance of SingleUserAccountManager for the specified accountType.
- START - Static variable in class universum.studios.android.officium.sync.SyncEvent
-
Type flag for
SyncEvent determining
start of synchronization.
- startAutomaticSync() - Method in class universum.studios.android.officium.sync.BaseSyncManager
-
Starts automatic synchronization for the content authority specified for this manager and
account picked for synchronization by this manager implementation.
- stopAutomaticSync() - Method in class universum.studios.android.officium.sync.BaseSyncManager
-
Stops automatic synchronization for the content authority specified for this manager and
account picked for synchronization by this manager implementation.
- SyncEvent - Class in universum.studios.android.officium.sync
-
Event that can be fired/post for receivers that listen for state of a concrete synchronization
process/task.
- SyncEvent.Builder - Class in universum.studios.android.officium.sync
-
Builder that can be used to create a new instance of
SyncEvent.
- SyncHandler<Request extends SyncTask.Request,Result> - Class in universum.studios.android.officium.sync
-
- SyncHandler(int) - Constructor for class universum.studios.android.officium.sync.SyncHandler
-
- SyncHandler(int, Class<Request>) - Constructor for class universum.studios.android.officium.sync.SyncHandler
-
Creates a new instance of SyncHandler with the specified taskId and classOfRequest.
- SyncOperation - Class in universum.studios.android.officium.sync
-
SyncOperation contains data that are describing a specific synchronization request to be executed
in
BaseSyncAdapter.
- SyncTask<R extends SyncTask.Request> - Class in universum.studios.android.officium.sync
-
Task that can be used to request synchronization via implementation of
BaseSyncManager.
- SyncTask(SyncTask) - Constructor for class universum.studios.android.officium.sync.SyncTask
-
Creates a new instance of SyncTask with data of the given one.
- SyncTask(SyncTask.Builder<R>) - Constructor for class universum.studios.android.officium.sync.SyncTask
-
Creates a new instance of SyncTask with data specified within the given builder.
- SyncTask(Bundle) - Constructor for class universum.studios.android.officium.sync.SyncTask
-
Creates a new instance of SyncTask with data specified within the given extras
Bundle.
- SyncTask.Builder<R extends SyncTask.Request> - Class in universum.studios.android.officium.sync
-
Builder that can be used to create a new instance of
SyncTask.
- SyncTask.EmptyRequest - Class in universum.studios.android.officium.sync
-
- SyncTask.Request - Interface in universum.studios.android.officium.sync
-
Required interface for all synchronization requests.
- SyncTask.State - Annotation Type in universum.studios.android.officium.sync
-
Defines an annotation for determining set of available states for
SyncTask.