com.ibm.commerce.command
Interface AttachmentViewCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Subinterfaces:
- OrderItemAttachmentViewCmd, RFQAttachmentViewCmd
- All Known Implementing Classes:
- AttachmentViewCmdImpl, OrderItemAttachmentViewCmdImpl, RFQAttachmentViewCmdImpl
- public interface AttachmentViewCmd
- extends ControllerCommand
AttachmentViewCmd retrieves the attachment content from database and return the stream as DirectView to browser. AttachmentViewCmdImpl is only intended to be extended and not used directly . The AttachmentViewCmdImpl is not registered in the URLREG or CMDREG
Method Summary |
boolean |
performAccessCheck()
Performs access control check to control who can view the attachment This method should be written by component that has refcmd extending AttachmentView |
void |
setAttachmentId(java.lang.String id)
Sets the attachmentobj_id of the attachment object in database table to be retrieved |
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.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field
- See Also:
- Constant Field Values
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- default class name
- See Also:
- Constant Field Values
setAttachmentId
public void setAttachmentId(java.lang.String id)
- Sets the attachmentobj_id of the attachment object in database table to be retrieved
performAccessCheck
public boolean performAccessCheck()
- Performs access control check to control who can view the attachment This method should be written by component that has refcmd extending AttachmentView
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.