com.elasticpath.cmweb.formbean.impl
Class ImportStep5FormBeanImpl

java.lang.Object
  extended by com.elasticpath.cmweb.formbean.impl.ImportStep5FormBeanImpl
All Implemented Interfaces:
ImportStep5FormBean

public class ImportStep5FormBeanImpl
extends java.lang.Object
implements ImportStep5FormBean

This bean represents import form.


Constructor Summary
ImportStep5FormBeanImpl()
           
 
Method Summary
 java.util.List getDataFields()
          Returns the data fields in the import data file.
 java.util.Map getMappedFields()
          Returns the mapping between data fields from data file and import data type fields.
 java.util.List getOptionalFields()
          Returns the optional fields for the import data type.
 java.util.List getRequiredFields()
          Returns the required fields for the import data type.
 java.util.List getRequiredFieldsValidation()
          Returns the list of required fields validation.
 java.util.List getValidationResults()
          Returns the list of validation import errors.
 boolean isWarningConfirmed()
          Returns value of the warning confirmed field.
 java.util.Map retrieveFinalMappedFields()
          Returns a map with values set as integer type for those keys that have a value.
 void setDataFields(java.util.List dataFields)
          Sets the data fields in the import data file.
 void setMappedFields(java.util.Map mappedFields)
          Sets the mapping between data fields from data file and import data type fields.
 void setOptionalFields(java.util.List optionalFields)
          Sets the optional fields for the import data type.
 void setRequiredFields(java.util.List requiredFields)
          Sets the required fields for the import data type.
 void setRequiredFieldsValidation(java.util.List requiredFieldsValidation)
          Sets the list of required fields validation.
 void setValidationResults(java.util.List validationResults)
          Sets the list of validation import errors.
 void setWarningConfirmed(boolean warningConfirmed)
          Set value of the warning confirmed field.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportStep5FormBeanImpl

public ImportStep5FormBeanImpl()
Method Detail

getDataFields

public java.util.List getDataFields()
Returns the data fields in the import data file.

Specified by:
getDataFields in interface ImportStep5FormBean
Returns:
the data fields in the import data file

getMappedFields

public java.util.Map getMappedFields()
Returns the mapping between data fields from data file and import data type fields.

Specified by:
getMappedFields in interface ImportStep5FormBean
Returns:
the map between data fields from data file and import data type fields

getOptionalFields

public java.util.List getOptionalFields()
Returns the optional fields for the import data type.

Specified by:
getOptionalFields in interface ImportStep5FormBean
Returns:
the optional fields for the import data type

getRequiredFields

public java.util.List getRequiredFields()
Returns the required fields for the import data type.

Specified by:
getRequiredFields in interface ImportStep5FormBean
Returns:
the required fields for the import data type

getRequiredFieldsValidation

public java.util.List getRequiredFieldsValidation()
Returns the list of required fields validation.

Specified by:
getRequiredFieldsValidation in interface ImportStep5FormBean
Returns:
the list of required fields validation

getValidationResults

public java.util.List getValidationResults()
Returns the list of validation import errors.

Specified by:
getValidationResults in interface ImportStep5FormBean
Returns:
the list of validation import errors

isWarningConfirmed

public boolean isWarningConfirmed()
Returns value of the warning confirmed field.

Specified by:
isWarningConfirmed in interface ImportStep5FormBean
Returns:
value of the warning confirmed field

retrieveFinalMappedFields

public java.util.Map retrieveFinalMappedFields()
Returns a map with values set as integer type for those keys that have a value.

Specified by:
retrieveFinalMappedFields in interface ImportStep5FormBean
Returns:
map with values set as integer type for those keys that have a value

setDataFields

public void setDataFields(java.util.List dataFields)
Sets the data fields in the import data file.

Specified by:
setDataFields in interface ImportStep5FormBean
Parameters:
dataFields - the data fields in the import data file

setMappedFields

public void setMappedFields(java.util.Map mappedFields)
Sets the mapping between data fields from data file and import data type fields.

Specified by:
setMappedFields in interface ImportStep5FormBean
Parameters:
mappedFields - map between data fields from data file and import data type fields

setOptionalFields

public void setOptionalFields(java.util.List optionalFields)
Sets the optional fields for the import data type.

Specified by:
setOptionalFields in interface ImportStep5FormBean
Parameters:
optionalFields - the optional fields for the import data type

setRequiredFields

public void setRequiredFields(java.util.List requiredFields)
Sets the required fields for the import data type.

Specified by:
setRequiredFields in interface ImportStep5FormBean
Parameters:
requiredFields - the required fields for the import data type

setRequiredFieldsValidation

public void setRequiredFieldsValidation(java.util.List requiredFieldsValidation)
Sets the list of required fields validation.

Specified by:
setRequiredFieldsValidation in interface ImportStep5FormBean
Parameters:
requiredFieldsValidation - the list of required fields validation

setValidationResults

public void setValidationResults(java.util.List validationResults)
Sets the list of validation import errors.

Specified by:
setValidationResults in interface ImportStep5FormBean
Parameters:
validationResults - list of of validation import errors

setWarningConfirmed

public void setWarningConfirmed(boolean warningConfirmed)
Set value of the warning confirmed field.

Specified by:
setWarningConfirmed in interface ImportStep5FormBean
Parameters:
warningConfirmed - value of the warning confirmed field