public interface BatchInputFileSetService extends InitiateDirectory
| Modifier and Type | Method and Description |
|---|---|
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.api.identity.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
|
getRequiredDirectoryNames, prepareDirectoriesMap<String,String> save(org.kuali.rice.kim.api.identity.Person user, BatchInputFileSetType inputType, String fileUserIdentifer, Map<String,InputStream> typeToStreamMap) throws org.kuali.rice.krad.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 typeFileStorageException - - if errors were encountered while attempting to write the fileorg.kuali.rice.krad.exception.AuthorizationExceptionboolean isBatchInputTypeActive(BatchInputFileSetType batchInputFileSetType)
BatchInputFileSetType - - input type to check is activeboolean isFileUserIdentifierProperlyFormatted(String fileUserIdentifier)
fileUserIdentifier - Copyright © 2004–2015 The Kuali Foundation. All rights reserved.