|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StaticAssetService
Created by bpolster.
| Method Summary | |
|---|---|
String |
convertAssetPath(String assetPath,
String contextPath,
boolean secureRequest)
Deprecated. since 3.1.0. |
StaticAsset |
createStaticAssetFromFile(org.springframework.web.multipart.MultipartFile file,
Map<String,String> properties)
Used when uploading a file to Broadleaf. |
StaticAsset |
findStaticAssetByFullUrl(String fullUrl)
|
StaticAsset |
findStaticAssetById(Long id)
|
String |
getStaticAssetEnvironmentSecureUrlPrefix()
Deprecated. since 3.1.0. |
String |
getStaticAssetEnvironmentUrlPrefix()
Deprecated. since 3.1.0. |
String |
getStaticAssetUrlPrefix()
Deprecated. since 3.1.0. |
List<StaticAsset> |
readAllStaticAssets()
|
| Method Detail |
|---|
StaticAsset findStaticAssetById(Long id)
List<StaticAsset> readAllStaticAssets()
StaticAsset findStaticAssetByFullUrl(String fullUrl)
StaticAsset createStaticAssetFromFile(org.springframework.web.multipart.MultipartFile file,
Map<String,String> properties)
StaticAssetServiceImpl has a
environment properties that determine this behavior asset.use.filesystem.storage
The properties Map allows for implementors to update other Asset properties at the
same time they are uploading a file. The default implementation uses this for an optional URL to
be specified.
file - - the file being uploadedproperties - - additional meta-data properties
IOExceptionStaticAssetServiceImplString getStaticAssetUrlPrefix()
StaticAssetPathService.getStaticAssetUrlPrefix()String getStaticAssetEnvironmentUrlPrefix()
StaticAssetPathService.getStaticAssetEnvironmentUrlPrefix()String getStaticAssetEnvironmentSecureUrlPrefix()
StaticAssetPathService.getStaticAssetEnvironmentSecureUrlPrefix()
String convertAssetPath(String assetPath,
String contextPath,
boolean secureRequest)
StaticAssetPathService.convertAssetPath(String, String, boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||