public class DataProtectGenerationStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>| Modifier and Type | Field and Description | 
|---|---|
static JdbcAbstractStore.Creator<PartGeneration> | 
CREATOR  | 
datasource, logger| Constructor and Description | 
|---|
DataProtectGenerationStore(javax.sql.DataSource dataSource)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<DataProtectGeneration> | 
getGenerations()  | 
PartGeneration | 
last(java.lang.String tag,
    java.lang.String serverAddress)  | 
java.util.List<PartGeneration> | 
listParts(java.lang.String tag,
         java.lang.String serverAddress)  | 
DataProtectGeneration | 
newGeneration(int id,
             java.util.Date startTime,
             VersionInfo vi)  | 
DataProtectGeneration | 
newGeneration(VersionInfo version)  | 
int | 
newPart(int genId,
       java.lang.String tag,
       java.lang.String serverAddress)  | 
protected long | 
nextSeqValue()  | 
void | 
rewriteGenerations(java.util.List<DataProtectGeneration> generations)  | 
void | 
updatePart(PartGeneration part)  | 
batchInsert, batchInsert, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, inTransaction, lastInsertId, select, select, select, staticInTransaction, unique, unique, unique, unique, update, update, update, update, updatepublic static JdbcAbstractStore.Creator<PartGeneration> CREATOR
public DataProtectGenerationStore(javax.sql.DataSource dataSource)
public DataProtectGeneration newGeneration(VersionInfo version) throws java.sql.SQLException
java.sql.SQLExceptionpublic DataProtectGeneration newGeneration(int id, java.util.Date startTime, VersionInfo vi) throws java.sql.SQLException
java.sql.SQLExceptionpublic int newPart(int genId,
                   java.lang.String tag,
                   java.lang.String serverAddress)
            throws java.sql.SQLException
java.sql.SQLExceptionpublic void updatePart(PartGeneration part) throws java.sql.SQLException
java.sql.SQLExceptionpublic void rewriteGenerations(java.util.List<DataProtectGeneration> generations) throws ServerFault
ServerFaultpublic java.util.List<PartGeneration> listParts(java.lang.String tag, java.lang.String serverAddress) throws java.sql.SQLException
java.sql.SQLExceptionpublic PartGeneration last(java.lang.String tag, java.lang.String serverAddress) throws java.sql.SQLException
java.sql.SQLExceptionprotected long nextSeqValue()
                     throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<DataProtectGeneration> getGenerations() throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2021. All Rights Reserved.