DirectViewCommand is the interface for defining a direct view command. A direct view command is used to return raw data or text data as a stream.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Method Summary | |
---|---|
int |
getContentLength() Returns the length of the data. |
java.lang.String |
getContentType() Returns the content type. |
java.lang.Object |
getRawDocument() Gets the raw document data. |
java.io.InputStream |
getTextDocument() Gets the text document data as an input stream. |
Methods inherited from interface com.ibm.commerce.command. ViewCommand |
getRequestProperties,
getResponseProperties,
getViewName,
mergeProperties,
setRequestProperties,
setViewName |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
execute,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Method Detail |
---|
public int getContentLength()
public java.lang.String getContentType()
public java.io.InputStream getTextDocument()
public java.lang.Object getRawDocument()