Class StorageAction
java.lang.Object
com.kingsrook.qqq.backend.core.actions.tables.StorageAction
Action to do (generally, "mass") storage operations in a backend.
e.g., store a (potentially large) file - specifically - by working with it
as either an InputStream or OutputStream.
May not be implemented in all backends.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOutputStream
(StorageInput storageInput) create an output stream in the storage backend - that can be written to, for the purpose of inserting or writing a file into storage.getDownloadURL
(StorageInput storageInput) getInputStream
(StorageInput storageInput) create an input stream in the storage backend - that can be read from, for the purpose of getting or reading a file from storage.void
makePublic
(StorageInput storageInput)
-
Constructor Details
-
StorageAction
public StorageAction()
-
-
Method Details
-
createOutputStream
create an output stream in the storage backend - that can be written to, for the purpose of inserting or writing a file into storage.- Throws:
QException
-
getInputStream
create an input stream in the storage backend - that can be read from, for the purpose of getting or reading a file from storage.- Throws:
QException
-
makePublic
- Throws:
QException
-
getDownloadURL
- Throws:
QException
-