Package org.compiere.print
Class ArchiveEngine
java.lang.Object
org.compiere.print.ArchiveEngine
Archive Engine.
Based on Settings on Client Level.
Based on Settings on Client Level.
Keys set for
- Menu Reports - AD_Report_ID
- Win Report - AD_Table_ID
- Documents - AD_Table_ID and Record_ID and C_Customer_ID
- Version:
- $Id: ArchiveEngine.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
- Author:
- Jorg Janke
-
Method Summary
Modifier and TypeMethodDescriptionvoidCreate Archive.byte[]archive(LayoutEngine layout, PrintInfo info) Get/Create Archive.static ArchiveEngineget()Get Archive Enginestatic booleanisValid(LayoutEngine layout) Can we archive the document?
-
Method Details
-
archive
Get/Create Archive.- Parameters:
layout- layoutinfo- print info- Returns:
- existing document or newly created if Client enabled archiving. Will return NULL if archiving not enabled
-
archive
Create Archive.- Parameters:
pdfFile-info- print info
-
isValid
Can we archive the document?- Parameters:
layout- layout- Returns:
- true if can be archived
-
get
Get Archive Engine- Returns:
- engine
-