public class AbstractStore
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.tiogasolutions.couchace.core.api.CouchDatabase |
couchDatabase |
protected static java.lang.String |
CREATE_ENTITY_ERROR |
protected static java.lang.String |
DELETE_ENTITY_ERROR |
protected static java.lang.String |
FIND_ENTITY_ERROR |
protected static java.lang.String |
NOT_FOUND_ERROR |
protected static java.lang.String |
SAVE_ENTITY_ERROR |
| Constructor and Description |
|---|
AbstractStore(org.tiogasolutions.couchace.core.api.CouchDatabase couchDatabase) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
throwError(org.tiogasolutions.couchace.core.api.response.CouchResponse response,
java.lang.String message) |
protected void |
throwIfNotFound(org.tiogasolutions.couchace.core.api.response.GetAttachmentResponse response,
java.lang.String message) |
protected void |
throwIfNotFound(org.tiogasolutions.couchace.core.api.response.GetEntityResponse response,
java.lang.String message) |
protected static final java.lang.String CREATE_ENTITY_ERROR
protected static final java.lang.String SAVE_ENTITY_ERROR
protected static final java.lang.String DELETE_ENTITY_ERROR
protected static final java.lang.String FIND_ENTITY_ERROR
protected static final java.lang.String NOT_FOUND_ERROR
protected final org.tiogasolutions.couchace.core.api.CouchDatabase couchDatabase
public AbstractStore(org.tiogasolutions.couchace.core.api.CouchDatabase couchDatabase)
protected final void throwError(org.tiogasolutions.couchace.core.api.response.CouchResponse response,
java.lang.String message)
protected final void throwIfNotFound(org.tiogasolutions.couchace.core.api.response.GetEntityResponse response,
java.lang.String message)
protected final void throwIfNotFound(org.tiogasolutions.couchace.core.api.response.GetAttachmentResponse response,
java.lang.String message)