Adempiere 3.5.2a

org.compiere.print
Class DataEngine

java.lang.Object
  extended by org.compiere.print.DataEngine

public class DataEngine
extends Object

Data Engine. Creates SQL and laods data into PrintData (including totals/etc.)

Version:
$Id: DataEngine.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
Author:
Jorg Janke, Teo Sarca, SC ARHIPAC SERVICE SRL
  • BF [ 1761891 ] Included print format with report view attached issue
  • BF [ 1807368 ] DataEngine does not close DB connection, victor.perez@e-evolution.com
  • FR [ 2011569 ] Implementing new Summary flag in Report View http://sourceforge.net/tracker/index.php?func=detail&aid=2011569&group_id=176962&atid=879335

  • Field Summary
    static String KEY
              Key Indicator in Report
     
    Constructor Summary
    DataEngine(Language language)
              Constructor
    DataEngine(Language language, String trxName)
              Constructor
     
    Method Summary
     PrintData getPrintData(Properties ctx, MPrintFormat format, MQuery query)
              Load Data
    static org.compiere.print.TableReference getTableReference(int AD_Reference_Value_ID)
              Get TableName and ColumnName for Reference Tables.
    static void main(String[] args)
              Test
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    KEY

    public static final String KEY
    Key Indicator in Report

    See Also:
    Constant Field Values
    Constructor Detail

    DataEngine

    public DataEngine(Language language)
    Constructor

    Parameters:
    language - Language of the data (for translation)

    DataEngine

    public DataEngine(Language language,
                      String trxName)
    Constructor

    Parameters:
    language - Language of the data (for translation)
    trxName -
    Method Detail

    getPrintData

    public PrintData getPrintData(Properties ctx,
                                  MPrintFormat format,
                                  MQuery query)
    Load Data

    Parameters:
    format - print format
    query - query
    ctx - context
    Returns:
    PrintData or null

    getTableReference

    public static org.compiere.print.TableReference getTableReference(int AD_Reference_Value_ID)
    Get TableName and ColumnName for Reference Tables.

    Parameters:
    AD_Reference_Value_ID - reference value
    Returns:
    0=TableName, 1=KeyColumn, 2=DisplayColumn

    main

    public static void main(String[] args)
    Test

    Parameters:
    args - args

    Adempiere 3.5.2a

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