|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.CommandContextImpl
The command context contains session and user information. It is set in the controller command before the execute method is called
Field Summary | |
protected long |
activityId
|
protected DeviceFormatAdapter |
adapter
|
protected UserDependantInfo |
curUserInfo
|
java.lang.String |
preferredCurrency
|
java.lang.Integer |
preferredLanguage
|
protected java.lang.Object |
request
|
protected java.lang.Object |
response
|
protected java.lang.String |
webpath
|
Fields inherited from interface com.ibm.commerce.command.CommandContext |
COPYRIGHT |
Constructor Summary | |
CommandContextImpl()
Default CommandContextImpl Constructor. |
Method Summary | |
java.lang.Long |
becomeUser(java.lang.Long userId)
Become another user. |
java.lang.String |
buildRedirectUrl(TypedProperty prop)
Returns a redirect url with the properties are part of parameters for the url. |
boolean |
canUserExecuteCommand(AccCommand command)
This methods checks whether the user can execute a command. |
void |
changeStore(java.lang.Integer newValue)
Changes the store and store associated information |
void |
changeUser(java.lang.Long newValue)
Changes the user and information associated with user |
java.lang.Object |
clone()
This method returns a clone of this command context. |
void |
generateLogId()
Generate a Log Id. |
long |
getActivityId()
Gets the activity ID associated with this command. |
boolean |
getAsyncCommand()
Returns true if this command is an asynchronize command. |
boolean |
getCachePage()
Gets the cache page value. |
boolean |
getClearForUser()
Returns true if the parameter for clearing the for User Id is set. |
ECCommand |
getCommand()
Gets the command. |
java.lang.String |
getCommandName()
Gets the name of the command. |
java.lang.String |
getCountry()
Gets the 2 character country code associated with this command. |
java.lang.String |
getCurrency()
Gets the negotiated currency code associated with this request. |
java.lang.String |
getCurrentCommandName()
Gets the class name of the current command. |
java.lang.String |
getCurrentTradingAgreementIdsAsString()
Gets the eligible trading agreement ids as a string seperated by ";" For Internal use only. |
TradingAgreementAccessBean[] |
getCurrentTradingAgreements()
Gets the current set of trading agreements. |
java.lang.Integer |
getDefaultDeviceFormat()
Gets the default device type to be used for this request. |
DeviceFormatAdapter |
getDeviceFormatAdapter()
Gets the device format adapter associated with this request. |
java.lang.Integer |
getDeviceFormatId()
Gets the device format Id associated with this request. |
java.lang.Integer |
getDeviceFormatTypeId()
Gets the device format type associated with this request. |
java.lang.Integer |
getDeviceType()
Gets the device format type associated with this request. |
java.lang.String |
getDocumentPathName(java.lang.String baseName)
Return the output document path name based on a base name. |
java.lang.String[] |
getEligibleTradingAgreementIds()
Gets the eligible trading agreemnt ids as an array for type contract only. |
java.lang.String |
getEligibleTradingAgreementIdsAsString()
Gets the eligible trading agreement ids as a string seperated by ";" For Internal use only. |
java.lang.String |
getEncCurContr()
Insert the method's description here. |
java.lang.String |
getEncElgContr()
Insert the method's description here. |
java.lang.String |
getEncParOrg()
Insert the method's description here. |
java.lang.String |
getEncParOrgAndCurContr()
Insert the method's description here. |
java.lang.String |
getEncSesContr()
Insert the method's description here. |
java.lang.String |
getErrorViewName()
Gets the error view name. |
java.sql.Timestamp |
getExpiryDate()
Gets the expiry date for a cached page. |
java.lang.Long |
getForUserId()
Gets the for user ID for this command. |
java.lang.Integer |
getInitialPreferredLanguage()
Gets the preferred language Id for this request. |
java.lang.String |
getLanguage()
Gets the language associated with this request. |
java.lang.Integer |
getLanguageId()
Gets the negotiated language Id for this request. |
java.util.Locale |
getLocale()
Returns the locale for this command. |
java.util.Locale |
getLocale(java.lang.Integer languageId)
Returns the locale associated with a given language. |
java.lang.String |
getLocaleVariant()
Gets the locale variant associated with this request. |
long |
getLogId()
Gets the Log id. |
StoreAccessBean |
getNonNullStore()
Returns a non null store access bean object. |
java.lang.Long |
getOriginalUserId()
Gets the user ID for the caller of this request. |
java.lang.String |
getParentOrg()
Insert the method's description here. |
java.lang.String |
getPreferredCurrency()
Gets the preferred currency code associated with this request. |
java.lang.Integer |
getPreferredLanguage()
Gets the preferred language Id for this request. |
java.lang.String |
getRedirectionURL()
Gets the redirect URL for this request. |
java.lang.String |
getRemoteAddr()
Gets the address of the remote host. |
java.lang.String |
getRemoteHost()
Gets the name of the remote host. |
java.lang.Object |
getRequest()
Gets the request object associated with this request. |
TypedProperty |
getRequestProperties()
Gets the request properties associated with this request. |
java.lang.String |
getResolvedQueryString()
Gets the interpreted request properties as a queryString. |
java.lang.Object |
getResponse()
Gets the response object associated with this request. |
boolean |
getResult()
Gets the result of this request. |
SessionContext |
getSessionContext()
Gets the SessionContext associated with this request. |
SessionData |
getSessionData()
Gets the session data associated with this request. |
java.lang.String |
getSessionTradingAgreementIdsAsString()
Gets the session trading agreement ids as a string seperated by ";" This method is for internal use only. |
StoreAccessBean |
getStore()
Gets the store access bean for this request. |
StoreAccessBean |
getStore(java.lang.Integer aStoreId)
Gets the store access bean based on a store Id. |
java.lang.Integer |
getStoreId()
Gets the store Id for this request. |
java.sql.Timestamp |
getTimestamp()
Gets the current timestamp. |
TradingAgreementAccessBean |
getTradingAgreement(java.lang.Long id)
Gets the trading agreement given an id. |
TradingAgreementAccessBean |
getTradingAgreement(java.lang.String id)
Gets the trading agreement given an id. |
java.lang.String |
getUniqueSessionTag()
Return a tag that is unique for the session. |
UserAccessBean |
getUser()
Gets the user access bean for the user of this request. |
java.lang.Long |
getUserId()
Gets the user ID for the caller of this request. |
protected TradingAgreementAccessBean[] |
getValidTradingAgreements(TradingAgreementAccessBean[] inTAs)
Gets the valid set of trading agreements. |
java.lang.String |
getViewCommand()
Gets the view name with this request. |
java.lang.String |
getWebpath()
Gets the web path associated with this request. |
void |
invalidateTradingAgreement(java.lang.Long id)
Remove a trading agreement from cache. |
void |
invalidateTradingAgreement(java.lang.String id)
Remove a trading agreement from cache. |
boolean |
isCacheTarget()
Returns true if this command is a cache target. |
boolean |
isResponseNecessary()
Returns true if this is an https commands and returns false otherwise. |
boolean |
isSecure()
Returns true if this is a https command, returns false otherwise. |
boolean |
isStoreCommand()
Returns true if this is a store command. |
protected static java.lang.String |
removeTradingAgreementFromTradingAgreementIds(java.lang.String taIds,
java.lang.String id)
Remove a trading agreement Id from the input trading agremment id string. |
void |
resetStoreRef()
Resets the EJB reference for the the store associated with this command. |
void |
restoreUser(java.lang.Long uId)
Restore to original user. |
void |
setActivityId(long newActivityId)
Sets the activity ID associated with this command. |
void |
setAsyncCommand(boolean newValue)
Sets the value to indicate whether this is an asynchronize command. |
void |
setCachePage(boolean newValue)
Sets the value to indicate whether a page should be cached or not. |
void |
setCacheTarget(boolean newValue)
Sets the isCacheTarget value for this command. |
void |
setCommand(ECCommand aCommand)
Sets the command associated with this command context. |
void |
setCommandName(java.lang.String value)
Sets the command name. |
void |
setCountry(java.lang.String value)
Sets the 2 character country code associated with this command. |
void |
setCurrency(java.lang.String value)
Sets the negotiated currency to be used for this request. |
void |
setCurrentCommandName(java.lang.String name)
Sets the class name of the current command to be executed. |
void |
setCurrentTradingAgreementIdsAsString(java.lang.String newValue)
Sets the session trading agreemnt ids as a string. |
void |
setCurrentTradingAgreements(TradingAgreementAccessBean[] newValue)
Sets the current trading agreements. |
void |
setDefaultDeviceFormat(java.lang.Integer newValue)
Sets the default device format type for this request. |
void |
setDeviceFormatAdapter(DeviceFormatAdapter newValue)
Sets the device format adapter used for this request. |
void |
setDeviceFormatId(java.lang.Integer newValue)
Sets the device format Id for this request. |
void |
setDeviceFormatTypeId(java.lang.Integer newValue)
Sets the device format type id for this request. |
void |
setDeviceType(java.lang.Integer newValue)
Sets the device format type id for this request. |
void |
setEligibleTradingAgreementIdsAsString(java.lang.String newValue)
Sets the eligible trading agreemnt ids as a string. |
void |
setEncCurContr(java.lang.String newEncCurContr)
Insert the method's description here. |
void |
setEncElgContr(java.lang.String newEncElgContr)
Insert the method's description here. |
void |
setEncParOrg(java.lang.String newEncParOrg)
Insert the method's description here. |
void |
setEncSesContr(java.lang.String newEncSesContr)
Insert the method's description here. |
void |
setErrorViewName(java.lang.String value)
Sets the error view name. |
void |
setExpiryDate(java.sql.Timestamp value)
Sets the expiry date for a cached page. |
void |
setForUserId(java.lang.Long userId)
Sets the user Id for this request. |
void |
setLanguage(java.lang.String value)
Sets the negotiated language for this command. |
void |
setLanguageId(java.lang.Integer value)
Sets the negotiated language Id for this command. |
void |
setLocale(java.util.Locale newValue)
Sets the locale for the command. |
void |
setLocaleVariant(java.lang.String value)
Sets the locale variant to be used for this request. |
void |
setParentOrg(java.lang.String newParentOrg)
Insert the method's description here. |
void |
setPreferredCurrency(java.lang.String value)
Sets the preferred currency to use for this request. |
void |
setPreferredLanguage(java.lang.Integer value)
Sets the preferred language for this request. |
void |
setRedirectionURL(java.lang.String url)
Sets the redirect URL name . |
void |
setRemoteAddr(java.lang.String newRemoteAddr)
Sets the remote host address. |
void |
setRemoteHost(java.lang.String newRemoteHost)
Sets the remote host name. |
void |
setRequest(java.lang.Object value)
Sets the controller request object associated with this command. |
void |
setRequestProperties(TypedProperty value)
Sets the request property object associated with this request. |
void |
setResponse(java.lang.Object value)
Sets the response object associated with this command. |
void |
setResponseNecessary(boolean newValue)
Sets the isSecure value for this command. |
void |
setResult(boolean newValue)
Sets the result for this command. |
void |
setSecure(boolean newValue)
Sets the isSecure value for this command. |
void |
setSessionContext(SessionContext aSessionContext)
Sets the SessionContext object associated with this request. |
void |
setSessionData(SessionData value)
Sets the SessionData object associated with this request. |
void |
setSessionTradingAgreementIdsAsString(java.lang.String newValue)
Sets the session trading agreemnt ids as a string. |
void |
setStore(StoreAccessBean newValue)
Sets the store associated with this command. |
void |
setStoreCommand(boolean value)
Returns true if this is a store level command. |
void |
setStoreId(java.lang.Integer newValue)
Sets the store Id associated with this command. |
void |
setTimestamp(java.sql.Timestamp value)
Sets the timestamp for the comamnd. |
void |
setUniqueSessionTag(java.lang.String value)
Sets a tag that is unique for the session. |
void |
setUserId(java.lang.Long newUserReferenceNumber)
Sets the user Id for this request. |
void |
setViewCommand(java.lang.String view)
Sets the view name for this command. |
void |
setWebpath(java.lang.String newValue)
Sets the webpath associated with this command. |
boolean |
userCanExecuteCommand(AccCommand command)
This methods checks whether the user can execute a command. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long activityId
protected DeviceFormatAdapter adapter
protected UserDependantInfo curUserInfo
public java.lang.String preferredCurrency
public java.lang.Integer preferredLanguage
protected java.lang.Object request
protected java.lang.Object response
protected java.lang.String webpath
Constructor Detail |
public CommandContextImpl()
Method Detail |
public java.lang.Long becomeUser(java.lang.Long userId)
becomeUser
in interface CommandContext
userId
- Longpublic java.lang.String buildRedirectUrl(TypedProperty prop) throws ECApplicationException
buildRedirectUrl
in interface CommandContext
prop
- TypedProperty - parameters for the redirect urlpublic final boolean canUserExecuteCommand(AccCommand command) throws ECException
-
- ECExceptionpublic void changeStore(java.lang.Integer newValue)
changeStore
in interface CommandContext
storeId
- java.lang.Integerpublic void changeUser(java.lang.Long newValue)
changeUser
in interface CommandContext
userId
- java.lang.Longpublic java.lang.Object clone()
clone
in interface CommandContext
clone
in class java.lang.Object
public final void generateLogId()
generateLogId
in interface CommandContext
public final long getActivityId()
getActivityId
in interface CommandContext
public boolean getAsyncCommand()
getAsyncCommand
in interface CommandContext
public final boolean getCachePage()
getCachePage
in interface CommandContext
public final boolean getClearForUser()
getClearForUser
in interface CommandContext
public final ECCommand getCommand()
getCommand
in interface CommandContext
public final java.lang.String getCommandName()
getCommandName
in interface CommandContext
public final java.lang.String getCountry()
getCountry
in interface CommandContext
public final java.lang.String getCurrency() throws ECSystemException
getCurrency
in interface CommandContext
public java.lang.String getCurrentCommandName()
getCurrentCommandName
in interface CommandContext
public java.lang.String getCurrentTradingAgreementIdsAsString()
getCurrentTradingAgreementIdsAsString
in interface CommandContext
public TradingAgreementAccessBean[] getCurrentTradingAgreements() throws ECException
getCurrentTradingAgreements
in interface CommandContext
public java.lang.Integer getDefaultDeviceFormat()
getDefaultDeviceFormat
in interface CommandContext
public DeviceFormatAdapter getDeviceFormatAdapter()
getDeviceFormatAdapter
in interface CommandContext
public final java.lang.Integer getDeviceFormatId()
getDeviceFormatId
in interface CommandContext
public final java.lang.Integer getDeviceFormatTypeId()
getDeviceFormatTypeId
in interface CommandContext
public final java.lang.Integer getDeviceType()
getDeviceType
in interface CommandContext
public java.lang.String getDocumentPathName(java.lang.String baseName)
getDocumentPathName
in interface CommandContext
baseName
- String - base name of the documentpublic java.lang.String[] getEligibleTradingAgreementIds() throws ECException
getEligibleTradingAgreementIds
in interface CommandContext
public java.lang.String getEligibleTradingAgreementIdsAsString()
getEligibleTradingAgreementIdsAsString
in interface CommandContext
public final java.lang.String getEncCurContr()
getEncCurContr
in interface CommandContext
public final java.lang.String getEncElgContr()
getEncElgContr
in interface CommandContext
public final java.lang.String getEncParOrg()
getEncParOrg
in interface CommandContext
public final java.lang.String getEncParOrgAndCurContr()
getEncParOrgAndCurContr
in interface CommandContext
public final java.lang.String getEncSesContr()
getEncSesContr
in interface CommandContext
public java.lang.String getErrorViewName()
getErrorViewName
in interface CommandContext
public final java.sql.Timestamp getExpiryDate()
getExpiryDate
in interface CommandContext
public final java.lang.Long getForUserId() throws ECException
getForUserId
in interface CommandContext
public final java.lang.Integer getInitialPreferredLanguage()
getInitialPreferredLanguage
in interface CommandContext
ECSystemException
- public final java.lang.String getLanguage()
getLanguage
in interface CommandContext
public final java.lang.Integer getLanguageId()
getLanguageId
in interface CommandContext
public final java.util.Locale getLocale()
getLocale
in interface CommandContext
public final java.util.Locale getLocale(java.lang.Integer languageId)
getLocale
in interface CommandContext
public final java.lang.String getLocaleVariant()
getLocaleVariant
in interface CommandContext
public final long getLogId()
getLogId
in interface CommandContext
public final StoreAccessBean getNonNullStore() throws ECSystemException
getNonNullStore
in interface CommandContext
ECSystemException
- public final java.lang.Long getOriginalUserId()
getOriginalUserId
in interface CommandContext
public final java.lang.String getParentOrg()
getParentOrg
in interface CommandContext
public final java.lang.String getPreferredCurrency() throws ECSystemException
getPreferredCurrency
in interface CommandContext
public final java.lang.Integer getPreferredLanguage() throws ECSystemException
getPreferredLanguage
in interface CommandContext
ECSystemException
- public final java.lang.String getRedirectionURL()
getRedirectionURL
in interface CommandContext
public final java.lang.String getRemoteAddr()
getRemoteAddr
in interface CommandContext
public final java.lang.String getRemoteHost()
getRemoteHost
in interface CommandContext
public final java.lang.Object getRequest()
getRequest
in interface CommandContext
public final TypedProperty getRequestProperties()
getRequestProperties
in interface CommandContext
public java.lang.String getResolvedQueryString()
getResolvedQueryString
in interface CommandContext
public final java.lang.Object getResponse()
getResponse
in interface CommandContext
public final boolean getResult()
getResult
in interface CommandContext
public SessionContext getSessionContext() throws ECException
getSessionContext
in interface CommandContext
public final SessionData getSessionData()
getSessionData
in interface CommandContext
public java.lang.String getSessionTradingAgreementIdsAsString() throws ECException
getSessionTradingAgreementIdsAsString
in interface CommandContext
public final StoreAccessBean getStore() throws ECSystemException
getStore
in interface CommandContext
public final StoreAccessBean getStore(java.lang.Integer aStoreId) throws ECSystemException
getStore
in interface CommandContext
public final java.lang.Integer getStoreId()
getStoreId
in interface CommandContext
public final java.sql.Timestamp getTimestamp()
getTimestamp
in interface CommandContext
public TradingAgreementAccessBean getTradingAgreement(java.lang.Long id) throws ECException
getTradingAgreement
in interface CommandContext
Long
- id - trading agreement idpublic TradingAgreementAccessBean getTradingAgreement(java.lang.String id) throws ECException
getTradingAgreement
in interface CommandContext
String
- id - trading agreement idpublic final java.lang.String getUniqueSessionTag()
getUniqueSessionTag
in interface CommandContext
public final UserAccessBean getUser() throws ECSystemException
getUser
in interface CommandContext
public final java.lang.Long getUserId()
getUserId
in interface CommandContext
protected TradingAgreementAccessBean[] getValidTradingAgreements(TradingAgreementAccessBean[] inTAs) throws java.lang.Exception
public final java.lang.String getViewCommand()
getViewCommand
in interface CommandContext
public java.lang.String getWebpath()
getWebpath
in interface CommandContext
public void invalidateTradingAgreement(java.lang.Long id) throws ECException
invalidateTradingAgreement
in interface CommandContext
id
- Long - trading agreement id.public void invalidateTradingAgreement(java.lang.String id) throws ECException
invalidateTradingAgreement
in interface CommandContext
id
- String - trading agreement id.public final boolean isCacheTarget()
isCacheTarget
in interface CommandContext
public boolean isResponseNecessary()
isResponseNecessary
in interface CommandContext
public final boolean isSecure()
isSecure
in interface CommandContext
public boolean isStoreCommand()
isStoreCommand
in interface CommandContext
protected static java.lang.String removeTradingAgreementFromTradingAgreementIds(java.lang.String taIds, java.lang.String id)
tradingAgreementIds
- StringtradingAgreementId
- Stringpublic final void resetStoreRef()
resetStoreRef
in interface CommandContext
public void restoreUser(java.lang.Long uId)
restoreUser
in interface CommandContext
com.ibm.commerce.command.CommandContext
user
- Long - original user Idpublic void setActivityId(long newActivityId)
setActivityId
in interface CommandContext
value
- long - activity Idpublic void setAsyncCommand(boolean newValue)
setAsyncCommand
in interface CommandContext
newValue
- boolean - true for asynchronize commandpublic final void setCachePage(boolean newValue)
setCachePage
in interface CommandContext
newValue
- booleanpublic final void setCacheTarget(boolean newValue)
setCacheTarget
in interface CommandContext
newValue
- booleanpublic final void setCommand(ECCommand aCommand)
setCommand
in interface CommandContext
command
- ControllerCommandpublic final void setCommandName(java.lang.String value)
setCommandName
in interface CommandContext
value
- language java.lang.Stringpublic final void setCountry(java.lang.String value)
setCountry
in interface CommandContext
public final void setCurrency(java.lang.String value)
setCurrency
in interface CommandContext
value
- java.lang.String - a characeter String that represents the currencypublic void setCurrentCommandName(java.lang.String name)
setCurrentCommandName
in interface CommandContext
String
- - command class namepublic void setCurrentTradingAgreementIdsAsString(java.lang.String newValue)
value
- String - trading agreement Idspublic void setCurrentTradingAgreements(TradingAgreementAccessBean[] newValue)
setCurrentTradingAgreements
in interface CommandContext
value
- TradingAgreementAccessBean[] - trading agreementspublic final void setDefaultDeviceFormat(java.lang.Integer newValue)
setDefaultDeviceFormat
in interface CommandContext
value
- Integer - device format typepublic final void setDeviceFormatAdapter(DeviceFormatAdapter newValue)
setDeviceFormatAdapter
in interface CommandContext
value
- - DeviceFormatAdapterpublic final void setDeviceFormatId(java.lang.Integer newValue)
setDeviceFormatId
in interface CommandContext
value
- Integer- device format idpublic final void setDeviceFormatTypeId(java.lang.Integer newValue)
setDeviceFormatTypeId
in interface CommandContext
newValue
- java.lang.Integer - device format type idpublic final void setDeviceType(java.lang.Integer newValue)
setDeviceType
in interface CommandContext
newValue
- java.lang.Integer - device format type idpublic void setEligibleTradingAgreementIdsAsString(java.lang.String newValue)
setEligibleTradingAgreementIdsAsString
in interface CommandContext
value
- String - eligible trading agreement Idspublic void setEncCurContr(java.lang.String newEncCurContr)
setEncCurContr
in interface CommandContext
newIstrEncElgContr
- java.lang.Stringpublic void setEncElgContr(java.lang.String newEncElgContr)
setEncElgContr
in interface CommandContext
newIstrEncElgContr
- java.lang.Stringpublic void setEncParOrg(java.lang.String newEncParOrg)
setEncParOrg
in interface CommandContext
newIstrEncElgContr
- java.lang.Stringpublic void setEncSesContr(java.lang.String newEncSesContr)
setEncSesContr
in interface CommandContext
newIstrEncElgContr
- java.lang.Stringpublic final void setErrorViewName(java.lang.String value)
setErrorViewName
in interface CommandContext
value
- language java.lang.String - name of error viewpublic final void setExpiryDate(java.sql.Timestamp value)
setExpiryDate
in interface CommandContext
newValue
- - TimeStamppublic final void setForUserId(java.lang.Long userId)
setForUserId
in interface CommandContext
public final void setLanguage(java.lang.String value)
setLanguage
in interface CommandContext
value
- language java.lang.String - a 2 characeter String that represents the languagepublic final void setLanguageId(java.lang.Integer value)
setLanguageId
in interface CommandContext
value
- Integer - an Id represents the languagepublic final void setLocale(java.util.Locale newValue)
setLocale
in interface CommandContext
public final void setLocaleVariant(java.lang.String value)
setLocaleVariant
in interface CommandContext
value
- language java.lang.Stringpublic final void setParentOrg(java.lang.String newParentOrg)
newIstrParentOrg
- java.lang.Stringpublic final void setPreferredCurrency(java.lang.String value)
setPreferredCurrency
in interface CommandContext
value
- String - the preferred currencypublic final void setPreferredLanguage(java.lang.Integer value)
setPreferredLanguage
in interface CommandContext
public final void setRedirectionURL(java.lang.String url)
setRedirectionURL
in interface CommandContext
value
- String - redirect URL namepublic final void setRemoteAddr(java.lang.String newRemoteAddr)
setRemoteAddr
in interface CommandContext
newRemoteAddr
- java.lang.Stringpublic final void setRemoteHost(java.lang.String newRemoteHost)
setRemoteHost
in interface CommandContext
newRemoteHost
- java.lang.Stringpublic final void setRequest(java.lang.Object value)
setRequest
in interface CommandContext
public final void setRequestProperties(TypedProperty value)
setRequestProperties
in interface CommandContext
value
- - TypedPropertypublic final void setResponse(java.lang.Object value)
setResponse
in interface CommandContext
value
- Object - response object.public void setResponseNecessary(boolean newValue)
setResponseNecessary
in interface CommandContext
newValue
- booleanpublic final void setResult(boolean newValue)
setResult
in interface CommandContext
newValue
- booleanpublic final void setSecure(boolean newValue)
setSecure
in interface CommandContext
newValue
- booleanpublic final void setSessionContext(SessionContext aSessionContext)
setSessionContext
in interface CommandContext
sessionContext
- SessionContextpublic final void setSessionData(SessionData value)
setSessionData
in interface CommandContext
sessionData
- SessionDatapublic void setSessionTradingAgreementIdsAsString(java.lang.String newValue)
setSessionTradingAgreementIdsAsString
in interface CommandContext
value
- String - trading agreement Idspublic final void setStore(StoreAccessBean newValue)
setStore
in interface CommandContext
store
- StoreAccessBeanpublic void setStoreCommand(boolean value)
setStoreCommand
in interface CommandContext
value
- booleanpublic final void setStoreId(java.lang.Integer newValue)
setStoreId
in interface CommandContext
storeId
- java.lang.Integerpublic final void setTimestamp(java.sql.Timestamp value)
setTimestamp
in interface CommandContext
value
- Timestamppublic final void setUniqueSessionTag(java.lang.String value) throws ECException
setUniqueSessionTag
in interface CommandContext
value
- - java.lang.Stringpublic final void setUserId(java.lang.Long newUserReferenceNumber)
setUserId
in interface CommandContext
public final void setViewCommand(java.lang.String view)
setViewCommand
in interface CommandContext
value
- String - view namepublic final void setWebpath(java.lang.String newValue)
setWebpath
in interface CommandContext
webpath
- Stringpublic final boolean userCanExecuteCommand(AccCommand command) throws ECException
userCanExecuteCommand
in interface CommandContext
ECException
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |