public class CommandContextImpl extends java.lang.Object implements CommandContext, ECConstants
| Modifier and Type | Class and Description |
|---|---|
class |
CommandContextImpl.UserDependantInfo |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
java.lang.String |
preferredCurrency
the preferred currency from user profile or session
|
java.lang.Integer |
preferredLanguage
the preferred language from user
|
ACT_READ, ACT_WRITE, CFG_KEY_LOCATOR_FRAMEWORK_CONFIG_FILE, CFG_MERCHANT_KEY, CFG_MERCHANT_KEY_NAME, CFG_SESSION_KEY, CFG_SESSION_KEY_NAME, COMMERCE_PRODUCT_FILE, EC_ACC_ALL_RESOURCES, EC_ACC_CONTROLLER, EC_ACC_DEFAULT_POLICYMANAGER_CLASSNAME, EC_ACC_DEFAULT_POLICYMANAGER_CREATEINSTANCE_METHOD, EC_ACC_ERROR_VIEW, EC_ACC_VIEW, EC_ACTIVITYDATA, EC_ADDR_PERMANENT, EC_ADDR_RN, EC_ADDR_TEMPORARY, EC_ADDRESS, EC_ADDRESSBOOK, EC_ADMIN_USER_TYPE, EC_ATTACH_AURL, EC_ATTACH_CFG_CMD_FILEEXT, EC_ATTACH_CFG_CMD_MAXSIZE, EC_ATTACH_CFG_CMD_NAME, EC_ATTACH_CFG_CMD_RETURNURL, EC_ATTACH_CFG_CMD_VIRUSCHK, EC_ATTACH_CFG_COMPRESSED_FILE_MAXEXTRACTEDFILESIZE, EC_ATTACH_CFG_COMPRESSED_FILE_MAXFILENUM, EC_ATTACH_CFG_MAXSIZE, EC_ATTACH_DOT, EC_ATTACH_ErrorURL, EC_ATTACH_FILENAME, EC_ATTACH_FilePath, EC_ATTACH_ID, EC_ATTACH_MIMETYPE, EC_ATTACH_MIMETYPE_EXTENSION, EC_ATTACH_MIMETYPE_TYPE, EC_ATTACH_POUND, EC_ATTACH_QUESTION, EC_ATTACH_RefCommand, EC_ATTACH_ReName, EC_ATTACH_returnURL, EC_ATTACH_UPLOAD, EC_ATTACH_XML, EC_BAD_PARAM, EC_BASE_COMPONENT, EC_BC_ENDTIME, EC_BC_JOBNBR, EC_BC_STATE, EC_BILLTO, EC_BOOL_FALSE, EC_BOOL_TRUE, EC_BOUNDARY, EC_BUNDLE_BEAN, EC_BUSINESS_ENTITIES_NODE, EC_BYPASS_ACCESS_CHECK_FOR_OPEN_STORE, EC_CATALOG_ENTRY_ID, EC_CATALOG_ID, EC_CATALOG_IDENTIFIER, EC_CATALOG_MASSOC_TYPE_REPLACEMENT, EC_CATEGORIES, EC_CATEGORY_ID, EC_CATEGORY_IDENTIFIER, EC_CATEGORY_NAME, EC_CATEGORYDISPLAY_COMMAND, EC_CC_ACCOUNT, EC_CC_BRAND, EC_CC_NUMBER, EC_CC_TYPE, EC_CCV_CODE, EC_CCX_MONTH, EC_CCX_YEAR, EC_CD_MONTH, EC_CD_YEAR, EC_CFG_AUTHENTICATIONMODE, EC_CFG_CFG_FILE_PATH, EC_CFG_CMD_CHAIN_DEF_FILE, EC_CFG_CMD_EXEC_EVENT_FILE, EC_CFG_CMD_PASSWORD_PROT_RETRIES, EC_CFG_CMD_PASSWORD_PROTECTION, EC_CFG_COOKIE, EC_CFG_COOKIE_ACCEPTANCE, EC_CFG_COOKIE_DOMAIN, EC_CFG_COOKIE_ENCRYPT, EC_CFG_COOKIE_PATH, EC_CFG_COOKIE_PERSIST, EC_CFG_COOKIE_SSL_CHECK, EC_CFG_COOKIE_SSLAUTH, EC_CFG_COOKIE_TRACE, EC_CFG_ENABLE_HTTP_PARM_ENCRYPT, EC_CFG_ENABLE_HTTPS_PARM_ENCRYPT, EC_CFG_ENABLE_JSP_STORE_DIR_CACHE, EC_CFG_ENABLED, EC_CFG_FALSE, EC_CFG_IN_NON_SSL_PORT, EC_CFG_IN_SSL_PORT, EC_CFG_LOGIN_TIMEOUT, EC_CFG_MEMBER_DIR, EC_CFG_MEMBER_MEMBERROLES_FILE_BASE_NAME, EC_CFG_MEMBER_MEMBERROLES_FILE_EXT, EC_CFG_MEMBERROLESFILENAME, EC_CFG_MULTIPLE_STORE_WARS, EC_CFG_NAME, EC_CFG_NON_SSLPORT, EC_CFG_OUT_NON_SSL_PORT, EC_CFG_OUT_SSL_PORT, EC_CFG_PASSWORD_INVALIDATION, EC_CFG_POLICYMANAGER_CLASSNAME, EC_CFG_POLICYMANAGER_CREATEINSTANCE_METHOD, EC_CFG_REFERRER_COOKIE_AGE, EC_CFG_SECURITY_ENABLED, EC_CFG_SECURITY_REALM, EC_CFG_SECURITY_RUN_AS_PWD, EC_CFG_SECURITY_RUN_AS_UID, EC_CFG_SSL_ACCELERATOR_OPTION, EC_CFG_SSLPORT, EC_CFG_STOREWEBMODULENAME, EC_CFG_TERMINATE_ACTIVITY, EC_CFG_TRUE, EC_CFG_URLMAPPER, EC_CFG_URLREWRITE, EC_CFG_VALUE, EC_CFG_WAS_PERSIST, EC_CFG_WCS_PERSIST, EC_CFG_WEB_ATTR_CONTEXTPATH, EC_CFG_WEB_ATTR_FILESERVLETENABLED, EC_CFG_WEB_ATTR_NAME, EC_CFG_WEB_ATTR_URLMAPPINGPATH, EC_CFG_WEB_ATTR_WEBALIAS, EC_CFG_WEB_MODULE, EC_CFG_WEBMODULE, EC_CFG_WEBSERVER, EC_CFG_WEBSPHERE, EC_CFG_X_SITE_SCRIPT, EC_CFG_X509, EC_CHANNELSTOREID, EC_CHANNELSTOREORDERSTATUS, EC_CLEAR_FOR_USER, EC_CMDBEAN, EC_CMDREG_SUFFIX, EC_COLLAB_BASE_DN, EC_COLLAB_ENABLE, EC_COLLAB_LDAP_ADMIN, EC_COLLAB_LDAP_HOSTNAME, EC_COLLAB_LDAP_PASSWORD, EC_COLLAB_LDAP_PORT, EC_COLLAB_QP_COLLABADMIN_LOGON, EC_COLLAB_QP_COLLABADMIN_PASSWORD, EC_COLLAB_QP_DOMAIN, EC_COLLAB_QP_HOST, EC_COLLAB_QP_HTTP_PORT, EC_COLLAB_QP_HTTPS_PORT, EC_COLLAB_QP_LOCALE, EC_COLLAB_QP_QPADMIN_LOGON, EC_COLLAB_QP_QPADMIN_PASSWORD, EC_COLLAB_QP_SERVLET_URL_PATH, EC_COLLAB_QP_USE_SSL, EC_COLLAB_WEBSERVER_HOSTNAME, EC_COLON, EC_COMMAND_CHAIN_NAME, EC_COMMANDCONTEXT, EC_COMMENT, EC_COMPONENT, EC_COMPONENT_CLASS, EC_COMPONENT_ENABLE, EC_COMPONENT_HTTPWEBCONTROLLER, EC_COMPONENT_NAME, EC_COMPONENT_PROPERTY, EC_COMPONENTS, EC_CONF_MSLOGNAME, EC_CONF_MSLOGTYPE, EC_CONF_TRACE_MASK, EC_CONFIG, EC_CONFIG_FILE, EC_CONTENT_DISP, EC_CONTENT_TYPE, EC_CONTENTLENGTH, EC_CONTENTTYPE, EC_CONTEXT_PATH, EC_CONTRACT_CMD_GET_ELIGIBLE_TA_IDS, EC_CONTRACT_ID, EC_COOKIE_ERROR_VIEW, EC_COOKIE_ExternalReferrer, EC_CORRUPT_CONTENT_DISP, EC_CORRUPT_DATA_END, EC_CRLF, EC_CSRF_AUTH_TOKEN_NAME, EC_CSRF_ERROR_PAGE, EC_CT_XML_ATTR_ENABLE, EC_CT_XML_ATTR_EVENT_GENERATOR, EC_CT_XML_ATTR_INTERFACENAME, EC_CT_XML_ATTR_NAME, EC_CT_XML_ATTR_STOREID, EC_CT_XML_ATTR_TYPE, EC_CT_XML_ATTRVAL_ENTRY, EC_CT_XML_ATTRVAL_EXCEPTION, EC_CT_XML_ATTRVAL_EXECUTION, EC_CT_XML_ATTRVAL_EXIT, EC_CT_XML_ELE_COMMANDTRIGGERS, EC_CT_XML_ELE_TRIGGER, EC_CURRCONTRACTS_ID, EC_CURRENCY_ID, EC_CURRENCY_SYM, EC_DATABEAN, EC_DATABEAN_DEEPFETCH, EC_DATABEAN_MANAGER_MODE, EC_DATABEAN_MANAGER_MODE_DEFAULT, EC_DATABEAN_MANAGER_MODE_DO_EXCEPTION_HANDLING, EC_DATABEAN_MANAGER_MODE_SKIP_EXCEPTION_HANDLING, EC_DD_CACHE_EXC_CMDS, EC_DD_CACHE_INC_CMDS, EC_DD_CACHE_NON_IDEM_CMDS, EC_DD_COMMAND, EC_DD_EXCLUDE_COMMANDS, EC_DD_INCLUDE_COMMANDS, EC_DD_MONITORS_COMMANDS, EC_DD_NAME, EC_DD_NON_IDEM_COMMANDS, EC_DDKEY, EC_DECRYPTEDREQPROP, EC_DEFAULT_ATTRIBUTE_VAL_LANGUAGE, EC_DEFAULT_CRLF, EC_DEFAULT_INIT_TRANSACTION_TIMEOUT, EC_DEFAULT_NON_SSL_PORT, EC_DEFAULT_SSL_PORT, EC_DEFAULT_STORE_ALIAS, EC_DEFAULT_TRANSACTION_TIMEOUT, EC_DISPLAY_BEAN, EC_DOCPATHNAME, EC_DOT, EC_DUPLICATE_REQ_VIEW, EC_EAR_PROPERTIES, EC_EDP_AMOUNT_EDITABLE, EC_EDP_CURRENCYCODE, EC_EDP_FINALIZATION_AMOUNT, EC_EDP_INITIALAMOUNT, EC_EDP_ORDERID, EC_EDP_PAYMENT_DATA_EDITABLE, EC_EDP_PAYMTHDID, EC_EDP_PIAMOUNT, EC_EDP_PIID, EC_EDP_PILIST, EC_EDP_RELEASEID, EC_EDP_RESERVATION_AMOUNT, EC_EDP_TOTALAMOUNT, EC_ELGBCONTRACTS_ID, EC_EMPTY_STRING, EC_ENABLE_DOUBLE_CLICK_HANDLER, EC_ENCRYPTION_ACTIVEPROVIDER, EC_ENCRYPTION_ALTERNATEPROVIDER, EC_ENCRYPTION_DEFAULTPROVIDER, EC_ENCRYPTION_SESSIONPROVIDER, EC_END_STR, EC_ERROR_CODE, EC_ERROR_JSP_NAME, EC_ERROR_VIEWNAME, EC_ERRORCODE, EC_ERRORSTRING, EC_ESC_DOT, EC_EXC_CONTENT_TYPE_ERR, EC_EXC_MALFORM_LINE, EC_EXCEPTION, EC_EXCLUDE_STORE_DIR, EC_FEATURE_CAAS, EC_FEATURE_CMC, EC_FEATURE_CONTENTVERSION, EC_FEATURE_FOUNDATION, EC_FEATURE_LDAP, EC_FEATURE_LOCATION_SERVICES, EC_FEATURE_SOCCOM, EC_FEATURE_SOCIAL_BRIDGING, EC_FEATURE_SSO, EC_FEATURE_STERLING_INTEGRATION, EC_FEATURE_STORE_SEPARATION, EC_FEATURE_STOREENHANCEMENTS, EC_FEATURE_USER_EXITS, EC_FIELD1, EC_FIELD2, EC_FIELD3, EC_FILESIZE, EC_FOR_STORE_ID, EC_FOR_USER, EC_FOR_USER_ID, EC_FORCED_PASSWORD_CHANGE_PAGE, EC_FORM_DATA_STR, EC_FORWARD_SLASH, EC_FRAME_SUPPORTED, EC_GENERIC_APP_ERROR_VIEW, EC_GENERIC_APPLICATION_ERROR_PAGE, EC_GENERIC_CMD, EC_GENERIC_DIRECTVIEW, EC_GENERIC_ERROR_PAGE, EC_GENERIC_FORWARDVIEW, EC_GENERIC_HTTPS_REDIRECTVIEW, EC_GENERIC_LOGONFORM, EC_GENERIC_PVCTIMEOUTFORM, EC_GENERIC_REDIRECTVIEW, EC_GENERIC_SYS_ERROR_VIEW, EC_GENERIC_USER_ID, EC_GENERIC_USER_REFNUM, EC_GENERIC_USER_TIMESTAMP, EC_GENERIC_USER_TYPE, EC_HTTP_DEVFMT, EC_HTTP_DEVFMTID_BROWSER, EC_HTTP_DEVFMTNAME_BROWSER, EC_HTTP_DEVFMTNAME_PVC, EC_HTTP_DEVFMTS, EC_HTTP_DEVFMTTYPID_BROWSER, EC_HTTP_DEVFMTTYPID_PVC, EC_HTTP_DEVFMTTYPID_XML, EC_HTTP_HDR_CACHE_CONTROL, EC_HTTP_ReferrerHeader, EC_HTTP_VALUE_PRIVATE, EC_HTTPADAPTER, EC_HTTPADAPTERS, EC_HTTPWEBCONTROLLER, EC_IBM_ENETWORK_30, EC_IBM_ID_LOGOFF, EC_IILIST_ATTR_NAME, EC_IILIST_ATTR_VALUE, EC_IILIST_DISPLAYSEQ, EC_IILIST_FIELD1, EC_IILIST_FIELD2, EC_IILIST_FIELD3, EC_IILIST_ID, EC_IILIST_ID_NAME, EC_IILIST_MEMBER_ID, EC_IILIST_UOM, EC_IMERCHANT, EC_IN_IILIST_ID, EC_IN_IILIST_ID_NAME, EC_IN_IILIST_MEMBER_ID, EC_INIT_PARM_CONFIGFACTORY, EC_INIT_PARM_CONFIGFILE, EC_INIT_PARM_ENCODING, EC_INIT_PARM_INSTANCENAME, EC_INIT_PARM_ISRESTSERVLET, EC_INIT_PARM_ISSTORESERVLET, EC_INIT_PARM_SERVLETNAME, EC_INIT_TRANSACTION_TIMEOUT, EC_INPUT_PARAM, EC_INPUT_PARAMVALUES, EC_INPUT_STREAM, EC_INSTANCE_INSTALL_DIR, EC_INSTANCE_NAME, EC_INVALID_ACTIVITY_TOKEN_ERROR_VIEW, EC_INVALID_CONTENT_DISP, EC_INVALID_PARM, EC_IS_RESPONSE_NECESSARY, EC_IS_SCHEDULED_JOB, EC_ITEM_BEAN, EC_JDBC_JNDINAME, EC_JEE_ONLY_RESOURCE, EC_JSP_ADDR_ADD, EC_JSP_ADDR_UPDATE, EC_JSP_CHECK_INV_ERR, EC_JSP_COM_ERR, EC_JSP_LOGON_DSP, EC_JSP_ORD_DSP_COM, EC_JSP_ORD_DSP_PEN, EC_JSP_ORD_LST_COM, EC_JSP_ORD_LST_PEN, EC_JSP_ORD_OK, EC_JSP_PWD_ADMIN, EC_JSP_PWD_RESET, EC_JSP_PWD_UPDATE, EC_JSP_PWD_USER_AUTH, EC_JSP_REG_NEW, EC_JSP_REG_UPDATE, EC_JSP_SHIPTO_ASSOC, EC_JSP_SHIPTO_DSP, EC_JSP_SHIPTO_LST, EC_JSP_SHOPCART_DSP, EC_JSP_STORE_DIR, EC_KEEP_ALIVE_SESSION, EC_KEY_LOCATOR_FRAMEWORK_PARAMETER, EC_KLF_CONFIG_FILE_DEFAULT_LOCATION, EC_KLF_DEFAULT_CONFIG_FILE_RELATIVE_PATH, EC_KRYPTO, EC_LANGUAGE_ID, EC_LDAP_OP_ONE_WAY, EC_LDAP_OP_TWO_WAY, EC_LDAP_OP_UNAVAIL, EC_LINK_USER_TO_IBMID, EC_LOCAL_HOST, EC_LOGIN_DEFAULT_TIMEOUT_VALUE, EC_LOGIN_RETURN_URL, EC_LOGIN_TIMEOUT, EC_LOGIN_TIMEOUT_BUFFER, EC_LOGIN_TIMEOUT_ERROR_MSGCODE, EC_LOGIN_TIMEOUT_ERROR_VIEW, EC_LOGIN_TIMEOUT_VALUE, EC_LOGIN_TIMEOUT_WEB_ADMIN_VALUE, EC_LOGON_FAILED, EC_LOTUS_DOMINO_50, EC_MALLFOOT, EC_MALLHEAD, EC_MBRGRP_CUSTOMER, EC_MBRGRP_CUSTOMER_AGENT, EC_MBRGRP_SITE_ADMIN, EC_MBRGRP_STORE_ADMIN, EC_MBRGRPTYPE_ACCESS_GROUP, EC_MBRGRPTYPE_USER_GROUP, EC_MEMBER_ATTRIBUTES_NODE, EC_MEMBER_AUTHENTICATIONMODE, EC_MEMBER_ID, EC_MERCHANT_KEY, EC_MERCHANT_PRODUCT, EC_MERCHANTFOOT, EC_MERCHANTHEAD, EC_MERCHANTKEY, EC_MISS_SEP_BOUNDARY, EC_MM_CFG_CLASS, EC_MM_CFG_CONFIGURATION, EC_MM_CFG_ID, EC_MM_CFG_NAME, EC_MQWEBCONTROLLER, EC_MULTIPART_FORM, EC_NETSCAPE_DIR_40, EC_NO, EC_NO_LEAD_BOUNDARY, EC_NO_STOREID, EC_NODE_CHILDREN, EC_NODE_NAME, EC_NONENCRYPTED_PARAM_NAME, EC_NONENCRYPTED_PARAMETER, EC_NONENCRYPTED_PARAMETERS, EC_NONHTTPADAPTER, EC_NONHTTPADAPTERS, EC_NOT_ENABLED_VERSION, EC_NULLSTRING, EC_OCTET_STREAM_STR, EC_ORDBLK_X_TENSIBLE_CODE_CHECK, EC_ORDER_RN, EC_ORDER_STATE, EC_ORDERITEM_RN, EC_ORDERLISTSUMMARY, EC_ORDERSUMMARY, EC_ORDERTOTALS, EC_ORDPAYINFO_NAME_SUFFIX, EC_ORGS_ROLES_DEFAULT_ORGENTITY, EC_ORGS_ROLES_DEFAULT_REGISTRATION_TYPE, EC_ORGS_ROLES_NODE, EC_ORGS_ROLES_ORG_NODE, EC_ORGS_ROLES_PARENT_ORGENTITY, EC_ORIGINATING_COMMAND, EC_OUT_IILIST_DESC, EC_OUT_IILIST_ID, EC_OUT_IILIST_ID_NAME, EC_PACKAGE_BEAN, EC_PARENT_DIR, EC_PARORG_ID, EC_PASSWORD, EC_PASSWORD_EXPIRED_FLAG, EC_PASSWORD_PROTECTED_CMD, EC_PASSWORD_PROTECTED_CMDS, EC_PASSWORD_REREQUEST_CHECKRESULT, EC_PASSWORD_REREQUEST_ERRORVIEW, EC_PASSWORD_REREQUEST_FOR_CMD, EC_PASSWORD_REREQUEST_MSGCODE, EC_PASSWORD_REREQUEST_PASSWORD1, EC_PASSWORD_REREQUEST_PASSWORD2, EC_PASSWORD_REREQUEST_URL, EC_PASSWORD_REREQUEST_VIEW, EC_PAYINFO_ORDER_RN, EC_PAYINFO_URL, EC_PAYMTHDID, EC_PRC_CURRENCY, EC_PRC_FIELD1, EC_PRC_FIELD2, EC_PRC_MERCHANT_REF_NUM, EC_PRC_PRECEDENCE, EC_PRC_PRICE, EC_PRC_PRICE_REF_NUM, EC_PRC_PRODUCT_REF_NUM, EC_PRC_SHOPPER_GROUP_REF_NUM, EC_PRC_TIME_BEGIN, EC_PRC_TIME_END, EC_PRODUCT, EC_PRODUCT_BEAN, EC_PRODUCT_ID, EC_PRODUCT_SKU, EC_PRODUCT_XML, EC_PRODUCTID_XPATH, EC_PRODUCTS, EC_PRODUCTXML_AES_DB_XPATH, EC_PRODUCTXML_AES_FILE_XPATH, EC_PROHIB_CHAR_ENCODING_ATT, EC_PROHIB_CHAR_ENCODING_CMD, EC_PROHIB_CHARS_ENCODING, EC_PROHIB_CHARS_ENCODING_ERROR_PAGE, EC_PROHIBITED_ATTR, EC_PROHIBITED_ATTR_ERROR_PAGE, EC_PROHIBITED_ATTRIBUTES, EC_PROHIBITED_CHAR, EC_PROHIBITED_CHAR_ERROR_PAGE, EC_PROHIBITED_CHARS, EC_PROPERTIES, EC_PROPERTIES_DATABASE, EC_PROPERTIES_DB, EC_PROPERTIES_DBACTIVE, EC_PROPERTIES_DBACTIVE_VALUE, EC_PROPERTIES_DBMS_NAME, EC_PROPERTIES_INSTANCE, EC_PROTECTED_MULTIVALUED_PARAM_NAME, EC_PROTECTED_MULTIVALUED_PARAMETER, EC_PROTECTED_MULTIVALUED_PARAMETERS, EC_PROTECTED_PARAM_NAME, EC_PROTECTED_PARAM_VALUE, EC_PROTECTED_PARAMETER, EC_PROTECTED_PARAMETERS, EC_PROTECTED_VIEW, EC_PROTECTED_VIEW_NAME, EC_PROTECTED_VIEWS, EC_PVC_ADDRESS1, EC_PVC_ADDRESS2, EC_PVC_ADDRTYPE1, EC_PVC_ADDRTYPE2, EC_PVC_ALREADY_REGISTERED, EC_PVC_B_ERR, EC_PVC_B_EXEC, EC_PVC_B_NEW, EC_PVC_B_NO, EC_PVC_B_UPDATE, EC_PVC_B_URL, EC_PVC_BROWSER, EC_PVC_BUF_ACTION, EC_PVC_BUF_TIMEOUT, EC_PVC_LOGONSTATUS, EC_PVC_MULTIPLE_DEVICE, EC_PVC_REENTPW, EC_PVC_REENTPW_FORM, EC_PVC_SINGLE_DEVICE, EC_PVC_USER_ALREADY_REGISTERED, EC_PVCADAPTER, EC_PVCADAPTERS, EC_PVCMODE_ACCEPT, EC_PVCMODE_REENTER_PWD, EC_PVCMODE_REJECT, EC_QUANTITY, EC_QUERYSTRING_DELIM, EC_RAWDOCUMENT, EC_REDIRECT_LOGONVIEW, EC_REDIRECTURL, EC_REG_PARENTS_NODE, EC_REGISTRIES, EC_REGISTRY, EC_REGISTRY_CAPACITY, EC_REGISTRY_CLASS, EC_REGISTRY_DEFAULT_SIZE, EC_REGISTRY_ELEMENT_ADD, EC_REGISTRY_ELEMENT_DELETE, EC_REGISTRY_ELEMENT_UPDATE, EC_REGISTRY_LOAD_FACTOR, EC_REGISTRY_MAX_SIZE, EC_REGISTRY_NAME, EC_REQ_DEFAULT_NON_SSL_PORT, EC_REQ_DEFAULT_SSL_PORT, EC_REQ_HTTP, EC_REQ_HTTPS, EC_REQHDR_HOST, EC_REQUEST_ATTR_STATIC_ASSET_CONTEXT_ROOT, EC_REQUEST_ATTR_STATIC_CUSTOM_ASSET_CONTEXT_ROOT, EC_REQUEST_ATTR_STATIC_IBM_ASSET_ALIAS_ROOT, EC_REQUEST_ATTR_STATIC_IBM_ASSET_CONTEXT_ROOT, EC_REQUEST_URI, EC_REQUESTHANDLE, EC_REQUESTPROPERTIES, EC_RETRIABLE_CMD, EC_RF_ACTION, EC_RF_ITEM_KEY, EC_RF_KEY, EC_RF_REGISTRY_NAME, EC_SCHED_APPLICATION_TYPE, EC_SCHED_APPLICATIONNAME, EC_SCHED_APPLICATIONTYPE, EC_SCHED_APPTYPE_BROADCAST, EC_SCHED_APPTYPE_DEFAULT, EC_SCHED_ASYNC_COMMAND, EC_SCHED_ATTEMPTS, EC_SCHED_AUTOCLEAN, EC_SCHED_BROADCAST, EC_SCHED_BROADCASTEXPIRETIME, EC_SCHED_CHKCMD_ID, EC_SCHED_CLONEID, EC_SCHED_COMMAND, EC_SCHED_CYCLETIME, EC_SCHED_DEFAULT_DELAYTIME, EC_SCHED_DELAY, EC_SCHED_DESCRIPTION, EC_SCHED_END_TIME, EC_SCHED_HOST, EC_SCHED_HOSTNAME, EC_SCHED_INTERVAL, EC_SCHED_JOB_ACTIVE, EC_SCHED_JOB_DELETED, EC_SCHED_JOBINSTREFNUM, EC_SCHED_JOBREFNUM, EC_SCHED_MAXNUMOFTHREADS, EC_SCHED_NAME, EC_SCHED_ON, EC_SCHED_PARAMETERS, EC_SCHED_POLICY, EC_SCHED_POLICY_MAINTAIN_SEQUENCE, EC_SCHED_POLICY_NOT_MAINTAIN_SEQUENCE, EC_SCHED_POLICY_RUNMISSEDJOBS, EC_SCHED_POLICY_SKIPMISSEDJOBS, EC_SCHED_PRIORITY, EC_SCHED_RESULT_FAILED, EC_SCHED_RESULT_SUCCESS, EC_SCHED_START_TIME, EC_SCHED_STATE, EC_SCHED_STATE_COMPLETED, EC_SCHED_STATE_COMPLETED_FAILED, EC_SCHED_STATE_IDLE, EC_SCHED_STATE_IDLE_FAILED, EC_SCHED_STATE_RUNNING, EC_SCHED_STATE_RUNNING_FAILED, EC_SCHED_STATE_WAITING, EC_SCS_ENDTIME, EC_SCS_INSTREFNUM, EC_SCS_JOBNBR, EC_SCS_QUEUE, EC_SCS_STATE, EC_SECURITY_XML, EC_SERVER, EC_SERVER_AES_DB_XPATH, EC_SERVER_AES_FILE_XPATH, EC_SERVERPORT, EC_SERVLET_PATH, EC_SESSCONTRACTS_ID, EC_SESSION_ACCEPTVALUE, EC_SESSION_COOKIEACCEPT, EC_SESSION_ID, EC_SESSIONDATA_ID, EC_SHIPINFO_ACCOUNT_NUM, EC_SHIPINFO_CARRACCNTS, EC_SHIPINFO_INSTRUCTS, EC_SHIPMODE_RN, EC_SHOPPINGCART, EC_SITE_DEFAULT_LANGID, EC_SITE_ORGANIZATION, EC_SITE_PROFILE_STOREID, EC_SITE_STORE_GROUP, EC_SITE_SUPPORTED_LANGIDS, EC_SOLR, EC_SOLRSECURITYXML_AES_DB_XPATH, EC_SOLRSECURITYXML_AES_FILE_XPATH, EC_SPI_USER_REFNUM, EC_SQL_CURRENT_TIMESTAMP, EC_SS_STORE_CLOSE, EC_SS_STORE_LOCKED, EC_SS_STORE_OPEN, EC_SS_STORE_PENDING, EC_SSLCHECKCOOKIE_ID, EC_SSO_ACTIVITYTOKEN, EC_START_TIME, EC_START_TIME_NANOS, EC_STATUS, EC_STORE_DIR, EC_STORE_ENTITY_ID, EC_STORE_ID, EC_STOREREL_ACTIVE, EC_STOREREL_INACTIVE, EC_STR_EMPTY, EC_STRELTYP_BLOCKREASONCODE, EC_STRELTYP_BUSINESS_POLICY, EC_STRELTYP_CALCULATION, EC_STRELTYP_CALCULATION_CODE, EC_STRELTYP_CAMPAIGNS, EC_STRELTYP_CATALOG, EC_STRELTYP_CATALOG_FILTER, EC_STRELTYP_CHANNELSTORE, EC_STRELTYP_COMMAND, EC_STRELTYP_CONTENT, EC_STRELTYP_CONTRACT, EC_STRELTYP_CURRENCY_CONVERSION, EC_STRELTYP_CURRENCY_COUNTERVALUE, EC_STRELTYP_CURRENCY_FORMAT, EC_STRELTYP_CURRENCY_SUPPORTED, EC_STRELTYP_EVENT, EC_STRELTYP_HOSTED_STORE, EC_STRELTYP_INVENTORY, EC_STRELTYP_MEASUREMENT_FORMAT, EC_STRELTYP_PRICE, EC_STRELTYP_PROMOTIONS, EC_STRELTYP_REFERRAL, EC_STRELTYP_SEGMENTATION, EC_STRELTYP_SHIPPING_CALCULATION, EC_STRELTYP_SHIPPING_SHIPJURISDICTION, EC_STRELTYP_SHIPPING_SHIPMODE, EC_STRELTYP_STOREITEM, EC_STRELTYP_TAX, EC_STRELTYP_URL, EC_STRELTYP_VIEW, EC_STRING_XML, EC_TECHNOLOGY_JSP, EC_TECHNOLOGY_XML, EC_TERMINATE_REQ_VIEW, EC_TEXTDOC_ENCODING, EC_TEXTDOCUMENT, EC_TIMEDOUT_USER_ID, EC_TIMEDOUT_USER_URL, EC_TIMESTAMP_PATTERN, EC_TOOLKIT, EC_TOPCATEGORIESDISPLAY_COMMAND, EC_TRANSACTION_MODE, EC_TRANSACTION_MODE_DEFAULT, EC_TRANSACTION_MODE_IGNORE_NESTED_ROLLBACK, EC_TRANSACTION_MODE_PERFORM_NESTED_ROLLBACK, EC_TRANSACTION_TIMEOUT, EC_TWENTY_ONE, EC_UID, EC_UNITIALIZED_COMMAND, EC_UNKNOWN_STR, EC_UOM, EC_UPDATEABLE, EC_UPLOADED_FILE, EC_URL, EC_URL_PATH_SEPARATOR, EC_USE_HTTPS, EC_USE_STORE_DIR, EC_USER, EC_USER_ADMINISTRATOR, EC_USER_DIR, EC_USER_ORG_ROLE_CONTEXT_VALUE_EXPLICIT, EC_USER_ORG_ROLE_CONTEXT_VALUE_PARENT, EC_USER_ORG_ROLE_CONTEXT_VALUE_STORE, EC_USER_ORG_ROLES_DN, EC_USER_ORG_ROLES_LDAP_LOGON_QUALIFIER, EC_USER_ORG_ROLES_MEMBER_ANCESTOR, EC_USER_ORG_ROLES_QUALIFIER, EC_USER_ORG_ROLES_ROLE_CONTEXT, EC_USER_ORG_ROLES_ROLE_NAME, EC_USER_ORG_ROLES_ROLE_NODE, EC_USER_ORG_ROLES_SSO_LOGON_QUALIFIER, EC_USER_ORG_ROLES_STORE_ANCESTOR, EC_USER_REGISTERED, EC_USER_ROLES_DEFAULT_REGISTRATION_TYPE, EC_USER_ROLES_NODE, EC_USER_ROLES_USER_NODE, EC_USER_SITE_ADMINISTRATOR, EC_USERNAME, EC_VALID_VRMF_FORMAT, EC_VERSION, EC_VIEWCOMMANDCONTEXT, EC_VIEWNAME, EC_VIEWTASKNAME, EC_WASSESSION_CONTRACTIDS, EC_WASSESSION_CURRENCYID, EC_WASSESSION_EXPIRYTIME, EC_WASSESSION_LANGID, EC_WASSESSION_LOCALE, EC_WASSESSION_LOGONTIME, EC_WASSESSION_STOREID, EC_WASSESSION_USERID, EC_WC, EC_WC_HOME, EC_WCPARAM_MODE, EC_WCPARAM_MODE_DEFAULT, EC_WCPARAM_MODE_EXCLUDE_RESPONSEPROPERTIES, EC_WCPARAM_MODE_INCLUDE_RESPONSEPROPERTIES, EC_WCS_SESSION_EXPIRED, EC_WCS_SESSION_EXPIRY, EC_WCS_SESSION_INFO, EC_WCS_SESSION_LAST_USER, EC_WCS_SESSION_LOGON, EC_WCS_SESSION_RELOGON, EC_WCS_SESSION_RELOGONURL, EC_WCS_SESSION_STATUS, EC_WCSADMIN, EC_WEBAPP_ALWAYSUSESSL, EC_WEBAPP_BUSINESS_CHANNEL_ID, EC_WEBAPP_CONTEXT_SET_NAME, EC_WEBAPP_INIT_PARM_ADAPTERS, EC_WEBAPP_INIT_PARM_DEFAULT_DEVICE_TYPE, EC_WEBAPP_INIT_PARM_DEVICE_SPECIFIC_MODULE, EC_WEBAPP_INIT_PARM_DEVICE_SPECIFIC_VIEW, EC_WEBAPP_INIT_PARM_HANDLE_DOUBLE_CLICK, EC_WEBAPP_INIT_PARM_IN_NON_SSLPORT, EC_WEBAPP_INIT_PARM_IN_SSLPORT, EC_WEBAPP_INIT_PARM_NON_SSLPORT, EC_WEBAPP_INIT_PARM_OUT_NON_SSLPORT, EC_WEBAPP_INIT_PARM_OUT_SSLPORT, EC_WEBAPP_INIT_PARM_SSL_ACCELERATOR, EC_WEBAPP_INIT_PARM_SSLPORT, EC_WEBAPP_RECORDABLE, EC_WEBPATH, EC_WEBSERVER_HOSTNAME, EC_WHITELIST_PARAM, EC_WHITELIST_PROTECTION, EC_WILDCARD_CHAR, EC_WORKSPACE, EC_X_SITE_SCRIPTING, EC_X509_ERROR_VIEW, FTP_XML_FILEPATH, POST_UE, PRE_UE, REPLACE_UE, UPLOAD_NO_CMD_INDEX, WC_CONFIG_FILEPATH| Constructor and Description |
|---|
CommandContextImpl()
This is the default constructor for this class.
|
CommandContextImpl(ActivityToken aToken) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
becomeUser(java.lang.Long userId)
Reserved for IBM internal use.
|
java.lang.String |
buildRedirectUrl(TypedProperty prop)
Deprecated.
No replacement. Use a view for redirection.
|
boolean |
canUserExecuteCommand(AccCommand command)
Deprecated.
This method is replaced by
CommandContextHelper.canUserExecuteCommand(AccCommand) |
void |
changeStore(java.lang.Integer newValue)
This method changes the store and store associated information.
|
void |
changeUser(java.lang.Long newValue)
Deprecated.
This method has no replacement because it should not be called.
|
void |
clearForUser()
This method returns clears the for user details.
|
boolean |
clearStickyUser()
Reserved for IBM internal use.
|
java.lang.Object |
clone()
This method returns a clone of this command context.
|
void |
establishStickyUser(java.lang.Long nUserId)
Reserved for IBM internal use.
|
void |
generateLogId()
Deprecated.
This method is replaced by
AuditContext.getRequestIdentifier() |
java.lang.Long |
getActiveOrganizationId()
Deprecated.
This method is replaced by
EntitlementContext.getActiveOrganizationId() |
long |
getActivityId()
Deprecated.
This method is replaced by
AuditContext.getRequestIdentifier() |
ActivityToken |
getActivityToken()
Returns the activity token associated with this request.
|
boolean |
getAsyncCommand()
Deprecated.
This method has no replacement because it should not be called.
|
boolean |
getCachePage()
Deprecated.
This method has no replacement because it should not be called.
|
java.lang.Long |
getCallerId()
This method gets the original caller ID of this request.
|
boolean |
getClearForUser()
Deprecated.
This method has no replacement because it should not be called.
|
ECCommand |
getCommand()
This method gets the command associated with this command context.
|
java.lang.String |
getCommandName()
This method gets the name of the command.
|
Context |
getContext(java.lang.String strContextName)
This method returns the context of the given name.
|
java.lang.String |
getCountry()
Deprecated.
This method is replaced by
CommandContextHelper.getCountry(CommandContext) |
java.lang.String |
getCurrency()
This method gets the negotiated currency associated with this request.
|
java.lang.String |
getCurrentCommandName()
This method gets the interface name of the current command.
|
java.lang.String |
getCurrentTradingAgreementIdsAsString()
Deprecated.
This method is replaced by
EntitlementContext.getCurrentTradingAgreementIds()
|
TradingAgreementAccessBean[] |
getCurrentTradingAgreements()
Deprecated.
This method is replaced by
ContractCmdUtil.getCurrentTradingAgreements(CommandContext) |
com.ibm.commerce.command.CommandContextImpl.StoreDependantInfo |
getCurStoreInfo()
This method gets the current store information.
|
CommandContextImpl.UserDependantInfo |
getCurUserInfo()
This method gets the current user information.
|
java.lang.Integer |
getDefaultDeviceFormat()
Deprecated.
No replacement.
|
com.ibm.commerce.adapter.DeviceFormatAdapter |
getDeviceFormatAdapter()
Deprecated.
No replacement.
|
java.lang.Integer |
getDeviceFormatId()
Deprecated.
No replacement.
|
java.lang.Integer |
getDeviceFormatTypeId()
Deprecated.
No replacement.
|
java.lang.Integer |
getDeviceType()
Deprecated.
No replacement.
|
java.lang.String |
getDocumentPathName(java.lang.String baseName)
Deprecated.
No replacement.
|
java.lang.String[] |
getEligibleTradingAgreementIds()
Deprecated.
This method is replaced by
ContractCmdUtil.getEligibleTradingAgreementIds(CommandContext) |
java.lang.String |
getEligibleTradingAgreementIdsAsString()
Deprecated.
This method is replaced by
EntitlementContext.getEligibleTradingAgreementIds()
|
java.lang.String |
getEncCurContr()
Deprecated.
This method has no replacement because it should not be called.
|
java.lang.String |
getEncElgContr()
Deprecated.
This method has no replacement because it should not be called.
|
java.lang.String |
getEncoding()
Deprecated.
If the CommandContext is an instance of ViewCommandContext (that is, the request is initiated from the web channel),
cast it to ViewCommandContext and use getEncoding() method.
If it is not, use the default encoding for the languageId associated with the request.
It can be retrieved by calling
LanguageRegistry.getEncoding(Integer) |
java.lang.String |
getEncParOrg()
Deprecated.
This method has no replacement because it should not be called.
|
java.lang.String |
getEncParOrgAndCurContr()
Deprecated.
This method has no replacement because it should not be called.
|
java.lang.String |
getEncSesContr()
Deprecated.
This method has no replacement because it should not be called.
|
java.lang.String |
getErrorViewName()
Reserved for IBM internal use.
|
java.sql.Timestamp |
getExpiryDate()
Deprecated.
No replacement.
|
java.lang.Integer |
getForStoreId()
This method gets the for store ID.
|
java.lang.Long |
getForUserId()
Reserved for IBM internal use.
|
CommandContextImpl.UserDependantInfo |
getForUserInfo()
This method gets the for user information.
|
java.lang.Integer |
getInitialPreferredLanguage()
Deprecated.
This method is replaced by
GlobalizationContext.getPreferredLanguageId() |
java.lang.Integer |
getInvokerStoreId()
Deprecated.
This method has no replacement as it should not be called.
|
java.lang.String |
getLanguage()
This method gets the 2 character language code associated with this command.
|
java.lang.Integer |
getLanguageId()
This method gets the negotiated language id associated with this request.
|
java.util.Locale |
getLocale()
This method returns the locale associated with this request.
|
java.util.Locale |
getLocale(java.lang.Integer languageId)
Deprecated.
This method is replaced by
CommandContextHelper.getLocale(Integer) |
java.lang.String |
getLocaleVariant()
This method gets the locale variant associated with this request.
|
long |
getLogId()
Deprecated.
This method is replaced by
AuditContext.getRequestIdentifier() |
java.util.ArrayList |
getNewStores()
This method gets the new stores.
|
StoreAccessBean |
getNonNullStore()
Returns a non null store access bean object.
|
java.lang.Long |
getOrginalUserId()
Deprecated.
This method is replaced by
CommandContext.getOriginalUserId() |
CommandContextImpl.UserDependantInfo |
getOrgUserInfo()
This method gets the organization user information.
|
java.lang.Long |
getOriginalUserId()
Reserved for IBM internal use.
|
java.lang.String |
getParentOrg()
Deprecated.
This method is replaced by
CommandContextHelper.getParentOrg(CommandContext) |
java.util.ArrayList |
getParentStores()
This method gets the parent stores.
|
java.lang.String |
getPreferredCurrency()
This method gets the preferred currency associated with this request.
|
java.lang.Integer |
getPreferredLanguage()
This method gets the preferred language id for this request.
|
java.lang.String |
getRedirectionURL()
Deprecated.
No replacement.
|
java.lang.String |
getRemoteAddr()
Deprecated.
Retrieve the TransportData object from the AuditContext of the request.
Then get the remote address by calling
TransportData.getRemoteAddress() |
java.lang.String |
getRemoteHost()
Deprecated.
Retrieve the TransportData object from the AuditContext of the request.
Then get the remote host by calling
TransportData.getRemoteHost() |
java.lang.Object |
getRequest()
Deprecated.
If the
CommandContext object is an instance of ViewCommandContext (that is, the request is initiated from the web channel),
it should be cast to ViewCommandContext and the getRequest() method should be used. |
TypedProperty |
getRequestProperties()
This method gets the request properties associated with this request.
|
java.lang.String |
getResolvedQueryString()
Deprecated.
This method is replaced by
CommandContextHelper.getResolvedQueryString(CommandContext) |
java.lang.Object |
getResponse()
Deprecated.
If the
CommandContext object is an instance of ViewCommandContext (that is, the request is initiated from the web channel),
it should be cast to ViewCommandContext and the getResponse() method should be used. |
boolean |
getResult()
Reserved for IBM internal use.
|
com.ibm.commerce.adapter.SessionContext |
getSessionContext()
Deprecated.
No replacement.
|
com.ibm.commerce.adapter.SessionData |
getSessionData()
Deprecated.
No replacement. Instead of retrieving the attributes from the
SessionData object,
should call the equivalent methods from the command context. |
java.lang.String |
getSessionPreferredCurrency()
Deprecated.
This method is replaced by
com.ibm.commerce.context.globalization.GlobalizationContext#getPreferredCurrency(String) |
java.lang.String |
getSessionTradingAgreementIdsAsString()
Deprecated.
This method is replaced by
EntitlementContext.getSessionTradingAgreementIds() |
java.lang.Long |
getStickyActiveOrganizationId()
Reserved for IBM internal use.
|
java.lang.Long |
getStickyUserId()
Reserved for IBM internal use.
|
StoreAccessBean |
getStore()
This method gets the store access bean associated with this request.
|
StoreAccessBean |
getStore(java.lang.Integer aStoreId)
This method gets the store access bean associated with this request.
|
java.lang.Integer |
getStoreId()
This method gets the store ID for this request.
|
java.sql.Timestamp |
getTimestamp()
Reserved for IBM internal use.
|
TradingAgreementAccessBean |
getTradingAgreement(java.lang.Long id)
Deprecated.
This method is replaced by
ContractCmdUtil.getTradingAgreement(Long) |
TradingAgreementAccessBean |
getTradingAgreement(java.lang.String id)
Deprecated.
This method is replaced by
ContractCmdUtil.getTradingAgreement(String) |
com.ibm.commerce.datatype.CustomProperties |
getTransactionCache()
This method gets the cache of custom properties.
|
boolean |
getUncacheable()
Deprecated.
No replacement.
|
java.lang.String |
getUniqueSessionTag()
Deprecated.
This method is replaced by
CommandContextHelper.getUniqueSessionTag(CommandContext) |
UserAccessBean |
getUser()
This method gets the user access bean for the user of this request.
|
java.lang.Long |
getUserId()
This method gets the user id.
|
java.lang.String |
getViewCommand()
Deprecated.
No replacement.
|
java.lang.String |
getWebpath()
Deprecated.
If the CommandContext is an instance of ViewCommandContext (that is, the request is initiated from the web channel),
cast it to ViewCommandContext and use getWebpath() method.
|
void |
initializeStickyUser()
Reserved for IBM internal use.
|
void |
invalidateTradingAgreement(java.lang.Long id)
Deprecated.
This method is replaced by
ContractCmdUtil.invalidateTradingAgreement(String, CommandContext) |
void |
invalidateTradingAgreement(java.lang.String id)
Deprecated.
This method is replaced by
ContractCmdUtil.invalidateTradingAgreement(String, CommandContext) |
boolean |
isCacheTarget()
Deprecated.
No replacement.
|
boolean |
isResponseNecessary()
Reserved for IBM internal use.
|
boolean |
isSecure()
This method returns true if this is an
HTTPS command and false otherwise. |
boolean |
isStoreCommand()
Deprecated.
No replacement.
|
int |
nextSequenceNumber()
Deprecated.
This method is replaced by
AuditContext.getNextRequestSequenceNumber() |
void |
resetStoreRef()
Deprecated.
This method has no replacement because it should not be called.
|
void |
resetTradingAgreementInfo()
Deprecated.
This method is replaced by
EntitlementContext.clearTradingAgreements() |
void |
restoreStore()
This method restores store and store associated information.
|
void |
restoreUser(java.lang.Long uId)
Reserved for IBM internal use.
|
void |
setActiveOrganizationId(java.lang.Long nOrganizationId)
Deprecated.
This method is replaced by
com.ibm.commerce.context.entitlement.EntitlementContext#setActiveOrganizationId() |
void |
setActivityId(long newActivityId)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setActivityToken(ActivityToken token)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setAsyncCommand(boolean newValue)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setCachePage(boolean newValue)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setCacheTarget(boolean newValue)
Deprecated.
No replacement.
|
void |
setCommand(ECCommand aCommand)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setCommandName(java.lang.String value)
Reserved for IBM internal use.
|
void |
setCountry(java.lang.String value)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setCurrency(java.lang.String value)
Deprecated.
This method is replaced by
GlobalizationContext.setCurrency(String) |
void |
setCurrentCommandName(java.lang.String name)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setCurrentTradingAgreementIdsAsString(java.lang.String newValue)
Deprecated.
This method is replaced by
EntitlementContext.setCurrentTradingAgreementIds(String) |
void |
setCurrentTradingAgreements(TradingAgreementAccessBean[] newValue)
Deprecated.
This method is replaced by
ContractCmdUtil.setCurrentTradingAgreements(TradingAgreementAccessBean[], CommandContext) |
void |
setCurStoreInfo(com.ibm.commerce.command.CommandContextImpl.StoreDependantInfo curStoreInfo)
This method sets the current store information.
|
void |
setCurUserInfo(CommandContextImpl.UserDependantInfo curUserInfo)
This method sets the current user information.
|
void |
setDefaultDeviceFormat(java.lang.Integer newValue)
Deprecated.
No replacement.
|
void |
setDeviceFormatAdapter(com.ibm.commerce.adapter.DeviceFormatAdapter newValue)
Deprecated.
No replacement.
|
void |
setDeviceFormatId(java.lang.Integer newValue)
Deprecated.
No replacement.
|
void |
setDeviceFormatTypeId(java.lang.Integer newValue)
Deprecated.
No replacement.
|
void |
setDeviceType(java.lang.Integer newValue)
Deprecated.
No replacement.
|
void |
setEligibleTradingAgreementIdsAsString(java.lang.String newValue)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setEncCurContr(java.lang.String newEncCurContr)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setEncElgContr(java.lang.String newEncElgContr)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setEncoding(java.lang.String encoding)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setEncParOrg(java.lang.String newEncParOrg)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setEncSesContr(java.lang.String newEncSesContr)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setErrorViewName(java.lang.String value)
Deprecated.
Set the error view name in the response properties instead.
|
void |
setExpiryDate(java.sql.Timestamp value)
Deprecated.
No replacement.
|
void |
setForStoreId(java.lang.Integer val)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setForUserId(java.lang.Long userId)
Deprecated.
Set the
forUserId in the request properties instead. |
void |
setForUserInfo(CommandContextImpl.UserDependantInfo forUserInfo)
This method sets the for user information.
|
void |
setLanguage(java.lang.String value)
Reserved for IBM internal use.
|
void |
setLanguageId(java.lang.Integer value)
Reserved for IBM internal use.
|
void |
setLocale(java.util.Locale newValue)
Reserved for IBM internal use.
|
void |
setLocaleVariant(java.lang.String value)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setNewStores(java.util.ArrayList newStores)
This method sets the new stores.
|
void |
setOrgUserInfo(CommandContextImpl.UserDependantInfo orgUserInfo)
This method sets the organization user information.
|
void |
setParentOrg(java.lang.String newParentOrg)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setParentStores(java.util.ArrayList parentStores)
This method sets the parent stores.
|
void |
setPreferredCurrency(java.lang.String value)
Reserved for IBM internal use.
|
void |
setPreferredLanguage(java.lang.Integer value)
Reserved for IBM internal use.
|
void |
setRedirectionURL(java.lang.String url)
Deprecated.
Set the url in the response property instead.
|
void |
setRemoteAddr(java.lang.String newRemoteAddr)
Deprecated.
Retrieve the
TransportData object from the AuditContext of the request.
Then set the remote address by calling com.ibm.commerce.context.audit.TransportData#setRemoteAddress() |
void |
setRemoteHost(java.lang.String newRemoteHost)
Deprecated.
Retrieve the
TransportData object from the AuditContext of the request.
Then set the remote host by calling com.ibm.commerce.context.audit.TransportData#setRemoteHost() |
void |
setRequest(java.lang.Object value)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setRequestProperties(TypedProperty value)
This method sets the request property object associated with this request.
|
void |
setResponse(java.lang.Object value)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setResponseNecessary(boolean newValue)
Reserved for IBM internal use.
|
void |
setResult(boolean newValue)
Reserved for IBM internal use.
|
void |
setSecure(boolean newValue)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setSessionContext(com.ibm.commerce.adapter.SessionContext aSessionContext)
Deprecated.
No replacement.
|
void |
setSessionData(com.ibm.commerce.adapter.SessionData value)
Deprecated.
No replacement. Instead of setting the attributes to the
SessionData object,
should call the equivalent methods from the command context. |
void |
setSessionPreferredCurrency(java.lang.String value)
Deprecated.
This method is replaced by
GlobalizationContext.setPreferredCurrency(String) |
void |
setSessionTradingAgreementIdsAsString(java.lang.String newValue)
Deprecated.
This method is replaced by
com.ibm.commerce.context.entitlement.EntitlementContext#setSessionTradingAgreementIdsAsString(String) |
void |
setStickyActiveOrganizationId(java.lang.Long nActiveOrganizationId)
Reserved for IBM internal use.
|
void |
setStickyUserId(java.lang.Long nUserId)
Reserved for IBM internal use.
|
void |
setStore(StoreAccessBean newValue)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setStoreCommand(boolean value)
Deprecated.
This method has no replacement because it should not be called.
|
void |
setStoreId(java.lang.Integer newValue)
Reserved for IBM internal use.
|
void |
setStoreInfo(com.ibm.commerce.command.CommandContextImpl.InternalStoreInfo storeInfo)
Deprecated.
|
void |
setTimestamp(java.sql.Timestamp value)
Reserved for IBM internal use.
|
com.ibm.commerce.datatype.CustomProperties |
setTransactionCache(com.ibm.commerce.datatype.CustomProperties aCustomProperties)
This method sets the cache of custom properties.
|
void |
setUncacheable(boolean newValue)
Deprecated.
No replacement.
|
void |
setUniqueSessionTag(java.lang.String value)
Deprecated.
No replacement.
|
void |
setUserId(java.lang.Long newUserReferenceNumber)
Reserved for IBM internal use.
|
void |
setViewCommand(java.lang.String view)
Deprecated.
Set the view name in the response properties instead.
|
void |
setWebpath(java.lang.String newValue)
Deprecated.
This method has no replacement because it should not be called.
|
boolean |
userCanExecuteCommand(AccCommand command)
Deprecated.
This method is replaced by
CommandContextHelper.canUserExecuteCommand(AccCommand) |
public static final java.lang.String COPYRIGHT
public java.lang.String preferredCurrency
public java.lang.Integer preferredLanguage
public CommandContextImpl()
public CommandContextImpl(ActivityToken aToken)
public java.lang.Long becomeUser(java.lang.Long userId)
becomeUser in interface CommandContextuserId - The user id.Long representing the original user id.public java.lang.String buildRedirectUrl(TypedProperty prop) throws ECApplicationException
buildRedirectUrl in interface CommandContextprop - TypedProperty - parameters for the redirect urlECApplicationExceptionpublic final boolean canUserExecuteCommand(AccCommand command) throws ECException
CommandContextHelper.canUserExecuteCommand(AccCommand)command - ECException - is thrown if the user can not execute the command.public java.lang.Integer getInvokerStoreId()
public void changeStore(java.lang.Integer newValue)
changeStore in interface CommandContextnewValue - - storeId A java.lang.Integer object.public void restoreStore()
restoreStore in interface CommandContextstoreId - A java.lang.Integer that represents the store id.public java.lang.Object clone()
clone in interface CommandContextclone in class java.lang.ObjectObject that represents this command context.public final void generateLogId()
AuditContext.getRequestIdentifier()generateLogId in interface CommandContextpublic final long getActivityId()
AuditContext.getRequestIdentifier()getActivityId in interface CommandContextpublic boolean getAsyncCommand()
AsyncCommand.getAsyncCommand in interface CommandContextAsyncCommandpublic final boolean getUncacheable()
getUncacheable in interface CommandContextpublic final boolean getClearForUser()
getClearForUser in interface CommandContextpublic final ECCommand getCommand()
getCommand in interface CommandContextECCommand object that represents the command.public final java.lang.String getCommandName()
getCommandName in interface CommandContextjava.lang.String object represents the command name.public final java.lang.String getCountry()
CommandContextHelper.getCountry(CommandContext)getCountry in interface CommandContextpublic final java.lang.String getCurrency()
throws ECSystemException
getCurrency in interface CommandContextECSystemExceptionpublic java.lang.String getCurrentCommandName()
getCurrentCommandName in interface CommandContextString object that represents the current command interface name.public java.lang.String getCurrentTradingAgreementIdsAsString()
EntitlementContext.getCurrentTradingAgreementIds()
getCurrentTradingAgreementIdsAsString in interface CommandContextpublic TradingAgreementAccessBean[] getCurrentTradingAgreements() throws ECException
ContractCmdUtil.getCurrentTradingAgreements(CommandContext)getCurrentTradingAgreements in interface CommandContextTradingAgreementAccessBean objects.ECExceptionpublic java.lang.Integer getDefaultDeviceFormat()
getDefaultDeviceFormat in interface CommandContextpublic com.ibm.commerce.adapter.DeviceFormatAdapter getDeviceFormatAdapter()
getDeviceFormatAdapter in interface CommandContextDeviceFormatAdapter object.public final java.lang.Integer getDeviceFormatId()
getDeviceFormatId in interface CommandContextpublic final java.lang.Integer getDeviceFormatTypeId()
getDeviceFormatTypeId in interface CommandContextpublic final java.lang.Integer getDeviceType()
getDeviceType in interface CommandContextpublic java.lang.String getDocumentPathName(java.lang.String baseName)
getDocumentPathName in interface CommandContextbaseName - String - base name of the documentpublic java.lang.String[] getEligibleTradingAgreementIds()
throws ECException
ContractCmdUtil.getEligibleTradingAgreementIds(CommandContext)getEligibleTradingAgreementIds in interface CommandContextString array of trading agreement ids.ECExceptionpublic java.lang.String getEligibleTradingAgreementIdsAsString()
EntitlementContext.getEligibleTradingAgreementIds()
getEligibleTradingAgreementIdsAsString in interface CommandContextpublic final java.lang.String getEncCurContr()
getEncCurContr in interface CommandContextpublic final java.lang.String getEncElgContr()
getEncElgContr in interface CommandContextpublic final java.lang.String getEncParOrg()
getEncParOrg in interface CommandContextpublic final java.lang.String getEncParOrgAndCurContr()
getEncParOrgAndCurContr in interface CommandContextpublic final java.lang.String getEncSesContr()
getEncSesContr in interface CommandContextpublic java.lang.String getErrorViewName()
getErrorViewName in interface CommandContextpublic final java.sql.Timestamp getExpiryDate()
getExpiryDate in interface CommandContextTimeStamp - the expiry date.public final java.lang.Long getForUserId()
throws ECException
getForUserId in interface CommandContextECExceptionpublic final java.lang.Integer getInitialPreferredLanguage()
throws ECSystemException
GlobalizationContext.getPreferredLanguageId()getInitialPreferredLanguage in interface CommandContextInteger object that represents the language id.ECSystemExceptionpublic final java.lang.String getLanguage()
getLanguage in interface CommandContextjava.lang.String object that represents the language code.public final java.lang.Integer getLanguageId()
getLanguageId in interface CommandContextInteger object.public final java.util.Locale getLocale()
getLocale in interface CommandContextLocale object that represents the locale.public final java.util.Locale getLocale(java.lang.Integer languageId)
CommandContextHelper.getLocale(Integer)getLocale in interface CommandContextlanguageId - An Integer object that represents the language id.public final java.lang.String getLocaleVariant()
getLocaleVariant in interface CommandContextjava.lang.String object that represents the locale variant.public final long getLogId()
AuditContext.getRequestIdentifier()getLogId in interface CommandContextpublic final StoreAccessBean getNonNullStore() throws ECSystemException
getNonNullStore in interface CommandContextECSystemExceptionpublic final java.lang.Long getOriginalUserId()
getOriginalUserId in interface CommandContextpublic final java.lang.String getParentOrg()
CommandContextHelper.getParentOrg(CommandContext)getParentOrg in interface CommandContextpublic final java.lang.Integer getPreferredLanguage()
throws ECSystemException
getPreferredLanguage in interface CommandContextInteger object that represents the preferred language id.ECSystemExceptionpublic final java.lang.String getRedirectionURL()
getRedirectionURL in interface CommandContextpublic final java.lang.String getRemoteAddr()
TransportData.getRemoteAddress()getRemoteAddr in interface CommandContextpublic final java.lang.String getRemoteHost()
TransportData.getRemoteHost()getRemoteHost in interface CommandContextpublic java.lang.Object getRequest()
CommandContext object is an instance of ViewCommandContext (that is, the request is initiated from the web channel),
it should be cast to ViewCommandContext and the getRequest() method should be used.getRequest in interface CommandContextpublic final TypedProperty getRequestProperties()
getRequestProperties in interface CommandContextpublic java.lang.String getResolvedQueryString()
CommandContextHelper.getResolvedQueryString(CommandContext)getResolvedQueryString in interface CommandContextpublic java.lang.Object getResponse()
CommandContext object is an instance of ViewCommandContext (that is, the request is initiated from the web channel),
it should be cast to ViewCommandContext and the getResponse() method should be used.getResponse in interface CommandContextpublic final boolean getResult()
getResult in interface CommandContextpublic com.ibm.commerce.adapter.SessionContext getSessionContext()
throws ECException
getSessionContext in interface CommandContextSessionContextECExceptionpublic final com.ibm.commerce.adapter.SessionData getSessionData()
SessionData object,
should call the equivalent methods from the command context.getSessionData in interface CommandContextSessionData object.public java.lang.String getSessionTradingAgreementIdsAsString()
throws ECException
EntitlementContext.getSessionTradingAgreementIds()getSessionTradingAgreementIdsAsString in interface CommandContextECExceptionpublic final StoreAccessBean getStore() throws ECSystemException
getStore in interface CommandContextStoreAccessBean object.ECSystemExceptionpublic final StoreAccessBean getStore(java.lang.Integer aStoreId) throws ECSystemException
getStore in interface CommandContextaStoreId - StoreAccessBean object.ECSystemExceptionpublic final java.lang.Integer getStoreId()
getStoreId in interface CommandContextInteger object that represents the store id.public final java.sql.Timestamp getTimestamp()
getTimestamp in interface CommandContextTimeStamp.public TradingAgreementAccessBean getTradingAgreement(java.lang.Long id) throws ECException
ContractCmdUtil.getTradingAgreement(Long)getTradingAgreement in interface CommandContextid - A Long object that represents the trading agreement id.TradingAgreementAccessBean object.ECExceptionpublic TradingAgreementAccessBean getTradingAgreement(java.lang.String id) throws ECException
ContractCmdUtil.getTradingAgreement(String)getTradingAgreement in interface CommandContextid - A String object that represents a trading agreement id.TradingAgreementAccessBean object.ECExceptionpublic java.lang.String getUniqueSessionTag()
CommandContextHelper.getUniqueSessionTag(CommandContext)getUniqueSessionTag in interface CommandContextpublic final UserAccessBean getUser() throws ECSystemException
getUser in interface CommandContextid - A String object that represents the trading agreement id.UserAccessBean object.ECSystemExceptionpublic final java.lang.Long getUserId()
getUserId in interface CommandContextLong object that represents the user id.public final java.lang.String getViewCommand()
getViewCommand in interface CommandContextpublic java.lang.String getWebpath()
getWebpath in interface CommandContextpublic void invalidateTradingAgreement(java.lang.Long id)
throws ECException
ContractCmdUtil.invalidateTradingAgreement(String, CommandContext)invalidateTradingAgreement in interface CommandContextid - A Long object that represents a trading agreement id.ECExceptionpublic void invalidateTradingAgreement(java.lang.String id)
throws ECException
ContractCmdUtil.invalidateTradingAgreement(String, CommandContext)invalidateTradingAgreement in interface CommandContextid - A String object that represents a trading agreement id.ECExceptionpublic final boolean isCacheTarget()
isCacheTarget in interface CommandContextcacheTargetpublic boolean isResponseNecessary()
isResponseNecessary in interface CommandContextpublic final boolean isSecure()
HTTPS command and false otherwise.isSecure in interface CommandContextpublic boolean isStoreCommand()
isStoreCommand in interface CommandContextpublic final void resetStoreRef()
resetStoreRef in interface CommandContextpublic void restoreUser(java.lang.Long uId)
restoreUser in interface CommandContextuId - - original user Idpublic void setActivityId(long newActivityId)
setActivityId in interface CommandContextnewActivityId - Long - activity Idpublic void setAsyncCommand(boolean newValue)
AsyncCommand.setAsyncCommand in interface CommandContextnewValue - A boolean value; true for an AsyncCommand.public final void setUncacheable(boolean newValue)
setUncacheable in interface CommandContextnewValue - booleanpublic final void setCacheTarget(boolean newValue)
setCacheTarget in interface CommandContextnewValue - booleanpublic final void setCommand(ECCommand aCommand)
setCommand in interface CommandContextaCommand - ControllerCommandpublic final void setCommandName(java.lang.String value)
setCommandName in interface CommandContextvalue - The name of the command.public final void setCountry(java.lang.String value)
setCountry in interface CommandContextvalue - language java.lang.Stringpublic final void setCurrency(java.lang.String value)
GlobalizationContext.setCurrency(String)setCurrency in interface CommandContextvalue - java.lang.String - a character String that represents the currencypublic void setCurrentCommandName(java.lang.String name)
setCurrentCommandName in interface CommandContextname - command class namepublic void setCurrentTradingAgreementIdsAsString(java.lang.String newValue)
EntitlementContext.setCurrentTradingAgreementIds(String)newValue - String - trading agreement Idspublic void setCurrentTradingAgreements(TradingAgreementAccessBean[] newValue)
ContractCmdUtil.setCurrentTradingAgreements(TradingAgreementAccessBean[], CommandContext)setCurrentTradingAgreements in interface CommandContextnewValue - TradingAgreementAccessBean[] - trading agreementspublic final void setDefaultDeviceFormat(java.lang.Integer newValue)
setDefaultDeviceFormat in interface CommandContextnewValue - Integer - device format typepublic final void setDeviceFormatAdapter(com.ibm.commerce.adapter.DeviceFormatAdapter newValue)
setDeviceFormatAdapter in interface CommandContextnewValue - - DeviceFormatAdapterpublic final void setDeviceFormatId(java.lang.Integer newValue)
setDeviceFormatId in interface CommandContextnewValue - Integer - device format idpublic final void setDeviceFormatTypeId(java.lang.Integer newValue)
setDeviceFormatTypeId in interface CommandContextnewValue - java.lang.Integer - device format type idpublic final void setDeviceType(java.lang.Integer newValue)
setDeviceType in interface CommandContextnewValue - java.lang.Integer - device format type idpublic void setEligibleTradingAgreementIdsAsString(java.lang.String newValue)
setEligibleTradingAgreementIdsAsString in interface CommandContextnewValue - String - eligible trading agreement Ids
public void setEncCurContr(java.lang.String newEncCurContr)
setEncCurContr in interface CommandContextnewEncCurContr - java.lang.Stringpublic void setEncElgContr(java.lang.String newEncElgContr)
setEncElgContr in interface CommandContextnewEncElgContr - java.lang.Stringpublic void setEncParOrg(java.lang.String newEncParOrg)
setEncParOrg in interface CommandContextnewEncParOrg - java.lang.Stringpublic void setEncSesContr(java.lang.String newEncSesContr)
setEncSesContr in interface CommandContextnewEncSesContr - java.lang.Stringpublic final void setErrorViewName(java.lang.String value)
setErrorViewName in interface CommandContextvalue - language java.lang.String - name of error viewpublic final void setExpiryDate(java.sql.Timestamp value)
setExpiryDate in interface CommandContextvalue - TimeStamppublic final void setForUserId(java.lang.Long userId)
forUserId in the request properties instead.setForUserId in interface CommandContextuserId - Long - user Id.public final void setLanguage(java.lang.String value)
setLanguage in interface CommandContextvalue - language java.lang.String - a 2 character String that represents the languagepublic final void setLanguageId(java.lang.Integer value)
setLanguageId in interface CommandContextvalue - Integer - an Id represents the languagepublic final void setLocale(java.util.Locale newValue)
setLocale in interface CommandContextnewValue - Locale - this is the locale / preference locale for the userpublic final void setLocaleVariant(java.lang.String value)
setLocaleVariant in interface CommandContextvalue - language java.lang.Stringpublic final void setParentOrg(java.lang.String newParentOrg)
newParentOrg - java.lang.Stringpublic final java.lang.String getPreferredCurrency()
throws ECSystemException
getPreferredCurrency in interface CommandContextjava.lang.String object that represents the preferred currency.ECSystemExceptionpublic final java.lang.String getSessionPreferredCurrency()
throws ECSystemException
com.ibm.commerce.context.globalization.GlobalizationContext#getPreferredCurrency(String)ECSystemExceptionpublic final void setPreferredCurrency(java.lang.String value)
setPreferredCurrency in interface CommandContextvalue - The currency code.public final void setSessionPreferredCurrency(java.lang.String value)
GlobalizationContext.setPreferredCurrency(String)value - String - the preferred currencypublic final void setPreferredLanguage(java.lang.Integer value)
setPreferredLanguage in interface CommandContextvalue - Integer - a language Idpublic final void setRedirectionURL(java.lang.String url)
setRedirectionURL in interface CommandContexturl - String - redirect URL namepublic final void setRemoteAddr(java.lang.String newRemoteAddr)
TransportData object from the AuditContext of the request.
Then set the remote address by calling com.ibm.commerce.context.audit.TransportData#setRemoteAddress()setRemoteAddr in interface CommandContextnewRemoteAddr - java.lang.Stringpublic final void setRemoteHost(java.lang.String newRemoteHost)
TransportData object from the AuditContext of the request.
Then set the remote host by calling com.ibm.commerce.context.audit.TransportData#setRemoteHost()setRemoteHost in interface CommandContextnewRemoteHost - java.lang.Stringpublic void setRequest(java.lang.Object value)
setRequest in interface CommandContextvalue - Object - the request objectpublic final void setRequestProperties(TypedProperty value)
setRequestProperties in interface CommandContextvalue - A TypedProperty object.public void setResponse(java.lang.Object value)
setResponse in interface CommandContextvalue - Object - response object.public void setResponseNecessary(boolean newValue)
setResponseNecessary in interface CommandContextnewValue - booleanpublic final void setResult(boolean newValue)
setResult in interface CommandContextnewValue - booleanpublic final void setSecure(boolean newValue)
isSecure value for this command.setSecure in interface CommandContextnewValue - booleanpublic final void setSessionContext(com.ibm.commerce.adapter.SessionContext aSessionContext)
setSessionContext in interface CommandContextaSessionContext - SessionContextpublic final void setSessionData(com.ibm.commerce.adapter.SessionData value)
SessionData object,
should call the equivalent methods from the command context.setSessionData in interface CommandContextvalue - SessionDatapublic void setSessionTradingAgreementIdsAsString(java.lang.String newValue)
com.ibm.commerce.context.entitlement.EntitlementContext#setSessionTradingAgreementIdsAsString(String)setSessionTradingAgreementIdsAsString in interface CommandContextnewValue - String - trading agreement Idspublic final void setStore(StoreAccessBean newValue)
setStore in interface CommandContextnewValue - StoreAccessBeanpublic void setStoreCommand(boolean value)
setStoreCommand in interface CommandContextvalue - booleanpublic final void setStoreId(java.lang.Integer newValue)
setStoreId in interface CommandContextnewValue - java.lang.Integer - the store IDpublic void resetTradingAgreementInfo()
EntitlementContext.clearTradingAgreements()resetTradingAgreementInfo in interface CommandContextpublic final void setTimestamp(java.sql.Timestamp value)
setTimestamp in interface CommandContextvalue - TimeStamppublic final void setUniqueSessionTag(java.lang.String value)
throws ECException
setUniqueSessionTag in interface CommandContextvalue - - java.lang.StringECExceptionpublic final void setUserId(java.lang.Long newUserReferenceNumber)
setUserId in interface CommandContextnewUserReferenceNumber - Long - user Id.public final void setViewCommand(java.lang.String view)
setViewCommand in interface CommandContextview - String - view namepublic void setWebpath(java.lang.String newValue)
setWebpath in interface CommandContextnewValue - String - the webpathpublic final boolean userCanExecuteCommand(AccCommand command) throws ECException
CommandContextHelper.canUserExecuteCommand(AccCommand)userCanExecuteCommand in interface CommandContextcommand - ECExceptionpublic void clearForUser()
public java.lang.Integer getForStoreId()
getForStoreId in interface CommandContextforStoreId object.public void setForStoreId(java.lang.Integer val)
setForStoreId in interface CommandContextval - The forStoreIdpublic CommandContextImpl.UserDependantInfo getOrgUserInfo()
UserDependantInfo object.public void setOrgUserInfo(CommandContextImpl.UserDependantInfo orgUserInfo)
orgUserInfo - The orgUserInfo object to set.public CommandContextImpl.UserDependantInfo getCurUserInfo()
UserDependantInfo object.public void setCurUserInfo(CommandContextImpl.UserDependantInfo curUserInfo)
curUserInfo - The curUserInfo object to set.public CommandContextImpl.UserDependantInfo getForUserInfo()
UserDependantInfo object.public void setForUserInfo(CommandContextImpl.UserDependantInfo forUserInfo)
forUserInfo - The forUserInfo object to set.public com.ibm.commerce.command.CommandContextImpl.StoreDependantInfo getCurStoreInfo()
public void setCurStoreInfo(com.ibm.commerce.command.CommandContextImpl.StoreDependantInfo curStoreInfo)
curStoreInfo - The current store information to set.public java.util.ArrayList getNewStores()
ArrayList of new stores.public void setNewStores(java.util.ArrayList newStores)
newStores - The newStores object to set.public java.util.ArrayList getParentStores()
ArrayList of parent stores.public void setParentStores(java.util.ArrayList parentStores)
parentStores - The parentStores to set.public void setStoreInfo(com.ibm.commerce.command.CommandContextImpl.InternalStoreInfo storeInfo)
storeInfo - - the internal store info.public void changeUser(java.lang.Long newValue)
newValue - java.lang.Long - the userIdpublic final boolean getCachePage()
public final void setCachePage(boolean newValue)
newValue - booleanpublic java.lang.String getEncoding()
LanguageRegistry.getEncoding(Integer)getEncoding in interface CommandContextpublic void setEncoding(java.lang.String encoding)
setEncoding in interface CommandContextencoding - The character encoding to setpublic com.ibm.commerce.datatype.CustomProperties getTransactionCache()
aNameSpace - use the fully qualified class name. For example, "com.ibm.commerce.order.commands.OrderDisplayCmdImpl".aName - use a name that is unique within aNameSpace.getTransactionCache in interface CommandContextpublic com.ibm.commerce.datatype.CustomProperties setTransactionCache(com.ibm.commerce.datatype.CustomProperties aCustomProperties)
CommandContext at any time.setTransactionCache in interface CommandContextaCustomProperties - public int nextSequenceNumber()
AuditContext.getNextRequestSequenceNumber()nextSequenceNumber in interface CommandContextpublic ActivityToken getActivityToken()
getActivityToken in interface CommandContextpublic void setActivityToken(ActivityToken token)
setActivityToken in interface CommandContexttoken - public Context getContext(java.lang.String strContextName)
getContext in interface CommandContextstrContextName - The name of the context to retrieve.public java.lang.Long getCallerId()
getCallerId in interface CommandContextpublic java.lang.Long getActiveOrganizationId()
throws ECException
EntitlementContext.getActiveOrganizationId()getActiveOrganizationId in interface CommandContextECExceptionpublic void setActiveOrganizationId(java.lang.Long nOrganizationId)
throws ECException
com.ibm.commerce.context.entitlement.EntitlementContext#setActiveOrganizationId()setActiveOrganizationId in interface CommandContextnOrganizationId - The member ID of the organization.ECExceptionpublic void initializeStickyUser()
throws ECException
initializeStickyUser in interface CommandContextECExceptionpublic void establishStickyUser(java.lang.Long nUserId)
throws ECException
forUserId to be used in for this request and subsequent requests.establishStickyUser in interface CommandContextnUserId - The userId to be sticky.ECExceptionpublic boolean clearStickyUser()
throws ECException
forUserId from the session.clearStickyUser in interface CommandContextstickyUserId to clear.ECExceptionpublic void setStickyUserId(java.lang.Long nUserId)
forUserId.setStickyUserId in interface CommandContextnUserId - public java.lang.Long getStickyUserId()
throws ECException
forUserId.getStickyUserId in interface CommandContextECExceptionpublic java.lang.Long getStickyActiveOrganizationId()
throws ECException
getStickyActiveOrganizationId in interface CommandContextECExceptionpublic void setStickyActiveOrganizationId(java.lang.Long nActiveOrganizationId)
setStickyActiveOrganizationId in interface CommandContextnActiveOrganizationId - The active organization Id.public java.lang.Long getOrginalUserId()
throws ECException
CommandContext.getOriginalUserId()userId.getOrginalUserId in interface CommandContextECException