com.elasticpath.commons.constants
Class WebConstants

java.lang.Object
  extended by com.elasticpath.commons.constants.WebConstants

public class WebConstants
extends java.lang.Object

WebConstants contains constants for the web layer.


Field Summary
static java.lang.String CM_USER_SESSION
          CmUserSession object.
static java.lang.String COMMAND_NAME_CMUSER
          CmUser command object.
static java.lang.String COMMAND_NAME_CUSTOMER
          Customer command object.
static java.lang.String COUNTRIES
          Countries object.
static java.lang.String COUNTRY
          Request parameter name of country code.
static java.lang.String CURRENCY
          This name is used to specify the locale in a request.
static java.lang.String CUSTOMER_SESSION_GUID
          Customer session guid.
static java.lang.String ELASTICPATH
          ElasticPath object.
static java.lang.String ERROR_KEY
          Error Key.
static int GENERATE_UNIQUE_PERMANENT_USER_ID_MODE
          the user id mode.
static java.lang.String IMPORT_DATA_TYPE
          This name is used to specify the import data types in a request.
static java.lang.String IMPORT_FILE
          This name is used to specify the import file in a request.
static java.lang.String IMPORT_TYPE
          This name is used to specify the import types in a request.
static int INDEPENDANT_EMAIL_AND_USER_ID_MODE
          the user id mode.
static java.lang.String IS_CHECKOUT_SIGN_IN
          Indicates that the user is signing in as part of the checkout process.
static java.lang.String IS_SECURE
          Variable indicates if the url is http or https.
static java.lang.String LICENSE_KEY_FILE
          This name is used to specify the license key file in a request.
static java.lang.String LOCALE_ID
          This name is used to specify the locale in a request.
static java.lang.String LOGIN_FAILED
          Login status flag used on sign in page.
static int MAX_COOKIE_AGE
          Maximum age for a cookie.
static java.lang.String PAYPAL_EXPRESS_CHECKOUT_TOKEN
          Token returned from PayPal when setExpressCheckout.
static java.lang.String PREVIEW_DATA
          This name is used to specify the import preview data in a request.
static java.lang.String REQUEST_ADDRESS_ID
          This name is used to specify address Uid in a request.
static java.lang.String REQUEST_ASSEST_ID
          This name is used in a request to specify that asset id is being download.
static java.lang.String REQUEST_CART_ITEM_ID
          This name is used to specify a cart item UID in a request.
static java.lang.String REQUEST_CATEGORY_ID
          This name is used to specify the category ID in a request.
static java.lang.String REQUEST_CID
          This name is used to specify category Uid in a request.
static java.lang.String REQUEST_CUSTOMER_CREDIT_CARD_ID
          This name is used to specify credit card Uid in a request.
static java.lang.String REQUEST_EDIT_BILLING_ADDRESS
          This name is used to specify that a shipping address is being edited from the checkout.
static java.lang.String REQUEST_EDIT_SHIPPING_ADDRESS
          This name is used to specify that a shipping address is being edited from the checkout.
static java.lang.String REQUEST_EXISTING_ADDRESS
          This name is used to specify an existing address in a request.
static java.lang.String REQUEST_FILTERS
          This name is used to specify search filter in a request.
static java.lang.String REQUEST_KEYWORDS
          This name is used to specify search key words in a request.
static java.lang.String REQUEST_OID
          This name is used to specify order Uid in a request.
static java.lang.String REQUEST_ORDERSKU_ID
          This name is used in a request to specify that ordersku id with digital asset being download.
static java.lang.String REQUEST_PAGE_NUM
          This name is used to specify a page number used to list products in a category in a request.
static java.lang.String REQUEST_PID
          This name is used to specify product Uid in a request.
static java.lang.String REQUEST_POWER_REVIEWS_PID
          This name is used to specify product Uid in a request from PowerReviews.
static java.lang.String REQUEST_PRODUCT_ASSOCIATION_ID
          This name is used to specify a product association Uid in a request.
