Adempiere 3.5.2a

org.compiere.www
Class WZoom

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.compiere.www.WZoom
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class WZoom
extends HttpServlet

HTML Zoom Window

Version:
$Id: WZoom.java $
Author:
Rob Klein
See Also:
Serialized Form

Field Summary
static String P_Record_ID
           
static String P_Table_ID
           
 
Constructor Summary
WZoom()
           
 
Method Summary
static WebDoc createPage(Properties ctx, HttpServletRequest request, int AD_Record_ID, int AD_Table_ID)
          Create Attachment Page
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Get request.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Process the HTTP Post request.
 void init(ServletConfig config)
          Initialize global variables
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_Record_ID

public static final String P_Record_ID
See Also:
Constant Field Values

P_Table_ID

public static final String P_Table_ID
See Also:
Constant Field Values
Constructor Detail

WZoom

public WZoom()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Initialize global variables

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Process the HTTP Get request. Initial display and streaming

Overrides:
doGet in class HttpServlet
Parameters:
request - request
response - response
Throws:
ServletException
IOException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Process the HTTP Post request. Update Attachment

Overrides:
doPost in class HttpServlet
Parameters:
request - request
Throws:
ServletException
IOException

createPage

public static WebDoc createPage(Properties ctx,
                                HttpServletRequest request,
                                int AD_Record_ID,
                                int AD_Table_ID)
Create Attachment Page

Parameters:
ctx - context
AD_Attachment_ID - id for existing attachment
AD_Table_ID - table for new attachment
Record_ID - record for new attachment
error - optional error message
Returns:
WebDoc

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.