public interface ChangeEntryService extends RepositoryIndexable, Process
| Modifier and Type | Method and Description |
|---|---|
default List<ChangeEntry> |
getAllEntriesWithCurrentState()
Retrieves a list of the entries in database with the current relevant state ordered by execution timestamp.
|
List<ChangeEntry> |
getEntriesLog()
Returns all the changeEntries
|
default Map<String,List<ChangeEntry>> |
getEntriesMap() |
default List<ExecutedChangeEntry> |
getExecuted()
Retrieves a list with current executed entries ordered by execution timestamp.
|
default boolean |
isAlreadyExecuted(String changeSetId,
String author)
Deprecated.
|
void |
saveOrUpdate(ChangeEntry changeEntry)
If there is already an ChangeEntry the same executionId, id and author, it will be updated.
|
setIndexCreationinitialize@Deprecated default boolean isAlreadyExecuted(String changeSetId, String author)
default List<ExecutedChangeEntry> getExecuted() throws MongockException
MongockExceptiondefault List<ChangeEntry> getAllEntriesWithCurrentState() throws MongockException
MongockExceptiondefault Map<String,List<ChangeEntry>> getEntriesMap()
List<ChangeEntry> getEntriesLog()
void saveOrUpdate(ChangeEntry changeEntry) throws MongockException
changeEntry - Entry to be insertedMongockException - if any i/o exception or already insertedCopyright © 2021. All rights reserved.