Package org.compiere.model
Class ArchiveDB
java.lang.Object
org.compiere.model.ArchiveDB
- All Implemented Interfaces:
IArchiveStore
DB backed implementation of
IArchiveStore
- Author:
- juliana
-
Constructor Summary
-
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
-
Constructor Details
-
ArchiveDB
public ArchiveDB()
-
-
Method Details
-
loadLOBData
Description copied from interface:IArchiveStore
Load binary content of archive- Specified by:
loadLOBData
in interfaceIArchiveStore
- Returns:
- byte[] content
-
save
Description copied from interface:IArchiveStore
Save content of archive- Specified by:
save
in interfaceIArchiveStore
inflatedData
- byte[] content of archive
-
deleteArchive
Description copied from interface:IArchiveStore
Delete stored archive content- Specified by:
deleteArchive
in interfaceIArchiveStore
- Returns:
- true if successfully deleted
-
isPendingFlush
public boolean isPendingFlush()- Specified by:
isPendingFlush
in interfaceIArchiveStore
- Returns:
- true if archive content is being buffered and pending flush to destination storage
-
flush
Description copied from interface:IArchiveStore
Flush buffer archive content to destination storage- Specified by:
flush
in interfaceIArchiveStore
-