All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.interceptor.SessionAware

public class CsvMapping extends BaseCsvImporter implements org.apache.struts2.interceptor.SessionAware
Mapping action for the CSV importer
See Also:
  • Constructor Details

    • CsvMapping

      public CsvMapping()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BaseAction
      Throws:
      Exception
    • setSession

      public void setSession(Map session)
      Specified by:
      setSession in interface org.apache.struts2.interceptor.SessionAware
    • getConfiguration

      public CsvConfiguration getConfiguration()
    • getUserMappingOptions

      public List<PairType> getUserMappingOptions()
    • getGroupMappingOptions

      public List<PairType> getGroupMappingOptions()
    • isGroupMappingSelected

      public boolean isGroupMappingSelected(String key, String value)
    • isUserMappingSelected

      public boolean isUserMappingSelected(String key, String value)
    • canMapUserStatus

      public boolean canMapUserStatus(String value)