public class CreateFavoriteList extends PollenActionSupportForEdition implements FileUploadAware
| Modifier and Type | Field and Description |
|---|---|
protected PersonList |
createFavoriteList |
protected File |
csvImport |
protected String |
csvImportContentType |
protected String |
csvImportFileName |
protected String |
ldapImport |
SAFE_LANGUAGES, serviceContext, serviceFactory, transaction| Constructor and Description |
|---|
CreateFavoriteList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(int index,
File file) |
void |
addFileContentType(int index,
String contentType) |
void |
addFileName(int index,
String fileName) |
protected int |
addImport(List<PollAccount> importedAccounts,
PersonList list) |
protected int |
addImportFromCsv(PersonList personList) |
protected int |
addImportFromLDAP(PersonList personList) |
String |
execute() |
String |
getAction() |
PersonList |
getCreateFavoriteList() |
String |
getLdapImport() |
void |
setLdapImport(String ldapImport) |
void |
validate() |
addFlashError, addFlashMessage, addFlashWarning, clearFlashErrors, clearFlashMessages, getApplicationUrl, getApplicationVersion, getConfiguration, getCurrentUrl, getFavoriteService, getFlashErrors, getFlashMessages, getFlashWarnings, getJqueryTheme, getPageLogo, getParameters, getPollCommentService, getPollenApplicationContext, getPollenSession, getPollenUserAccount, getPollExportService, getPollFeedService, getPollService, getPollUri, getPollUrlService, getPollVoteCountingService, getPreventRuleService, getSafeLanguage, getSecurityService, getService, getServiceContext, getSkin, getTransaction, getUserSecurityContext, getUserService, getVoteCounting, getVoteCountingFactory, getVoteService, hasAnyErrors, hasFlashErrors, hasFlashMessages, hasFlashWarnings, isGetMethod, isUserAdmin, isUserLoggued, setParameters, setPollenUserSecurityContext, setServletRequestaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected PersonList createFavoriteList
protected File csvImport
protected String csvImportContentType
protected String csvImportFileName
protected String ldapImport
public void addFile(int index,
File file)
addFile in interface FileUploadAwarepublic void addFileContentType(int index,
String contentType)
addFileContentType in interface FileUploadAwarepublic void addFileName(int index,
String fileName)
addFileName in interface FileUploadAwarepublic void setLdapImport(String ldapImport)
public PersonList getCreateFavoriteList()
public String getLdapImport()
public String getAction()
public void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected int addImportFromCsv(PersonList personList) throws FavoriteListNotFoundException
FavoriteListNotFoundExceptionprotected int addImportFromLDAP(PersonList personList) throws FavoriteListNotFoundException
FavoriteListNotFoundExceptionprotected int addImport(List<PollAccount> importedAccounts, PersonList list) throws FavoriteListNotFoundException
FavoriteListNotFoundExceptionCopyright © 2009–2014 CodeLutin. All rights reserved.