All Implemented Interfaces:
Serializable, org.apache.struts2.action.Action, org.apache.struts2.action.SessionAware, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

public class CsvMapping extends BaseCsvImporter implements org.apache.struts2.action.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 org.apache.struts2.action.Action
      Overrides:
      execute in class BaseAction
      Throws:
      Exception
    • withSession

      public void withSession(Map session)
      Specified by:
      withSession in interface org.apache.struts2.action.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)