| com.jcorporate.expresso.services.controller.dbmaint.DynamicCmd com.jcorporate.expresso.services.controller.dbmaint.ViewBlob
ViewBlob | public class ViewBlob extends DynamicCmd (Code) | | This state allows for viewing of BLOB data types. It supports standard
blob types by sending a mime type of application/x-unknown, and is supports
MediaDbObjects be setting MIME type, file name, and size to that of the
file that was originally uploaded to the database table.
author: Michael Rimov version: $Revision: 1.11 $ on $Date: 2004/11/17 20:48:18 $ |
Constructor Summary | |
public | ViewBlob() Constructor that sets the necessary description and key name. |
ViewBlob | public ViewBlob()(Code) | | Constructor that sets the necessary description and key name.
|
sendStream | protected void sendStream(InputStream is, ServletResponse response) throws java.io.IOException(Code) | | Sends the given stream to the client servlet output stream.
Parameters: is - The InputStream to send to the client. Parameters: response - The ServletResponse by which to get the OutputStream. throws: java.io.IOException - upon error getting the OutputStream tothe client. |
Methods inherited from com.jcorporate.expresso.services.controller.dbmaint.DynamicCmd | protected void addParams(Transition t) throws ControllerException(Code)(Java Doc) protected String decode(String orig)(Code)(Java Doc) protected String getControllerName() throws ControllerException(Code)(Java Doc) protected DBObject getCurrentDBObj() throws ControllerException(Code)(Java Doc) protected DataObject getDataObject() throws ControllerException(Code)(Java Doc) protected String getFieldsParam() throws ControllerException(Code)(Java Doc) protected Map getFixedFields() throws ControllerException(Code)(Java Doc) protected String getKeyParameter(DataObject srcDBObj) throws ControllerException(Code)(Java Doc) protected DataObject getMyDataObject()(Code)(Java Doc) public int getPageNumber() throws ControllerException(Code)(Java Doc) protected String getSearchParam() throws ControllerException(Code)(Java Doc) protected void initializeDBObj() throws ControllerException(Code)(Java Doc) protected boolean isKeyField(String fieldName) throws DBException, ControllerException(Code)(Java Doc) protected DataObject retrieveMyDBObject() throws DBException, ControllerException(Code)(Java Doc) public void run(ControllerRequest newParams, ControllerResponse newResponse) throws ControllerException, NonHandleableException(Code)(Java Doc) protected void setFields(DataObject myDBObj, String fieldPairs) throws DBException(Code)(Java Doc) protected void setFieldsParam(String newParam)(Code)(Java Doc) protected void setMyDataObject(DataObject myDBObj)(Code)(Java Doc) protected void setSearchParam(String newParam)(Code)(Java Doc) protected void showBlobViewLink(String fieldName, DataObject dbobj, Input myElement, String controller) throws DBException, ControllerException(Code)(Java Doc) protected synchronized void showEditLink(String fieldName, String oneFieldValue, DataObject currentRecord, Output myElement) throws DBException, ControllerException(Code)(Java Doc) protected synchronized void showEditLink(String fieldName, String oneFieldValue, DataObject currentRecord, Output myElement, String controller) throws DBException, ControllerException(Code)(Java Doc) protected void showOptions() throws DBException, ControllerException(Code)(Java Doc) protected void showUserName(String theDescrip) throws ControllerException(Code)(Java Doc)
|
|
|