|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.broadleafcommerce.vendor.rackspace.cloudfiles.CloudFilesFileServiceProvider
@Service("blCloudFilesFileServiceProvider")
class CloudFilesFileServiceProvider
FileServiceProvider implementation that deals with Rackspace Cloud Files
| Field Summary | |
|---|---|
protected BroadleafFileService |
fileService
|
| Method Summary | |
|---|---|
void
|
addOrUpdateResources(FileWorkArea workArea, java.util.List files, boolean removeFilesFromWorkArea)
|
protected java.lang.String
|
buildResourceName(java.lang.String name)
Responsible for sanitizing the given resource into something suitable to be placed in a Cloud Files container. |
protected CloudFilesClient
|
getClient()
Builds a CloudFilesClient based on configuration from lookupConfiguration() |
java.io.File
|
getResource(java.lang.String name)
|
java.io.File
|
getResource(java.lang.String name, FileApplicationType fileApplicationType)
|
protected CloudFilesConfiguration
|
lookupConfiguration()
Instantiates a new CloudFilesConfiguration based on system properties resolved from BLCSystemProperty |
boolean
|
removeResource(java.lang.String name)
|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Field Detail |
|---|
@Resource(name = "blFileService") protected BroadleafFileService fileService
| Method Detail |
|---|
@Override void addOrUpdateResources(FileWorkArea workArea, java.util.List files, boolean removeFilesFromWorkArea)
protected java.lang.String buildResourceName(java.lang.String name)
name - the file name that we should use
protected CloudFilesClient getClient()
@Override java.io.File getResource(java.lang.String name)
@Override java.io.File getResource(java.lang.String name, FileApplicationType fileApplicationType)
protected CloudFilesConfiguration lookupConfiguration()
@Override boolean removeResource(java.lang.String name)
Groovy Documentation