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<R>, JdbcAbstractStore.StatementValues<T>datasource| Constructor and Description |
|---|
ChangelogStore(javax.sql.DataSource pool,
Container container) |
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, 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.String> changeset(IWeightProvider wp, 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 ContainerChangeset<java.lang.Long> changesetById(IWeightProvider wp, long from, long to) throws java.sql.SQLException
java.sql.SQLExceptionpublic ContainerChangeset<ItemVersion> changesetById(long from, long to, ItemFlagFilter filter) throws java.sql.SQLException
java.sql.SQLExceptionpublic ContainerChangeset<ItemVersion> changesetById(IWeightProvider wp, long from, long to, ItemFlagFilter filter) throws java.sql.SQLException
java.sql.SQLExceptionpublic ContainerChangeset<ItemIdentifier> fullChangesetById(IWeightProvider wp, long from, long to) throws java.sql.SQLException
java.sql.SQLExceptionpublic void deleteLog()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void insertLog(java.util.List<ChangeLogEntry> entries) throws java.sql.SQLException
java.sql.SQLExceptionpublic void allItemsDeleted(java.lang.String subject,
java.lang.String origin)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2022. All Rights Reserved.