public class UserCSVUploadPost
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UserCSVUploadPost.ResourceBundleWebScriptException |
| Modifier and Type | Field and Description |
|---|---|
protected static org.alfresco.service.namespace.QName[] |
COLUMNS |
| Constructor and Description |
|---|
UserCSVUploadPost() |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringprotected static final org.alfresco.service.namespace.QName[] COLUMNS
public void setAuthenticationService(MutableAuthenticationService authenticationService)
authenticationService - the AuthenticationService to setpublic void setAuthorityService(AuthorityService authorityService)
authorityService - the AuthorityService to setpublic void setPersonService(PersonService personService)
personService - the PersonService to setpublic void setTenantService(TenantService tenantService)
tenantService - the TenantService to setpublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - the DictionaryService to setpublic void setTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
retryingTransactionHelper - the helper for running transactions to setprotected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScriptorg.alfresco.web.scripts.DeclarativeWebScript#executeImpl(org.alfresco.web.scripts.WebScriptRequest, org.alfresco.web.scripts.Status)protected void processUpload(InputStream input, String filename, List<Map<org.alfresco.service.namespace.QName,String>> users)
protected void processCSVUpload(InputStream input, List<Map<org.alfresco.service.namespace.QName,String>> users) throws IOException
IOExceptionprotected void processXLSUpload(InputStream input, List<Map<org.alfresco.service.namespace.QName,String>> users) throws IOException
IOExceptionprotected void processXLSXUpload(InputStream input, List<Map<org.alfresco.service.namespace.QName,String>> users) throws IOException
IOExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.