static java.lang.String REQUEST_QUANTITY
          This name is used to specify a product quantity in a request.
static java.lang.String REQUEST_SHIPPING_COUNTRY_SUBCOUNTRY_MAP
          This name is used in a request to specify that a country/subcountries map for regions with shipping service configured.
static java.lang.String REQUEST_SKUGUID
          This name is used to specify product SKU Uid in a request.
static java.lang.String REQUEST_SORTER
          This name is used to specify search sorter in a request.
static java.lang.String REQUEST_UPDATE
          This name is used in a request to specify that a cart item is being updated.
static java.lang.String REQUEST_UPDATE_BILLING_REVIEW
          This name is used in a request to specify that a cart item is being updated in the billing and review page.
static java.lang.String REQUEST_UPDATE_VIEW_CART
          This name is used in a request to specify that a cart item is being updated in the view cart page.
static java.lang.String SAVED_BATCH_JOBS
          This name is used to specify the saved batch jobs in a request.
static java.lang.String SAVED_IMPORT_JOBS
          This name is used to specify the saved import jobs in a request.
static java.lang.String SELECTED_IMAGE
          This name is used to specify the alternative image selected by the user.
static java.lang.String SHOPPING_CART
          ShoppingCart object.
static java.lang.String SUB_COUNTRY
          Request parameter name of subCountry code.
static java.lang.String SYMBOL_AND
          The character '&', which is used in query string.
static char SYMBOL_EQUAL
          The character '=', which is used in query string.
static char SYMBOL_PLUS
          The character '+', which is used in query string.
static java.lang.String TOPCATEGORIES
          All top categories.
static int USE_EMAIL_AS_USER_ID_MODE
          the user id mode.
static java.lang.String VALIDATION_PREVIEW_DATA
          This name is used to specify the import validation preview data in a request.
static java.lang.String WEB_INF_DIR_NAME
          The WEB-INF directory name.
 
Constructor Summary
WebConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CM_USER_SESSION

public static final java.lang.String CM_USER_SESSION
CmUserSession object.

See Also:
Constant Field Values

COMMAND_NAME_CMUSER

public static final java.lang.String COMMAND_NAME_CMUSER
CmUser command object.

See Also:
Constant Field Values

COMMAND_NAME_CUSTOMER

public static final java.lang.String COMMAND_NAME_CUSTOMER
Customer command object.

See Also:
Constant Field Values

COUNTRIES

public static final java.lang.String COUNTRIES
Countries object.

See Also:
Constant Field Values

COUNTRY

public static final java.lang.String COUNTRY
Request parameter name of country code.

See Also:
Constant Field Values

CURRENCY

public static final java.lang.String CURRENCY
This name is used to specify the locale in a request.

See Also:
Constant Field Values

CUSTOMER_SESSION_GUID

public static final java.lang.String CUSTOMER_SESSION_GUID
Customer session guid.

See Also:
Constant Field Values

ELASTICPATH

public static final java.lang.String ELASTICPATH
ElasticPath object.

See Also:
Constant Field Values

ERROR_KEY

public static final java.lang.String ERROR_KEY
Error Key.

See Also:
Constant Field Values

GENERATE_UNIQUE_PERMANENT_USER_ID_MODE

public static final int GENERATE_UNIQUE_PERMANENT_USER_ID_MODE
the user id mode.

See Also:
Constant Field Values

IMPORT_DATA_TYPE

public static final java.lang.String IMPORT_DATA_TYPE
This name is used to specify the import data types in a request.

See Also:
Constant Field Values

IMPORT_FILE

public static final java.lang.String IMPORT_FILE
This name is used to specify the import file in a request.

See Also:
Constant Field Values

IMPORT_TYPE

public static final java.lang.String IMPORT_TYPE
This name is used to specify the import types in a request.

See Also:
Constant Field Values

INDEPENDANT_EMAIL_AND_USER_ID_MODE

public static final int INDEPENDANT_EMAIL_AND_USER_ID_MODE
the user id mode.

