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 java.util.Map |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status) |
protected void |
processCSVUpload(java.io.InputStream input,
java.util.List users) |
protected void |
processUpload(java.io.InputStream input,
java.lang.String filename,
java.util.List users) |
protected void |
processXLSUpload(java.io.InputStream input,
java.util.List users) |
protected void |
processXLSXUpload(java.io.InputStream input,
java.util.List 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, 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(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 java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status)
executeImpl
in class org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.web.scripts.DeclarativeWebScript#executeImpl(org.alfresco.web.scripts.WebScriptRequest, org.alfresco.web.scripts.Status)
protected void processUpload(java.io.InputStream input, java.lang.String filename, java.util.List users)
protected void processCSVUpload(java.io.InputStream input, java.util.List users) throws java.io.IOException
java.io.IOException
protected void processXLSUpload(java.io.InputStream input, java.util.List users) throws java.io.IOException
java.io.IOException
protected void processXLSXUpload(java.io.InputStream input, java.util.List users) throws java.io.IOException
java.io.IOException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.