public interface ViewCommandContext extends CommandContext
JSPs
to retrieve context information.
associated with a request.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncoding()
This method gets the character encoding.
|
java.lang.Object |
getRequest()
This method gets the controller request object associated with this request.
|
java.lang.String |
getResolvedEncodedQueryString()
This method gets the resolved request properties as a
queryString . |
java.lang.String |
getResolvedQueryString()
This method gets the resolved request properties as a
queryString . |
java.lang.Object |
getResponse()
This method gets the response object associated with this request.
|
java.lang.String |
getUniqueSessionTag()
This method gets a tag that is unique for the session.
|
java.lang.String |
getWebpath()
This method gets the web path for an
HTTP request. |
boolean |
isStoreCommand()
This method determines whether this is a store command.
|
void |
setEncoding(java.lang.String encoding)
This method sets the character encoding.
|
void |
setRequest(java.lang.Object value)
This method sets the controller request object associated with this command.
|
void |
setResponse(java.lang.Object value)
This method sets the response object associated with this command.
|
void |
setStoreCommand(boolean value)
This method determines whether this is a store level command.
|
void |
setWebpath(java.lang.String webpath)
This method sets the web path associated with this command.
|
becomeUser, buildRedirectUrl, changeStore, clearStickyUser, clone, establishStickyUser, generateLogId, getActiveOrganizationId, getActivityId, getActivityToken, getAsyncCommand, getCallerId, getClearForUser, getCommand, getCommandName, getContext, getCountry, getCurrency, getCurrentCommandName, getCurrentTradingAgreementIdsAsString, getCurrentTradingAgreements, getDefaultDeviceFormat, getDeviceFormatAdapter, getDeviceFormatId, getDeviceFormatTypeId, getDeviceType, getDocumentPathName, getEligibleTradingAgreementIds, getEligibleTradingAgreementIdsAsString, getEncCurContr, getEncElgContr, getEncParOrg, getEncParOrgAndCurContr, getEncSesContr, getErrorViewName, getExpiryDate, getForStoreId, getForUserId, getInitialPreferredLanguage, getLanguage, getLanguageId, getLocale, getLocale, getLocaleVariant, getLogId, getNonNullStore, getOrginalUserId, getOriginalUserId, getParentOrg, getPreferredCurrency, getPreferredLanguage, getRedirectionURL, getRemoteAddr, getRemoteHost, getRequestProperties, getResult, getSessionContext, getSessionData, getSessionTradingAgreementIdsAsString, getStickyActiveOrganizationId, getStickyUserId, getStore, getStore, getStoreId, getTimestamp, getTradingAgreement, getTradingAgreement, getTransactionCache, getUncacheable, getUser, getUserId, getViewCommand, initializeStickyUser, invalidateTradingAgreement, invalidateTradingAgreement, isCacheTarget, isResponseNecessary, isSecure, nextSequenceNumber, resetStoreRef, resetTradingAgreementInfo, restoreStore, restoreUser, setActiveOrganizationId, setActivityId, setActivityToken, setAsyncCommand, setCacheTarget, setCommand, setCommandName, setCountry, setCurrency, setCurrentCommandName, setCurrentTradingAgreements, setDefaultDeviceFormat, setDeviceFormatAdapter, setDeviceFormatId, setDeviceFormatTypeId, setDeviceType, setEligibleTradingAgreementIdsAsString, setEncCurContr, setEncElgContr, setEncParOrg, setEncSesContr, setErrorViewName, setExpiryDate, setForStoreId, setForUserId, setLanguage, setLanguageId, setLocale, setLocaleVariant, setPreferredCurrency, setPreferredLanguage, setRedirectionURL, setRemoteAddr, setRemoteHost, setRequestProperties, setResponseNecessary, setResult, setSecure, setSessionContext, setSessionData, setSessionTradingAgreementIdsAsString, setStickyActiveOrganizationId, setStickyUserId, setStore, setStoreId, setTimestamp, setTransactionCache, setUncacheable, setUniqueSessionTag, setUserId, setViewCommand, userCanExecuteCommand
static final java.lang.String COPYRIGHT
java.lang.String getEncoding()
getEncoding
in interface CommandContext
java.lang.Object getRequest()
getRequest
in interface CommandContext
java.lang.String getResolvedQueryString()
queryString
.getResolvedQueryString
in interface CommandContext
java.lang.String getResolvedEncodedQueryString()
queryString
.java.lang.Object getResponse()
getResponse
in interface CommandContext
java.lang.String getUniqueSessionTag()
getUniqueSessionTag
in interface CommandContext
void setRequest(java.lang.Object value)
setRequest
in interface CommandContext
value
- This is the request object.void setResponse(java.lang.Object value)
setResponse
in interface CommandContext
value
- This is the response object.java.lang.String getWebpath()
HTTP
request.
Reserved for IBM internal use.getWebpath
in interface CommandContext
void setWebpath(java.lang.String webpath)
setWebpath
in interface CommandContext
webpath
- This is the web path.boolean isStoreCommand()
isStoreCommand
in interface CommandContext
true
if this is a store command and false
otherwise.void setEncoding(java.lang.String encoding)
setEncoding
in interface CommandContext
encoding
- This is the character encoding to set.void setStoreCommand(boolean value)
setStoreCommand
in interface CommandContext
value
- This is a boolean
value; true
if this is a store level command
and false
otherwise.