Class PrintInfo

java.lang.Object
org.compiere.model.PrintInfo

public class PrintInfo extends Object
Print Info
Version:
$Id: PrintInfo.java,v 1.3 2006/07/30 00:58:37 jjanke Exp $
Author:
Jorg Janke
  • Field Details

    • m_withDialog

      protected boolean m_withDialog
  • Constructor Details

    • PrintInfo

      public PrintInfo(ProcessInfo pi)
      Parameters:
      pi - process info
    • PrintInfo

      public PrintInfo(String Name, int AD_Table_ID, int Record_ID, int C_BPartner_ID)
      Parameters:
      Name - name
      AD_Table_ID - table
      Record_ID - record
      C_BPartner_ID - bpartner
    • PrintInfo

      public PrintInfo(String Name, int AD_Table_ID, int Record_ID, String Record_UU, int C_BPartner_ID)
      Parameters:
      Name - name
      AD_Table_ID - table
      Record_ID - record ID
      Record_UU - record UUID
      C_BPartner_ID - bpartner
    • PrintInfo

      public PrintInfo(String Name, int AD_Table_ID, int Record_ID)
      Parameters:
      Name - name
      AD_Table_ID - table
      Record_ID - record
    • PrintInfo

      public PrintInfo(String Name, int AD_Table_ID, int Record_ID, String Record_UU)
      Parameters:
      Name - name
      AD_Table_ID - table
      Record_ID - record ID
      Record_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

      public String getPrinterName()
      Get printer name
      Returns:
      printerName.
    • setPrinterName

      public void setPrinterName(String printerName)
      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

      public String getDescription()
      Get description
      Returns:
      description.
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - The description to set.
    • getHelp

      public String getHelp()
      Get help text
      Returns:
      help text.
    • setHelp

      public void setHelp(String help)
      Parameters:
      help - The help to set.
    • getName

      public String getName()
      Get name
      Returns:
      name.
    • setName

      public void setName(String name)
      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

      public String getRecord_UU()
      Get Record_UU
      Returns:
      Returns the record_UU.
    • setRecord_UU

      public void setRecord_UU(String record_UU)
      Parameters:
      record_UU - The Record_UU to set.
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class Object
      Returns:
      info