Package org.opencms.db.oracle
Class CmsDbStorage
java.lang.Object
org.opencms.db.generic.CmsDbStorage
org.opencms.db.oracle.CmsDbStorage
- All Implemented Interfaces:
AutoCloseable,I_CmsDbStorage,I_CmsStorage
Oracle database backend for the OpenCms deduplicating media storage engine (DMSE).
- See Also:
-
Field Summary
Fields inherited from class org.opencms.db.generic.CmsDbStorage
m_sqlManagerFields inherited from interface org.opencms.db.storage.I_CmsDbStorage
STORAGE_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstoreContent(CmsDbContext dbc, String hash, byte[] content) Stores the given content.Methods inherited from class org.opencms.db.generic.CmsDbStorage
deleteContent, getStorageIdentifier, loadContent, loadContentFrom, loadContentTo, validateAvailableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.db.storage.I_CmsStorage
close
-
Constructor Details
-
CmsDbStorage
Public constructor.- Parameters:
sqlManager- the SQL manager to use
-
-
Method Details
-
storeContent
Description copied from interface:I_CmsStorageStores the given content.- Specified by:
storeContentin interfaceI_CmsStorage- Overrides:
storeContentin classCmsDbStorage- Parameters:
dbc- the database contexthash- the SHA-512 content hashcontent- the actual binary data to store- Throws:
Exception- if the storage operation fails- See Also:
-