public class AttachmentViewCmdImpl extends ControllerCommandImpl implements AttachmentViewCmd
Constructor and Description |
---|
AttachmentViewCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long | getAttachmentId()
This method gets the attachmentobj_id of the attachment object from the database table.
|
protected byte[] | getBinaryStream()
This method gets the BinaryStream of the attachment object from database table.
|
protected long | getFileSize()
This method gets the file size of the attachment object from database table.
|
protected java.lang.String | getMimeType()
This method gets the content type of the attachment object from database table.
|
boolean | performAccessCheck()
This method implements access control checking.
|
void | performExecute()
This method defines the business logic of this command.
|
void | setAttachmentId(java.lang.String id)
This method sets the attachmentobj_id of the attachment object in database table.
|
void | setRequestProperties(TypedProperty reqParms)
This method sets the request properties.
|
protected java.lang.Long getAttachmentId()
protected java.lang.String getMimeType()
protected long getFileSize()
protected byte[] getBinaryStream()
public void setAttachmentId(java.lang.String id)
public void setRequestProperties(TypedProperty reqParms) throws ECException
public void performExecute() throws ECException
public boolean performAccessCheck()