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, update
public ChangelogStore(javax.sql.DataSource pool, Container container)
public void itemCreated(ChangelogStore.LogEntry entry) throws java.sql.SQLException
java.sql.SQLException
public void itemUpdated(ChangelogStore.LogEntry entry) throws java.sql.SQLException
java.sql.SQLException
public void itemDeleted(ChangelogStore.LogEntry entry) throws java.sql.SQLException
java.sql.SQLException
public ContainerChangelog changelog(long from, long to) throws java.sql.SQLException
java.sql.SQLException
public ItemChangelog itemChangelog(java.lang.String itemUid, long from, long to) throws java.sql.SQLException
java.sql.SQLException
public ContainerChangeset<java.lang.String> changeset(long from, long to) throws java.sql.SQLException
java.sql.SQLException
public ContainerChangeset<java.lang.Long> changesetById(long from, long to) throws java.sql.SQLException
java.sql.SQLException
public void deleteLog() throws java.sql.SQLException
java.sql.SQLException
public void allItemsDeleted(java.lang.String subject, java.lang.String origin) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.