|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileServiceProvider
Interface to be implemented by a FileProvider. This could be a local FileProvider or a remote service like Amazon S3.
| Method Summary | |
|---|---|
void |
addOrUpdateResources(FileWorkArea workArea,
List<File> files,
boolean removeFilesFromWorkArea)
Takes in a work area and application type and moves all of the files to the configured FileProvider. |
File |
getResource(String name)
Returns a File representing the passed in name. |
File |
getResource(String name,
FileApplicationType fileApplicationType)
Returns a File representing the passed in name and application type. |
boolean |
removeResource(String name)
Removes the resource from the file service. |
| Method Detail |
|---|
File getResource(String name)
name - - fully qualified path to the resource
File getResource(String name,
FileApplicationType fileApplicationType)
name - - fully qualified path to the resourcefileApplicationType - - applicationType
void addOrUpdateResources(FileWorkArea workArea,
List<File> files,
boolean removeFilesFromWorkArea)
workArea - applicationType - boolean removeResource(String name)
name - - fully qualified path to the resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||