Package org.compiere.model
Interface IArchiveStore
- All Known Implementing Classes:
ArchiveDB
,ArchiveFileSystem
public interface IArchiveStore
Store provider interface for storage of archive content
-
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteArchive
(MArchive archive, MStorageProvider prov) Delete stored archive contentvoid
flush
(MArchive archive, MStorageProvider prov) Flush buffer archive content to destination storageboolean
byte[]
loadLOBData
(MArchive archive, MStorageProvider prov) Load binary content of archivevoid
save
(MArchive archive, MStorageProvider prov, byte[] inflatedData) Save content of archive
-
Method Details
-
loadLOBData
Load binary content of archive- Parameters:
archive
-prov
-- Returns:
- byte[] content
-
save
Save content of archive- Parameters:
archive
-prov
-inflatedData
- byte[] content of archive
-
deleteArchive
Delete stored archive content- Parameters:
archive
-prov
-- Returns:
- true if successfully deleted
-
isPendingFlush
boolean isPendingFlush()- Returns:
- true if archive content is being buffered and pending flush to destination storage
-
flush
Flush buffer archive content to destination storage- Parameters:
archive
-prov
-
-