@Component public class AccountStore extends org.tiogasolutions.lib.couchace.DefaultCouchStore<Account>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACCOUNT_DESIGN_NAME |
| Constructor and Description |
|---|
AccountStore(PushCouchServer couchServer,
CouchServersConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
createDatabase(org.tiogasolutions.couchace.core.api.CouchDatabase database) |
Account |
get(AccountQuery accountQuery) |
java.util.List<Account> |
getAll() |
Account |
getByAccountId(java.lang.String accountId) |
Account |
getByEmail(java.lang.String emailAddress) |
java.lang.String |
getDatabaseName() |
java.lang.String |
getDesignName() |
create, delete, deleteByDocumentId, expireCachedDatabases, getByDocumentId, getCouchServer, getDatabase, getDatabaseAccessMap, getDatabaseMap, getEntities, getEntities, getEntities, getEntities, getEntities, getEntityResponse, getEntityType, headByDocumentId, injectVersion, updatepublic static final java.lang.String ACCOUNT_DESIGN_NAME
@Autowired public AccountStore(PushCouchServer couchServer, CouchServersConfig config)
public java.lang.String getDatabaseName()
getDatabaseName in class org.tiogasolutions.lib.couchace.DefaultCouchStore<Account>public java.lang.String getDesignName()
getDesignName in class org.tiogasolutions.lib.couchace.DefaultCouchStore<Account>public Account get(AccountQuery accountQuery)
public Account getByAccountId(java.lang.String accountId)
public java.util.List<Account> getAll()
public Account getByEmail(java.lang.String emailAddress)
public void createDatabase(org.tiogasolutions.couchace.core.api.CouchDatabase database)
createDatabase in class org.tiogasolutions.lib.couchace.DefaultCouchStore<Account>