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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get AD_Process_IDint
Get AD_Table_ID.int
Get C_BPartner_IDint
Get number of copiesGet descriptiongetHelp()
Get help textgetName()
Get nameGet printer nameint
Get Record_IDGet Record_UUboolean
Is this a Documentboolean
Is Document Copyboolean
isReport()
Is this a Reportboolean
Is with print dialogvoid
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) Set printer namevoid
setRecord_ID
(int record_ID) void
setRecord_UU
(String record_UU) void
setWithDialog
(boolean withDialog) Set is with print dialogtoString()
String Representation
-
Field Details
-
m_withDialog
protected boolean m_withDialog
-
-
Constructor Details
-
PrintInfo
- Parameters:
pi
- process info
-
PrintInfo
- Parameters:
Name
- nameAD_Table_ID
- tableRecord_ID
- recordC_BPartner_ID
- bpartner
-
PrintInfo
- Parameters:
Name
- nameAD_Table_ID
- tableRecord_ID
- record IDRecord_UU
- record UUIDC_BPartner_ID
- bpartner
-
PrintInfo
- Parameters:
Name
- nameAD_Table_ID
- tableRecord_ID
- record
-
PrintInfo
- 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()Get number of copies- Returns:
- number of copies.
-
setCopies
public void setCopies(int copies) - Parameters:
copies
- The copies to set.
-
getPrinterName
Get printer name- Returns:
- printerName.
-
setPrinterName
Set printer name- Parameters:
printerName
- The printerName to set.
-
isWithDialog
public boolean isWithDialog()Is with print dialog- Returns:
- true if it is withDialog.
-
setWithDialog
public void setWithDialog(boolean withDialog) Set is with print dialog- Parameters:
withDialog
- The withDialog to set.
-
setDocumentCopy
public void setDocumentCopy(boolean isDocumentCopy) - Parameters:
isDocumentCopy
- The isDocument to set.
-
isDocumentCopy
public boolean isDocumentCopy()Is Document Copy- Returns:
- true if copy
-
getAD_Process_ID
public int getAD_Process_ID()Get AD_Process_ID- Returns:
- 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()Get AD_Table_ID.- Returns:
- 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()Get C_BPartner_ID- Returns:
- C_BPartner_ID.
-
setC_BPartner_ID
public void setC_BPartner_ID(int partner_ID) - Parameters:
partner_ID
- The C_BPartner_ID to set.
-
getDescription
Get description- Returns:
- description.
-
setDescription
- Parameters:
description
- The description to set.
-
getHelp
Get help text- Returns:
- help text.
-
setHelp
- Parameters:
help
- The help to set.
-
getName
Get name- Returns:
- name.
-
setName
- Parameters:
name
- The name to set.
-
getRecord_ID
public int getRecord_ID()Get Record_ID- Returns:
- Record_ID
-
setRecord_ID
public void setRecord_ID(int record_ID) - Parameters:
record_ID
- The Record_ID to set.
-
getRecord_UU
Get Record_UU- Returns:
- Returns the record_UU.
-
setRecord_UU
- Parameters:
record_UU
- The Record_UU to set.
-
toString
String Representation
-