public class ArchiveServiceImpl extends Object implements org.bonitasoft.engine.archive.ArchiveService
| Constructor and Description |
|---|
ArchiveServiceImpl(org.bonitasoft.engine.archive.SArchiveDescriptor definitiveArchiveDescriptor,
org.bonitasoft.engine.services.PersistenceService definitiveArchivePersistenceService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
ArchivingStrategy archivingStrategy,
org.bonitasoft.engine.transaction.TransactionService transactionService) |
| Modifier and Type | Method and Description |
|---|---|
protected BatchArchiveCallable |
buildBatchArchiveCallable(org.bonitasoft.engine.archive.ArchiveInsertRecord... records) |
org.bonitasoft.engine.archive.SArchiveDescriptor |
getDefinitiveArchiveDescriptor() |
org.bonitasoft.engine.persistence.ReadPersistenceService |
getDefinitiveArchiveReadPersistenceService() |
boolean |
isArchivable(Class<? extends org.bonitasoft.engine.persistence.PersistentObject> sourceObjectClass) |
void |
recordDelete(org.bonitasoft.engine.recorder.model.DeleteRecord record) |
void |
recordInsert(long time,
org.bonitasoft.engine.archive.ArchiveInsertRecord record) |
void |
recordInserts(long time,
org.bonitasoft.engine.archive.ArchiveInsertRecord... records) |
public ArchiveServiceImpl(org.bonitasoft.engine.archive.SArchiveDescriptor definitiveArchiveDescriptor,
org.bonitasoft.engine.services.PersistenceService definitiveArchivePersistenceService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
ArchivingStrategy archivingStrategy,
org.bonitasoft.engine.transaction.TransactionService transactionService)
public void recordInsert(long time,
org.bonitasoft.engine.archive.ArchiveInsertRecord record)
throws org.bonitasoft.engine.recorder.SRecorderException
recordInsert in interface org.bonitasoft.engine.archive.ArchiveServiceorg.bonitasoft.engine.recorder.SRecorderExceptionpublic void recordInserts(long time,
org.bonitasoft.engine.archive.ArchiveInsertRecord... records)
throws org.bonitasoft.engine.recorder.SRecorderException
recordInserts in interface org.bonitasoft.engine.archive.ArchiveServiceorg.bonitasoft.engine.recorder.SRecorderExceptionprotected BatchArchiveCallable buildBatchArchiveCallable(org.bonitasoft.engine.archive.ArchiveInsertRecord... records) throws org.bonitasoft.engine.recorder.SRecorderException
org.bonitasoft.engine.recorder.SRecorderExceptionpublic void recordDelete(org.bonitasoft.engine.recorder.model.DeleteRecord record)
throws org.bonitasoft.engine.recorder.SRecorderException
recordDelete in interface org.bonitasoft.engine.archive.ArchiveServiceorg.bonitasoft.engine.recorder.SRecorderExceptionpublic org.bonitasoft.engine.archive.SArchiveDescriptor getDefinitiveArchiveDescriptor()
getDefinitiveArchiveDescriptor in interface org.bonitasoft.engine.archive.ArchiveServicepublic boolean isArchivable(Class<? extends org.bonitasoft.engine.persistence.PersistentObject> sourceObjectClass)
isArchivable in interface org.bonitasoft.engine.archive.ArchiveServicepublic org.bonitasoft.engine.persistence.ReadPersistenceService getDefinitiveArchiveReadPersistenceService()
getDefinitiveArchiveReadPersistenceService in interface org.bonitasoft.engine.archive.ArchiveServiceCopyright © 2014 Bonitasoft S.A.. All rights reserved.