@Scope(value=CONVERSATION) @Name(value="csvImportActions") @Install(precedence=10) public class CSVImportActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected File |
csvFile |
protected String |
csvFileName |
protected String |
csvImportId |
protected CoreSession |
documentManager |
protected NavigationContext |
navigationContext |
protected boolean |
notifyUserByEmail |
Constructor and Description |
---|
CSVImportActions() |
Modifier and Type | Method and Description |
---|---|
String |
getImportingCSVFilename() |
CSVImportResult |
getImportResult() |
CSVImportStatus |
getImportStatus() |
List<CSVImportLog> |
getLastLogs(int maxLogs) |
boolean |
getNotifyUserByEmail() |
List<CSVImportLog> |
getSkippedAndErrorLogs() |
void |
importCSVFile() |
void |
resetState() |
void |
setNotifyUserByEmail(boolean notifyUserByEmail) |
void |
uploadListener(org.richfaces.event.FileUploadEvent event) |
@In(create=true, required=false) protected transient CoreSession documentManager
@In(create=true, required=false) protected transient NavigationContext navigationContext
protected String csvFileName
protected boolean notifyUserByEmail
protected String csvImportId
public CSVImportActions()
public boolean getNotifyUserByEmail()
public void setNotifyUserByEmail(boolean notifyUserByEmail)
public void uploadListener(org.richfaces.event.FileUploadEvent event) throws Exception
Exception
public void importCSVFile()
public String getImportingCSVFilename()
public CSVImportStatus getImportStatus()
public List<CSVImportLog> getLastLogs(int maxLogs)
public List<CSVImportLog> getSkippedAndErrorLogs()
public CSVImportResult getImportResult()
@Observer(value="navigateToDocument") public void resetState()
Copyright © 2015 Nuxeo SA. All rights reserved.