com.konakartadmin.app
Class AdminEmailOptions

java.lang.Object
  extended by com.konakartadmin.app.AdminEmailOptions

public class AdminEmailOptions
extends java.lang.Object

An object used to configure options used when sending eMails from the AdminApp


Field Summary
private  java.lang.String countryCode
           
private  java.lang.String custom1
           
private  java.lang.String custom2
           
private  java.lang.String custom3
           
private  AdminNameValue[] customAttrs
           
private  int customInt1
           
private  int customInt2
           
private  boolean useCustomerLocale
           
 
Constructor Summary
AdminEmailOptions()
           
 
Method Summary
 java.lang.String getCountryCode()
          If set, this is the country code that will be used to search for the eMail template.
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 AdminNameValue[] getCustomAttrs()
           
 int getCustomInt1()
           
 int getCustomInt2()
           
 boolean isUseCustomerLocale()
          When set, the eMail sender looks for a template with the customer's language rather than the default language.
 void setCountryCode(java.lang.String countryCode)
          If set, this is the country code that will be used to search for the eMail template.
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setCustomAttrs(AdminNameValue[] customAttrs)
           
 void setCustomInt1(int customInt1)
           
 void setCustomInt2(int customInt2)
           
 void setUseCustomerLocale(boolean useCustomerLocale)
          When set, the eMail sender looks for a template with the customer's language rather than the default language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customAttrs

private AdminNameValue[] customAttrs

useCustomerLocale

private boolean useCustomerLocale

countryCode

private java.lang.String countryCode

custom1

private java.lang.String custom1

custom2

private java.lang.String custom2

custom3

private java.lang.String custom3

customInt1

private int customInt1

customInt2

private int customInt2
Constructor Detail

AdminEmailOptions

public AdminEmailOptions()
Method Detail

getCustomAttrs

public AdminNameValue[] getCustomAttrs()
Returns:
Returns the customAttrs.

setCustomAttrs

public void setCustomAttrs(AdminNameValue[] customAttrs)
Parameters:
customAttrs - The customAttrs to set.

isUseCustomerLocale

public boolean isUseCustomerLocale()
When set, the eMail sender looks for a template with the customer's language rather than the default language.

Returns:
the useCustomerLocale

setUseCustomerLocale

public void setUseCustomerLocale(boolean useCustomerLocale)
When set, the eMail sender looks for a template with the customer's language rather than the default language.

Parameters:
useCustomerLocale - the useCustomerLocale to set

getCountryCode

public java.lang.String getCountryCode()
If set, this is the country code that will be used to search for the eMail template. It should contain two lower case characters such as "en", "de", "es" etc.

Returns:
the countryCode

setCountryCode

public void setCountryCode(java.lang.String countryCode)
If set, this is the country code that will be used to search for the eMail template. It should contain two lower case characters such as "en", "de", "es" etc.

Parameters:
countryCode - the countryCode to set

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Parameters:
custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String custom2)
Parameters:
custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String custom3)
Parameters:
custom3 - the custom3 to set

getCustomInt1

public int getCustomInt1()
Returns:
the customInt1

setCustomInt1

public void setCustomInt1(int customInt1)
Parameters:
customInt1 - the customInt1 to set

getCustomInt2

public int getCustomInt2()
Returns:
the customInt2

setCustomInt2

public void setCustomInt2(int customInt2)
Parameters:
customInt2 - the customInt2 to set


Copyright © 2011 DS Data Systems UK Ltd.