com.atlassian.crowd.console.action.dataimport
Class CsvMapping

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.dataimport.BaseImporter
              extended by com.atlassian.crowd.console.action.dataimport.CsvMapping
All Implemented Interfaces:
com.opensymphony.webwork.interceptor.SessionAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable

public class CsvMapping
extends BaseImporter
implements com.opensymphony.webwork.interceptor.SessionAware

Mapping action for the CSV importer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.crowd.console.action.dataimport.BaseImporter
IMPORTER_CONFIGURATION, logger, result
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, crowdLicenseManager, directoryManager, initialLoad, propertyManager, tab
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CsvMapping()
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String doExecute()
           
 CsvConfiguration getConfiguration()
           
 java.util.List<com.atlassian.core.util.PairType> getGroupMappingOptions()
           
 java.util.List<com.atlassian.core.util.PairType> getUserMappingOptions()
           
 boolean isGroupMappingSelected(java.lang.String key, java.lang.String value)
           
 boolean isUserMappingSelected(java.lang.String key, java.lang.String value)
           
 void setSession(java.util.Map session)
           
 
Methods inherited from class com.atlassian.crowd.console.action.dataimport.BaseImporter
getDirectories, getResult, setDirectories, setResult
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, renderFreemarkerTemplate, setApplicationManager, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setWebInterfaceManager, setWebResourceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvMapping

public CsvMapping()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class BaseAction
Throws:
java.lang.Exception

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Throws:
java.lang.Exception

setSession

public void setSession(java.util.Map session)
Specified by:
setSession in interface com.opensymphony.webwork.interceptor.SessionAware

getConfiguration

public CsvConfiguration getConfiguration()

getUserMappingOptions

public java.util.List<com.atlassian.core.util.PairType> getUserMappingOptions()

getGroupMappingOptions

public java.util.List<com.atlassian.core.util.PairType> getGroupMappingOptions()

isGroupMappingSelected

public boolean isGroupMappingSelected(java.lang.String key,
                                      java.lang.String value)

isUserMappingSelected

public boolean isUserMappingSelected(java.lang.String key,
                                     java.lang.String value)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.