See Also:
Constant Field Values

IS_CHECKOUT_SIGN_IN

public static final java.lang.String IS_CHECKOUT_SIGN_IN
Indicates that the user is signing in as part of the checkout process.

See Also:
Constant Field Values

IS_SECURE

public static final java.lang.String IS_SECURE
Variable indicates if the url is http or https.

See Also:
Constant Field Values

LICENSE_KEY_FILE

public static final java.lang.String LICENSE_KEY_FILE
This name is used to specify the license key file in a request.

See Also:
Constant Field Values

LOCALE_ID

public static final java.lang.String LOCALE_ID
This name is used to specify the locale in a request.

See Also:
Constant Field Values

LOGIN_FAILED

public static final java.lang.String LOGIN_FAILED
Login status flag used on sign in page.

See Also:
Constant Field Values

MAX_COOKIE_AGE

public static final int MAX_COOKIE_AGE
Maximum age for a cookie.

See Also:
Constant Field Values

PAYPAL_EXPRESS_CHECKOUT_TOKEN

public static final java.lang.String PAYPAL_EXPRESS_CHECKOUT_TOKEN
Token returned from PayPal when setExpressCheckout.

See Also:
Constant Field Values

PREVIEW_DATA

public static final java.lang.String PREVIEW_DATA
This name is used to specify the import preview data in a request.

See Also:
Constant Field Values

REQUEST_ADDRESS_ID

public static final java.lang.String REQUEST_ADDRESS_ID
This name is used to specify address Uid in a request.

See Also:
Constant Field Values

REQUEST_ASSEST_ID

public static final java.lang.String REQUEST_ASSEST_ID
This name is used in a request to specify that asset id is being download.

See Also:
Constant Field Values

REQUEST_CART_ITEM_ID

public static final java.lang.String REQUEST_CART_ITEM_ID
This name is used to specify a cart item UID in a request.

See Also:
Constant Field Values

REQUEST_CATEGORY_ID

public static final java.lang.String REQUEST_CATEGORY_ID
This name is used to specify the category ID in a request.

See Also:
Constant Field Values

REQUEST_CID

public static final java.lang.String REQUEST_CID
This name is used to specify category Uid in a request.

See Also:
Constant Field Values

REQUEST_CUSTOMER_CREDIT_CARD_ID

public static final java.lang.String REQUEST_CUSTOMER_CREDIT_CARD_ID
This name is used to specify credit card Uid in a request.

See Also:
Constant Field Values

REQUEST_EDIT_BILLING_ADDRESS

public static final java.lang.String REQUEST_EDIT_BILLING_ADDRESS
This name is used to specify that a shipping address is being edited from the checkout.

See Also:
Constant Field Values

REQUEST_EDIT_SHIPPING_ADDRESS

public static final java.lang.String REQUEST_EDIT_SHIPPING_ADDRESS
This name is used to specify that a shipping address is being edited from the checkout.

See Also:
Constant Field Values

REQUEST_EXISTING_ADDRESS

public static final java.lang.String REQUEST_EXISTING_ADDRESS
This name is used to specify an existing address in a request.

See Also:
Constant Field Values

REQUEST_FILTERS

public static final java.lang.String REQUEST_FILTERS
This name is used to specify search filter in a request.

See Also:
Constant Field Values

REQUEST_KEYWORDS

public static final java.lang.String REQUEST_KEYWORDS
This name is used to specify search key words in a request.

See Also:
Constant Field Values

REQUEST_OID

public static final java.lang.String REQUEST_OID
This name is used to specify order Uid in a request.

See Also:
Constant Field Values

REQUEST_ORDERSKU_ID

public static final java.lang.String REQUEST_ORDERSKU_ID
This name is used in a request to specify that ordersku id with digital asset being download.

See Also:
Constant Field Values

REQUEST_PAGE_NUM

public static final java.lang.String REQUEST_PAGE_NUM
This name is used to specify a page number used to list products in a category in a request.

