Class LocalFileStorageProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.storage.LocalFileStorageProcessor
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,FileStorageProcessor
public class LocalFileStorageProcessor
extends BaseBusinessProcessor
implements FileStorageProcessor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
doesFileExist
(String fullPathForFile, String fileType) storeFile
(InputStream fileIS, String fullPathForFile, String fileType) urlForFile
(String imagePathURL, String filename, String fileType) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, utils
-
Field Details
-
log
private org.apache.commons.logging.Log log
-
-
Constructor Details
-
LocalFileStorageProcessor
public LocalFileStorageProcessor()
-
-
Method Details
-
storeFile
- Specified by:
storeFile
in interfaceFileStorageProcessor
- Throws:
Exception
-
urlForFile
- Specified by:
urlForFile
in interfaceFileStorageProcessor
- Throws:
Exception
-
doesFileExist
- Specified by:
doesFileExist
in interfaceFileStorageProcessor
-