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() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status) |
protected void |
processCSVUpload(InputStream input,
List<Map<org.alfresco.service.namespace.QName,String>> users) |
protected void |
processUpload(InputStream input,
String filename,
List<Map<org.alfresco.service.namespace.QName,String>> users) |
protected void |
processXLSUpload(InputStream input,
List<Map<org.alfresco.service.namespace.QName,String>> users) |
protected void |
processXLSXUpload(InputStream input,
List<Map<org.alfresco.service.namespace.QName,String>> users) |
void |
setAuthenticationService(org.alfresco.service.cmr.security.MutableAuthenticationService authenticationService) |
void |
setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
void |
setTransactionHelper(org.alfresco.repo.transaction.RetryingTransactionHelper retryingTransactionHelper) |
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, toStringpublic void setAuthenticationService(org.alfresco.service.cmr.security.MutableAuthenticationService authenticationService)
authenticationService - the AuthenticationService to setpublic void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
authorityService - the AuthorityService to setpublic void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
personService - the PersonService to setpublic void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService - the TenantService to setpublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - the DictionaryService to setpublic void setTransactionHelper(org.alfresco.repo.transaction.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.DeclarativeWebScriptDeclarativeWebScript.executeImpl(org.springframework.extensions.webscripts.WebScriptRequest, org.springframework.extensions.webscripts.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–2018 Alfresco Software. All rights reserved.