See Also:
Constant Field Values

REQUEST_PID

public static final java.lang.String REQUEST_PID
This name is used to specify product Uid in a request.

See Also:
Constant Field Values

REQUEST_POWER_REVIEWS_PID

public static final java.lang.String REQUEST_POWER_REVIEWS_PID
This name is used to specify product Uid in a request from PowerReviews.

See Also:
Constant Field Values

REQUEST_PRODUCT_ASSOCIATION_ID

public static final java.lang.String REQUEST_PRODUCT_ASSOCIATION_ID
This name is used to specify a product association Uid in a request.

See Also:
Constant Field Values

REQUEST_QUANTITY

public static final java.lang.String REQUEST_QUANTITY
This name is used to specify a product quantity in a request.

See Also:
Constant Field Values

REQUEST_SHIPPING_COUNTRY_SUBCOUNTRY_MAP

public static final java.lang.String REQUEST_SHIPPING_COUNTRY_SUBCOUNTRY_MAP
This name is used in a request to specify that a country/subcountries map for regions with shipping service configured.

See Also:
Constant Field Values

REQUEST_SKUGUID

public static final java.lang.String REQUEST_SKUGUID
This name is used to specify product SKU Uid in a request.

See Also:
Constant Field Values

REQUEST_SORTER

public static final java.lang.String REQUEST_SORTER
This name is used to specify search sorter in a request.

See Also:
Constant Field Values

REQUEST_UPDATE

public static final java.lang.String REQUEST_UPDATE
This name is used in a request to specify that a cart item is being updated.

See Also:
Constant Field Values

REQUEST_UPDATE_BILLING_REVIEW

public static final java.lang.String REQUEST_UPDATE_BILLING_REVIEW
This name is used in a request to specify that a cart item is being updated in the billing and review page.

See Also:
Constant Field Values

REQUEST_UPDATE_VIEW_CART

public static final java.lang.String REQUEST_UPDATE_VIEW_CART
This name is used in a request to specify that a cart item is being updated in the view cart page.

See Also:
Constant Field Values

SAVED_BATCH_JOBS

public static final java.lang.String SAVED_BATCH_JOBS
This name is used to specify the saved batch jobs in a request.

See Also:
Constant Field Values

SAVED_IMPORT_JOBS

public static final java.lang.String SAVED_IMPORT_JOBS
This name is used to specify the saved import jobs in a request.

See Also:
Constant Field Values

SELECTED_IMAGE

public static final java.lang.String SELECTED_IMAGE
This name is used to specify the alternative image selected by the user.

See Also:
Constant Field Values

SHOPPING_CART

public static final java.lang.String SHOPPING_CART
ShoppingCart object.

See Also:
Constant Field Values

SUB_COUNTRY

public static final java.lang.String SUB_COUNTRY
Request parameter name of subCountry code.

See Also:
Constant Field Values

SYMBOL_AND

public static final java.lang.String SYMBOL_AND
The character '&', which is used in query string.

See Also:
Constant Field Values

SYMBOL_EQUAL

public static final char SYMBOL_EQUAL
The character '=', which is used in query string.

See Also:
Constant Field Values

SYMBOL_PLUS

public static final char SYMBOL_PLUS
The character '+', which is used in query string.

See Also:
Constant Field Values

TOPCATEGORIES

public static final java.lang.String TOPCATEGORIES
All top categories.

See Also:
Constant Field Values

USE_EMAIL_AS_USER_ID_MODE

public static final int USE_EMAIL_AS_USER_ID_MODE
the user id mode.

See Also:
Constant Field Values

VALIDATION_PREVIEW_DATA

public static final java.lang.String VALIDATION_PREVIEW_DATA
This name is used to specify the import validation preview data in a request.

See Also:
Constant Field Values

WEB_INF_DIR_NAME

public static final java.lang.String WEB_INF_DIR_NAME
The WEB-INF directory name.

See Also:
Constant Field Values
Constructor Detail

WebConstants

public WebConstants()