public class ChangelogStore extends JdbcAbstractStore
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ChangelogStore.LogEntry  | 
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>datasource, logger| Constructor and Description | 
|---|
ChangelogStore(javax.sql.DataSource pool,
              Container container)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
allItemsDeleted(java.lang.String subject,
               java.lang.String origin)  | 
ContainerChangelog | 
changelog(long from,
         long to)  | 
ContainerChangeset<java.lang.String> | 
changeset(long from,
         long to)  | 
ContainerChangeset<java.lang.Long> | 
changesetById(long from,
             long to)  | 
void | 
deleteLog()  | 
ItemChangelog | 
itemChangelog(java.lang.String itemUid,
             long from,
             long to)  | 
void | 
itemCreated(ChangelogStore.LogEntry entry)  | 
void | 
itemDeleted(ChangelogStore.LogEntry entry)  | 
void | 
itemUpdated(ChangelogStore.LogEntry entry)  | 
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 ChangelogStore(javax.sql.DataSource pool,
                      Container container)
public void itemCreated(ChangelogStore.LogEntry entry) throws java.sql.SQLException
java.sql.SQLExceptionpublic void itemUpdated(ChangelogStore.LogEntry entry) throws java.sql.SQLException
java.sql.SQLExceptionpublic void itemDeleted(ChangelogStore.LogEntry entry) throws java.sql.SQLException
java.sql.SQLExceptionpublic ContainerChangelog changelog(long from, long to) throws java.sql.SQLException
java.sql.SQLExceptionpublic ItemChangelog itemChangelog(java.lang.String itemUid, long from, long to) throws java.sql.SQLException
java.sql.SQLExceptionpublic ContainerChangeset<java.lang.String> changeset(long from, long to) throws java.sql.SQLException
java.sql.SQLExceptionpublic ContainerChangeset<java.lang.Long> changesetById(long from, long to) throws java.sql.SQLException
java.sql.SQLExceptionpublic void deleteLog()
               throws java.sql.SQLException
java.sql.SQLExceptionpublic void allItemsDeleted(java.lang.String subject,
                            java.lang.String origin)
                     throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2021. All Rights Reserved.