com.ibm.commerce.command
Class WebAssetsUploadCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.ControllerCommandImpl
              com.ibm.commerce.command.TempUploadCmdImpl
                  com.ibm.commerce.command.WebAssetsUploadCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, TempUploadCmd, WebAssetsUploadCmd

public class WebAssetsUploadCmdImpl
extends TempUploadCmdImpl
implements WebAssetsUploadCmd

The WebAssetsUploadCmdImpl will upload webassets filesystem. The location will be $wcsstore\storename\filepath\filename $wcsstore is from the instance's configuration file storename is based on the store_id from command context filepath is user specified filename is the file to be uploaded e.g. storelogo.gif and user can specify a rename myicon.gif Note that no unique filename will be generated if the uploaded file already exists, it will be overwritten. Note that this is not registered in URLREG/REGCMD, WebAssetsUploadCmd is not intended to be used directly , it should be extended by other commands

See Also:
Serialized Form

Field Summary
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.command.WebAssetsUploadCmd
defaultCommandClassName
Constructor Summary
WebAssetsUploadCmdImpl()
Method Summary
java.lang.String constructFileString()
gets constructFileString
Methods inherited from class com.ibm.commerce.command.TempUploadCmdImpl
getAttachmentOwner, getAttachmentURL, getContentType, getErrorURL, getFileExtension, getFileName_NoExt, getFileName, getFilePath, getFileSize, getRename, getRootPath, getStoreName, getUrl, performExecute, setErrorURL, setFilePath, setRefCmd, setRename, setRequestProperties, setRootPath, setUrl, validateParameters
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.commerce.command.WebAssetsUploadCmd
getAttachmentURL, getUrl
Methods inherited from interface com.ibm.commerce.command.TempUploadCmd
getAttachmentOwner, getFileName, getFileSize
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
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, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner

Constructor Detail

WebAssetsUploadCmdImpl

public WebAssetsUploadCmdImpl()
Method Detail

constructFileString

public java.lang.String constructFileString()
gets constructFileString
Overrides:
constructFileString in class TempUploadCmdImpl
Returns:
constructed FileString $wcsstore\storename\filepath\filename

Feedback