Package org.compiere.model
Class PrintInfo
java.lang.Object
org.compiere.model.PrintInfo
Print Info
- Version:
- $Id: PrintInfo.java,v 1.3 2006/07/30 00:58:37 jjanke Exp $
- Author:
- Jorg Janke
-
Constructor Summary
ConstructorDescriptionReport Archive InfoDocument Archive InfoReport Archive InfoDocument Archive InfoPrintInfo
(ProcessInfo pi) Process Archive Info -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
getHelp()
getName()
int
boolean
Is this a Documentboolean
Document Copyboolean
isReport()
Is this a Reportboolean
void
setAD_Process_ID
(int process_ID) void
setAD_Table_ID
(int table_ID) void
setC_BPartner_ID
(int partner_ID) void
setCopies
(int copies) void
setDescription
(String description) void
setDocumentCopy
(boolean isDocumentCopy) void
void
void
setPrinterName
(String printerName) void
setRecord_ID
(int record_ID) void
setRecord_UU
(String record_UU) void
setWithDialog
(boolean withDialog) toString()
String Representation
-
Constructor Details
-
PrintInfo
Process Archive Info- Parameters:
pi
- process info
-
PrintInfo
Document Archive Info- Parameters:
Name
- nameAD_Table_ID
- tableRecord_ID
- recordC_BPartner_ID
- bpartner
-
PrintInfo
Document Archive Info- Parameters:
Name
- nameAD_Table_ID
- tableRecord_ID
- record IDRecord_UU
- record UUIDC_BPartner_ID
- bpartner
-
PrintInfo
Report Archive Info- Parameters:
Name
- nameAD_Table_ID
- tableRecord_ID
- record
-
PrintInfo
Report Archive Info- Parameters:
Name
- nameAD_Table_ID
- tableRecord_ID
- record IDRecord_UU
- record UUID
-
-
Method Details
-
isReport
public boolean isReport()Is this a Report- Returns:
- true if report
-
isDocument
public boolean isDocument()Is this a Document- Returns:
- true if BPartner defined
-
getCopies
public int getCopies()- Returns:
- Returns the copies.
-
setCopies
public void setCopies(int copies) - Parameters:
copies
- The copies to set.
-
getPrinterName
- Returns:
- Returns the printerName.
-
setPrinterName
- Parameters:
printerName
- The printerName to set.
-
isWithDialog
public boolean isWithDialog()- Returns:
- Returns the withDialog.
-
setWithDialog
public void setWithDialog(boolean withDialog) - Parameters:
withDialog
- The withDialog to set.
-
setDocumentCopy
public void setDocumentCopy(boolean isDocumentCopy) - Parameters:
isDocumentCopy
- The isDocument to set.
-
isDocumentCopy
public boolean isDocumentCopy()Document Copy- Returns:
- true if copy
-
getAD_Process_ID
public int getAD_Process_ID()- Returns:
- Returns the aD_Process_ID.
-
setAD_Process_ID
public void setAD_Process_ID(int process_ID) - Parameters:
process_ID
- The aD_Process_ID to set.
-
getAD_Table_ID
public int getAD_Table_ID()- Returns:
- Returns the aD_Table_ID.
-
setAD_Table_ID
public void setAD_Table_ID(int table_ID) - Parameters:
table_ID
- The aD_Table_ID to set.
-
getC_BPartner_ID
public int getC_BPartner_ID()- Returns:
- Returns the c_BPartner_ID.
-
setC_BPartner_ID
public void setC_BPartner_ID(int partner_ID) - Parameters:
partner_ID
- The c_BPartner_ID to set.
-
getDescription
- Returns:
- Returns the description.
-
setDescription
- Parameters:
description
- The description to set.
-
getHelp
- Returns:
- Returns the help.
-
setHelp
- Parameters:
help
- The help to set.
-
getName
- Returns:
- Returns the name.
-
setName
- Parameters:
name
- The name to set.
-
getRecord_ID
public int getRecord_ID()- Returns:
- Returns the record_ID.
-
setRecord_ID
public void setRecord_ID(int record_ID) - Parameters:
record_ID
- The record_ID to set.
-
getRecord_UU
- Returns:
- Returns the record_UU.
-
setRecord_UU
- Parameters:
record_UU
- The record_UU to set.
-
toString
String Representation
-