|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BatchInputFileSetService
This interface defines the methods needed to save/download/delete file sets in the batch upload system
| Method Summary | |
|---|---|
boolean |
isBatchInputTypeActive(BatchInputFileSetType batchInputFileSetType)
Checks if the batch input type is active (can be used for upload). |
boolean |
isFileUserIdentifierProperlyFormatted(String fileUserIdentifier)
Returns whether a file set identifier is properly formatted. |
Map<String,String> |
save(org.kuali.rice.kim.bo.Person user,
BatchInputFileSetType inputType,
String fileUserIdentifer,
Map<String,InputStream> typeToStreamMap)
Stores the input streams (the values in the Map parameter) as files on the server, identified by the given user file name and file user identifier |
| Method Detail |
|---|
Map<String,String> save(org.kuali.rice.kim.bo.Person user,
BatchInputFileSetType inputType,
String fileUserIdentifer,
Map<String,InputStream> typeToStreamMap)
throws org.kuali.rice.kns.exception.AuthorizationException,
FileStorageException
user - - user who is requesting the saveinputType - - instance of a BatchInputFileSetTypefileUserIdentifer - - file identifier specified by usertypeToStreamMap - - contents of the uploaded files, keyed by the input file type
FileStorageException - - if errors were encountered while attempting to write the file
org.kuali.rice.kns.exception.AuthorizationExceptionboolean isBatchInputTypeActive(BatchInputFileSetType batchInputFileSetType)
BatchInputFileSetType - - input type to check is active
boolean isFileUserIdentifierProperlyFormatted(String fileUserIdentifier)
fileUserIdentifier -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||