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 |
---|---|
protected long | activityId
the activity ID
|
protected com.ibm.commerce.adapter.DeviceFormatAdapter | adapter
the adapter
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
protected CommandContextImpl.UserDependantInfo | curUserInfo
the current user info
|
java.lang.String | preferredCurrency
the preferred currency from user profile or session
|
java.lang.Integer | preferredLanguage
the preferred language from user
|
protected java.lang.Object | request
the request object
|
protected java.lang.Object | response
the response object
|
protected java.lang.String | webpath
the web path
|
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.
|
protected TradingAgreementAccessBean[] | getValidTradingAgreements(TradingAgreementAccessBean[] inTAs)
This method gets the valid set of trading agreements.
|
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()
|
protected static java.lang.String | removeTradingAgreementFromTradingAgreementIds(java.lang.String taIds, java.lang.String id)
Reserved for IBM internal use.
|
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
protected java.lang.Object request
protected java.lang.Object response
protected long activityId
protected java.lang.String webpath
protected com.ibm.commerce.adapter.DeviceFormatAdapter adapter
protected CommandContextImpl.UserDependantInfo curUserInfo
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)
public java.lang.String buildRedirectUrl(TypedProperty prop) throws ECApplicationException
public final boolean canUserExecuteCommand(AccCommand command) throws ECException
public java.lang.Integer getInvokerStoreId()
public void changeStore(java.lang.Integer newValue)
public void restoreStore()
public java.lang.Object clone()
public final void generateLogId()
public final long getActivityId()
public boolean getAsyncCommand()
public final boolean getUncacheable()
public final boolean getClearForUser()
public final ECCommand getCommand()
public final java.lang.String getCommandName()
public final java.lang.String getCountry()
public final java.lang.String getCurrency() throws ECSystemException
public java.lang.String getCurrentCommandName()
public java.lang.String getCurrentTradingAgreementIdsAsString()
public TradingAgreementAccessBean[] getCurrentTradingAgreements() throws ECException
public java.lang.Integer getDefaultDeviceFormat()
public com.ibm.commerce.adapter.DeviceFormatAdapter getDeviceFormatAdapter()
public final java.lang.Integer getDeviceFormatId()
public final java.lang.Integer getDeviceFormatTypeId()
public final java.lang.Integer getDeviceType()
public java.lang.String getDocumentPathName(java.lang.String baseName)
public java.lang.String[] getEligibleTradingAgreementIds() throws ECException
public java.lang.String getEligibleTradingAgreementIdsAsString()
public final java.lang.String getEncCurContr()
public final java.lang.String getEncElgContr()
public final java.lang.String getEncParOrg()
public final java.lang.String getEncParOrgAndCurContr()
public final java.lang.String getEncSesContr()
public java.lang.String getErrorViewName()
public final java.sql.Timestamp getExpiryDate()
public final java.lang.Long getForUserId() throws ECException
public final java.lang.Integer getInitialPreferredLanguage() throws ECSystemException
public final java.lang.String getLanguage()
public final java.lang.Integer getLanguageId()
public final java.util.Locale getLocale()
public final java.util.Locale getLocale(java.lang.Integer languageId)
public final java.lang.String getLocaleVariant()
public final long getLogId()
public final StoreAccessBean getNonNullStore() throws ECSystemException
public final java.lang.Long getOriginalUserId()
public final java.lang.String getParentOrg()
public final java.lang.Integer getPreferredLanguage() throws ECSystemException
public final java.lang.String getRedirectionURL()
public final java.lang.String getRemoteAddr()
public final java.lang.String getRemoteHost()
public java.lang.Object getRequest()
public final TypedProperty getRequestProperties()
public java.lang.String getResolvedQueryString()
public java.lang.Object getResponse()
public final boolean getResult()
public com.ibm.commerce.adapter.SessionContext getSessionContext() throws ECException
public final com.ibm.commerce.adapter.SessionData getSessionData()
public java.lang.String getSessionTradingAgreementIdsAsString() throws ECException
public final StoreAccessBean getStore() throws ECSystemException
public final StoreAccessBean getStore(java.lang.Integer aStoreId) throws ECSystemException
public final java.lang.Integer getStoreId()
public final java.sql.Timestamp getTimestamp()
public TradingAgreementAccessBean getTradingAgreement(java.lang.Long id) throws ECException
public TradingAgreementAccessBean getTradingAgreement(java.lang.String id) throws ECException
public java.lang.String getUniqueSessionTag()
public final UserAccessBean getUser() throws ECSystemException
public final java.lang.Long getUserId()
protected TradingAgreementAccessBean[] getValidTradingAgreements(TradingAgreementAccessBean[] inTAs) throws java.lang.Exception
public final java.lang.String getViewCommand()
public java.lang.String getWebpath()
public void invalidateTradingAgreement(java.lang.Long id) throws ECException
public void invalidateTradingAgreement(java.lang.String id) throws ECException
public final boolean isCacheTarget()
public boolean isResponseNecessary()
public final boolean isSecure()
public boolean isStoreCommand()
protected static java.lang.String removeTradingAgreementFromTradingAgreementIds(java.lang.String taIds, java.lang.String id)
public final void resetStoreRef()
public void restoreUser(java.lang.Long uId)
public void setActivityId(long newActivityId)
public void setAsyncCommand(boolean newValue)
public final void setUncacheable(boolean newValue)
public final void setCacheTarget(boolean newValue)
public final void setCommand(ECCommand aCommand)
public final void setCommandName(java.lang.String value)
public final void setCountry(java.lang.String value)
public final void setCurrency(java.lang.String value)
public void setCurrentCommandName(java.lang.String name)
public void setCurrentTradingAgreementIdsAsString(java.lang.String newValue)
public void setCurrentTradingAgreements(TradingAgreementAccessBean[] newValue)
public final void setDefaultDeviceFormat(java.lang.Integer newValue)
public final void setDeviceFormatAdapter(com.ibm.commerce.adapter.DeviceFormatAdapter newValue)
public final void setDeviceFormatId(java.lang.Integer newValue)
public final void setDeviceFormatTypeId(java.lang.Integer newValue)
public final void setDeviceType(java.lang.Integer newValue)
public void setEligibleTradingAgreementIdsAsString(java.lang.String newValue)
public void setEncCurContr(java.lang.String newEncCurContr)
public void setEncElgContr(java.lang.String newEncElgContr)
public void setEncParOrg(java.lang.String newEncParOrg)
public void setEncSesContr(java.lang.String newEncSesContr)
public final void setErrorViewName(java.lang.String value)
public final void setExpiryDate(java.sql.Timestamp value)
public final void setForUserId(java.lang.Long userId)
public final void setLanguage(java.lang.String value)
public final void setLanguageId(java.lang.Integer value)
public final void setLocale(java.util.Locale newValue)
public final void setLocaleVariant(java.lang.String value)
public final void setParentOrg(java.lang.String newParentOrg)
public final java.lang.String getPreferredCurrency() throws ECSystemException
public final java.lang.String getSessionPreferredCurrency() throws ECSystemException
public final void setPreferredCurrency(java.lang.String value)
public final void setSessionPreferredCurrency(java.lang.String value)
public final void setPreferredLanguage(java.lang.Integer value)
public final void setRedirectionURL(java.lang.String url)
public final void setRemoteAddr(java.lang.String newRemoteAddr)
public final void setRemoteHost(java.lang.String newRemoteHost)
public void setRequest(java.lang.Object value)
public final void setRequestProperties(TypedProperty value)
public void setResponse(java.lang.Object value)
public void setResponseNecessary(boolean newValue)
public final void setResult(boolean newValue)
public final void setSecure(boolean newValue)
public final void setSessionContext(com.ibm.commerce.adapter.SessionContext aSessionContext)
public final void setSessionData(com.ibm.commerce.adapter.SessionData value)
public void setSessionTradingAgreementIdsAsString(java.lang.String newValue)
public final void setStore(StoreAccessBean newValue)
public void setStoreCommand(boolean value)
public final void setStoreId(java.lang.Integer newValue)
public void resetTradingAgreementInfo()
public final void setTimestamp(java.sql.Timestamp value)
public final void setUniqueSessionTag(java.lang.String value) throws ECException
public final void setUserId(java.lang.Long newUserReferenceNumber)
public final void setViewCommand(java.lang.String view)
public void setWebpath(java.lang.String newValue)
public final boolean userCanExecuteCommand(AccCommand command) throws ECException
public void clearForUser()
public java.lang.Integer getForStoreId()
public void setForStoreId(java.lang.Integer val)
public CommandContextImpl.UserDependantInfo getOrgUserInfo()
public void setOrgUserInfo(CommandContextImpl.UserDependantInfo orgUserInfo)
public CommandContextImpl.UserDependantInfo getCurUserInfo()
public void setCurUserInfo(CommandContextImpl.UserDependantInfo curUserInfo)
public CommandContextImpl.UserDependantInfo getForUserInfo()
public void setForUserInfo(CommandContextImpl.UserDependantInfo forUserInfo)
public com.ibm.commerce.command.CommandContextImpl.StoreDependantInfo getCurStoreInfo()
public void setCurStoreInfo(com.ibm.commerce.command.CommandContextImpl.StoreDependantInfo curStoreInfo)
public java.util.ArrayList getNewStores()
public void setNewStores(java.util.ArrayList newStores)
public java.util.ArrayList getParentStores()
public void setParentStores(java.util.ArrayList parentStores)
public void setStoreInfo(com.ibm.commerce.command.CommandContextImpl.InternalStoreInfo storeInfo)
public void changeUser(java.lang.Long newValue)
public final boolean getCachePage()
public final void setCachePage(boolean newValue)
public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
public com.ibm.commerce.datatype.CustomProperties getTransactionCache()
public com.ibm.commerce.datatype.CustomProperties setTransactionCache(com.ibm.commerce.datatype.CustomProperties aCustomProperties)
public int nextSequenceNumber()
public ActivityToken getActivityToken()
public void setActivityToken(ActivityToken token)
public Context getContext(java.lang.String strContextName)
public java.lang.Long getCallerId()
public java.lang.Long getActiveOrganizationId() throws ECException
public void setActiveOrganizationId(java.lang.Long nOrganizationId) throws ECException
public void initializeStickyUser() throws ECException
public void establishStickyUser(java.lang.Long nUserId) throws ECException
public boolean clearStickyUser() throws ECException
public void setStickyUserId(java.lang.Long nUserId)
public java.lang.Long getStickyUserId() throws ECException
public java.lang.Long getStickyActiveOrganizationId() throws ECException
public void setStickyActiveOrganizationId(java.lang.Long nActiveOrganizationId)
public java.lang.Long getOrginalUserId() throws ECException