Compiere 3.1

org.compiere.print
Class ArchiveEngine

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

public class ArchiveEngine
extends Object

Archive Engine. Based on Settings on Client Level Keys set for - Menu Reports - AD_Report_ID - Win Report - AD_Table_ID - Documents - AD_Table_ID & Record_ID & C_Customer_ID

Version:
$Id: ArchiveEngine.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
Author:
Jorg Janke

Method Summary
 com.qoppa.pdfProcess.PDFDocument archive(LayoutEngine layout, PrintInfo info)
          Get/Create Archive.
static ArchiveEngine get()
          Get Archive Engine
static boolean isValid(LayoutEngine layout)
          Can we archive the document?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

archive

public com.qoppa.pdfProcess.PDFDocument archive(LayoutEngine layout,
                                                PrintInfo info)
Get/Create Archive.

Parameters:
layout - layout
info - print info
Returns:
existing document or newly created if Client enabled archiving. Will return NULL if archiving not enabled

isValid

public static boolean isValid(LayoutEngine layout)
Can we archive the document?

Parameters:
layout - layout
Returns:
true if can be archived

get

public static ArchiveEngine get()
Get Archive Engine

Returns:
engine

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.