public class EasStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SELECT_HB |
static java.lang.String |
UPSERT_HB |
datasource, logger
Constructor and Description |
---|
EasStore(javax.sql.DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
void |
deletePendingReset(Account account) |
java.util.Map<java.lang.String,java.lang.String> |
getFolderSyncVersions(Account account) |
Heartbeat |
getHeartbeat(java.lang.String deviceUid) |
void |
insertClientId(java.lang.String clientId) |
void |
insertPendingReset(Account account) |
boolean |
isKnownClientId(java.lang.String clientId) |
java.lang.Boolean |
needReset(Account account) |
void |
setFolderSyncVersions(Account account,
java.util.Map<java.lang.String,java.lang.String> versions) |
void |
setHeartbeat(Heartbeat heartbeat) |
batchInsert, batchInsert, delete, delete, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, lastInsertId, select, select, select, unique, unique, unique, unique, unique, update, update, update, update, update
public static final java.lang.String SELECT_HB
public static final java.lang.String UPSERT_HB
public Heartbeat getHeartbeat(java.lang.String deviceUid) throws java.sql.SQLException
java.sql.SQLException
public void setHeartbeat(Heartbeat heartbeat) throws ServerFault
ServerFault
public void insertPendingReset(Account account) throws ServerFault
ServerFault
public java.lang.Boolean needReset(Account account) throws java.sql.SQLException
java.sql.SQLException
public void deletePendingReset(Account account) throws java.sql.SQLException
java.sql.SQLException
public boolean isKnownClientId(java.lang.String clientId) throws java.sql.SQLException
java.sql.SQLException
public void insertClientId(java.lang.String clientId) throws java.sql.SQLException
java.sql.SQLException
public void setFolderSyncVersions(Account account, java.util.Map<java.lang.String,java.lang.String> versions) throws ServerFault
ServerFault
public java.util.Map<java.lang.String,java.lang.String> getFolderSyncVersions(Account account) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.