Package org.compiere.model
Class ArchiveFileSystem
java.lang.Object
org.compiere.model.ArchiveFileSystem
- All Implemented Interfaces:
IArchiveStore
File system 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
-
ArchiveFileSystem
public ArchiveFileSystem()
-
-
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
-