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(MutableAuthenticationService authenticationService) |
void |
setAuthorityService(AuthorityService authorityService) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setPersonService(PersonService personService) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
void |
setTransactionHelper(RetryingTransactionHelper retryingTransactionHelper) |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
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(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(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.DeclarativeWebScript
DeclarativeWebScript.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
IOException
protected void processXLSUpload(InputStream input, List<Map<org.alfresco.service.namespace.QName,String>> users) throws IOException
IOException
protected void processXLSXUpload(InputStream input, List<Map<org.alfresco.service.namespace.QName,String>> users) throws IOException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.