public interface ArchiveService
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFromQuery(String queryName,
Map<String,Object> parameters) |
org.bonitasoft.engine.persistence.ReadPersistenceService |
getDefinitiveArchiveReadPersistenceService()
Get the ReadPersistenceService corresponding to the definitive archive
|
boolean |
isArchivable(Class<? extends org.bonitasoft.engine.persistence.PersistentObject> sourceObjectClass) |
void |
recordDelete(DeleteRecord record)
Remove the given entity from both sliding archive (if present) and the right archive level (if present)
This operation should normally to be used.
|
void |
recordInsert(long time,
ArchiveInsertRecord record)
Archive the given entity in sliding archive if relevant and in the appropriate definitive archive
|
void |
recordInserts(long time,
ArchiveInsertRecord... records)
Archive the given entities in the definitive archive
|
void recordInsert(long time,
ArchiveInsertRecord record)
throws SRecorderException
time - The archive daterecord - Archive insert record containing the entity to be archivedSRecorderExceptionvoid recordInserts(long time,
ArchiveInsertRecord... records)
throws SRecorderException
time - the time of archivingrecords - Archive inserts record containing the entity to be archivedSRecorderException - in case of a write errorvoid recordDelete(DeleteRecord record) throws SRecorderException
record - The delete record containing archived entity to be deletedSRecorderExceptionorg.bonitasoft.engine.persistence.ReadPersistenceService getDefinitiveArchiveReadPersistenceService()
boolean isArchivable(Class<? extends org.bonitasoft.engine.persistence.PersistentObject> sourceObjectClass)
sourceObjectClass - Persistent object to be judged achievable or notvoid deleteFromQuery(String queryName, Map<String,Object> parameters) throws SRecorderException
SRecorderExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.