Package org.compiere.model
Interface IImageStore
- All Known Implementing Classes:
ImageDBStorageImpl
,ImageFileStorageImpl
public interface IImageStore
Store provider interface for storage of image content
-
Method Summary
Modifier and TypeMethodDescriptionboolean
delete
(MImage image, MStorageProvider prov) Delete stored image contentvoid
flush
(MImage image, MStorageProvider prov) Flush buffer image content to destination storageboolean
byte[]
load
(MImage image, MStorageProvider prov) Load image contentvoid
save
(MImage image, MStorageProvider prov, byte[] inflatedData) Save image content
-
Method Details
-
load
Load image content- Parameters:
image
-prov
-- Returns:
- byte[] image content
-
save
Save image content- Parameters:
image
-prov
-inflatedData
- image content
-
delete
Delete stored image content- Parameters:
image
-prov
-- Returns:
- true if deleted successfully
-
isPendingFlush
boolean isPendingFlush()- Returns:
- true if image content is being buffered and pending flush to destination storage
-
flush
Flush buffer image content to destination storage- Parameters:
image
-prov
-
-