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, 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.String> changeset(IWeightProvider wp, 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 ContainerChangeset<java.lang.Long> changesetById(IWeightProvider wp, long from, long to) throws java.sql.SQLException
java.sql.SQLException
public ContainerChangeset<ItemVersion> changesetById(long from, long to, ItemFlagFilter filter) throws java.sql.SQLException
java.sql.SQLException
public ContainerChangeset<ItemVersion> changesetById(IWeightProvider wp, long from, long to, ItemFlagFilter filter) throws java.sql.SQLException
java.sql.SQLException
public ContainerChangeset<ItemIdentifier> fullChangesetById(IWeightProvider wp, long from, long to) throws java.sql.SQLException
java.sql.SQLException
public void deleteLog() throws java.sql.SQLException
java.sql.SQLException
public void insertLog(java.util.List<ChangeLogEntry> entries) 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.