Package org.compiere.model
Class X_AD_PrintFormat
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_PrintFormat
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_PrintFormat
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPrintFormat
Generated Model for AD_PrintFormat
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_AD_PrintFormat
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintColor_ID, COLUMNNAME_AD_PrintFont_ID, COLUMNNAME_AD_PrintFormat_ID, COLUMNNAME_AD_PrintFormat_UU, COLUMNNAME_AD_PrintHeaderFooter_ID, COLUMNNAME_AD_PrintPaper_ID, COLUMNNAME_AD_PrintTableFormat_ID, COLUMNNAME_AD_ReportView_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_AD_Window_ID, COLUMNNAME_CreateCopy, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_FileNamePattern, COLUMNNAME_FooterMargin, COLUMNNAME_HeaderMargin, COLUMNNAME_IsActive, COLUMNNAME_IsBreakPagePerRecord, COLUMNNAME_IsDefault, COLUMNNAME_IsForm, COLUMNNAME_IsStandardHeaderFooter, COLUMNNAME_IsTableBased, COLUMNNAME_JasperProcess_ID, COLUMNNAME_Name, COLUMNNAME_PrinterName, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_PrintFormat
(Properties ctx, int AD_PrintFormat_ID, String trxName) Standard ConstructorX_AD_PrintFormat
(Properties ctx, int AD_PrintFormat_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_PrintFormat
(Properties ctx, String AD_PrintFormat_UU, String trxName) Standard ConstructorX_AD_PrintFormat
(Properties ctx, String AD_PrintFormat_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_PrintFormat
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Print Color.int
Get Print Font.int
Get Print Format.Get AD_PrintFormat_UU.int
Get Print Header/Footer.int
Get Print Paper.int
Get Print Table Format.int
Get Report View.int
Get Table.int
Get Window.Get Create Copy.Get Description.Get File Name Pattern.int
Get Footer Margin.int
Get Header Margin.int
Get Jasper Process.Get Record ID/ColumnNamegetName()
Get Name.Get Printer Name.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Page break per record.boolean
Get Default.boolean
isForm()
Get Form.boolean
Get Standard Header/Footer.boolean
Get Table Based.void
setAD_PrintColor_ID
(int AD_PrintColor_ID) Set Print Color.void
setAD_PrintFont_ID
(int AD_PrintFont_ID) Set Print Font.void
setAD_PrintFormat_ID
(int AD_PrintFormat_ID) Set Print Format.void
setAD_PrintFormat_UU
(String AD_PrintFormat_UU) Set AD_PrintFormat_UU.void
setAD_PrintHeaderFooter_ID
(int AD_PrintHeaderFooter_ID) Set Print Header/Footer.void
setAD_PrintPaper_ID
(int AD_PrintPaper_ID) Set Print Paper.void
setAD_PrintTableFormat_ID
(int AD_PrintTableFormat_ID) Set Print Table Format.void
setAD_ReportView_ID
(int AD_ReportView_ID) Set Report View.void
setAD_Table_ID
(int AD_Table_ID) Set Table.void
setAD_Window_ID
(int AD_Window_ID) Set Window.void
setCreateCopy
(String CreateCopy) Set Create Copy.void
setDescription
(String Description) Set Description.void
setFileNamePattern
(String FileNamePattern) Set File Name Pattern.void
setFooterMargin
(int FooterMargin) Set Footer Margin.void
setHeaderMargin
(int HeaderMargin) Set Header Margin.void
setIsBreakPagePerRecord
(boolean IsBreakPagePerRecord) Set Page break per record.void
setIsDefault
(boolean IsDefault) Set Default.void
setIsForm
(boolean IsForm) Set Form.void
setIsStandardHeaderFooter
(boolean IsStandardHeaderFooter) Set Standard Header/Footer.void
setIsTableBased
(boolean IsTableBased) Set Table Based.void
setJasperProcess_ID
(int JasperProcess_ID) Set Jasper Process.void
Set Name.void
setPrinterName
(String PrinterName) Set Printer Name.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.compiere.model.I_AD_PrintFormat
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
X_AD_PrintFormat
Standard Constructor -
X_AD_PrintFormat
public X_AD_PrintFormat(Properties ctx, int AD_PrintFormat_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_PrintFormat
Standard Constructor -
X_AD_PrintFormat
public X_AD_PrintFormat(Properties ctx, String AD_PrintFormat_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_PrintFormat
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 7 - System - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_PrintColor
- Specified by:
getAD_PrintColor
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_PrintColor_ID
public void setAD_PrintColor_ID(int AD_PrintColor_ID) Set Print Color.- Specified by:
setAD_PrintColor_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_PrintColor_ID
- Color used for printing and display
-
getAD_PrintColor_ID
public int getAD_PrintColor_ID()Get Print Color.- Specified by:
getAD_PrintColor_ID
in interfaceI_AD_PrintFormat
- Returns:
- Color used for printing and display
-
getAD_PrintFont
- Specified by:
getAD_PrintFont
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_PrintFont_ID
public void setAD_PrintFont_ID(int AD_PrintFont_ID) Set Print Font.- Specified by:
setAD_PrintFont_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_PrintFont_ID
- Maintain Print Font
-
getAD_PrintFont_ID
public int getAD_PrintFont_ID()Get Print Font.- Specified by:
getAD_PrintFont_ID
in interfaceI_AD_PrintFormat
- Returns:
- Maintain Print Font
-
setAD_PrintFormat_ID
public void setAD_PrintFormat_ID(int AD_PrintFormat_ID) Set Print Format.- Specified by:
setAD_PrintFormat_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_PrintFormat_ID
- Data Print Format
-
getAD_PrintFormat_ID
public int getAD_PrintFormat_ID()Get Print Format.- Specified by:
getAD_PrintFormat_ID
in interfaceI_AD_PrintFormat
- Returns:
- Data Print Format
-
setAD_PrintFormat_UU
Set AD_PrintFormat_UU.- Specified by:
setAD_PrintFormat_UU
in interfaceI_AD_PrintFormat
- Parameters:
AD_PrintFormat_UU
- AD_PrintFormat_UU
-
getAD_PrintFormat_UU
Get AD_PrintFormat_UU.- Specified by:
getAD_PrintFormat_UU
in interfaceI_AD_PrintFormat
- Returns:
- AD_PrintFormat_UU
-
getAD_PrintPaper
- Specified by:
getAD_PrintPaper
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_PrintPaper_ID
public void setAD_PrintPaper_ID(int AD_PrintPaper_ID) Set Print Paper.- Specified by:
setAD_PrintPaper_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_PrintPaper_ID
- Printer paper definition
-
getAD_PrintPaper_ID
public int getAD_PrintPaper_ID()Get Print Paper.- Specified by:
getAD_PrintPaper_ID
in interfaceI_AD_PrintFormat
- Returns:
- Printer paper definition
-
getAD_PrintTableFormat
- Specified by:
getAD_PrintTableFormat
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_PrintTableFormat_ID
public void setAD_PrintTableFormat_ID(int AD_PrintTableFormat_ID) Set Print Table Format.- Specified by:
setAD_PrintTableFormat_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_PrintTableFormat_ID
- Table Format in Reports
-
getAD_PrintTableFormat_ID
public int getAD_PrintTableFormat_ID()Get Print Table Format.- Specified by:
getAD_PrintTableFormat_ID
in interfaceI_AD_PrintFormat
- Returns:
- Table Format in Reports
-
getAD_ReportView
- Specified by:
getAD_ReportView
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_ReportView_ID
public void setAD_ReportView_ID(int AD_ReportView_ID) Set Report View.- Specified by:
setAD_ReportView_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_ReportView_ID
- View used to generate this report
-
getAD_ReportView_ID
public int getAD_ReportView_ID()Get Report View.- Specified by:
getAD_ReportView_ID
in interfaceI_AD_PrintFormat
- Returns:
- View used to generate this report
-
getAD_Table
- Specified by:
getAD_Table
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID) Set Table.- Specified by:
setAD_Table_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_Table_ID
- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()Get Table.- Specified by:
getAD_Table_ID
in interfaceI_AD_PrintFormat
- Returns:
- Database Table information
-
getAD_Window
- Specified by:
getAD_Window
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID) Set Window.- Specified by:
setAD_Window_ID
in interfaceI_AD_PrintFormat
- Parameters:
AD_Window_ID
- Data entry or display window
-
getAD_Window_ID
public int getAD_Window_ID()Get Window.- Specified by:
getAD_Window_ID
in interfaceI_AD_PrintFormat
- Returns:
- Data entry or display window
-
setCreateCopy
Set Create Copy.- Specified by:
setCreateCopy
in interfaceI_AD_PrintFormat
- Parameters:
CreateCopy
- Create Copy
-
getCreateCopy
Get Create Copy.- Specified by:
getCreateCopy
in interfaceI_AD_PrintFormat
- Returns:
- Create Copy
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_AD_PrintFormat
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_PrintFormat
- Returns:
- Optional short description of the record
-
setFileNamePattern
Set File Name Pattern.- Specified by:
setFileNamePattern
in interfaceI_AD_PrintFormat
- Parameters:
FileNamePattern
- File Name Pattern
-
getFileNamePattern
Get File Name Pattern.- Specified by:
getFileNamePattern
in interfaceI_AD_PrintFormat
- Returns:
- File Name Pattern
-
setHeaderMargin
public void setHeaderMargin(int HeaderMargin) Set Header Margin.- Specified by:
setHeaderMargin
in interfaceI_AD_PrintFormat
- Parameters:
HeaderMargin
- Margin of the Header in 1/72 of an inch
-
getHeaderMargin
public int getHeaderMargin()Get Header Margin.- Specified by:
getHeaderMargin
in interfaceI_AD_PrintFormat
- Returns:
- Margin of the Header in 1/72 of an inch
-
setIsBreakPagePerRecord
public void setIsBreakPagePerRecord(boolean IsBreakPagePerRecord) Set Page break per record.- Specified by:
setIsBreakPagePerRecord
in interfaceI_AD_PrintFormat
- Parameters:
IsBreakPagePerRecord
- Page Break after each record
-
isBreakPagePerRecord
public boolean isBreakPagePerRecord()Get Page break per record.- Specified by:
isBreakPagePerRecord
in interfaceI_AD_PrintFormat
- Returns:
- Page Break after each record
-
setIsDefault
public void setIsDefault(boolean IsDefault) Set Default.- Specified by:
setIsDefault
in interfaceI_AD_PrintFormat
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()Get Default.- Specified by:
isDefault
in interfaceI_AD_PrintFormat
- Returns:
- Default value
-
setIsForm
public void setIsForm(boolean IsForm) Set Form.- Specified by:
setIsForm
in interfaceI_AD_PrintFormat
- Parameters:
IsForm
- If Selected, a Form is printed, if not selected a columnar List report
-
isForm
public boolean isForm()Get Form.- Specified by:
isForm
in interfaceI_AD_PrintFormat
- Returns:
- If Selected, a Form is printed, if not selected a columnar List report
-
setIsTableBased
public void setIsTableBased(boolean IsTableBased) Set Table Based.- Specified by:
setIsTableBased
in interfaceI_AD_PrintFormat
- Parameters:
IsTableBased
- Table based List Reporting
-
isTableBased
public boolean isTableBased()Get Table Based.- Specified by:
isTableBased
in interfaceI_AD_PrintFormat
- Returns:
- Table based List Reporting
-
getJasperProcess
- Specified by:
getJasperProcess
in interfaceI_AD_PrintFormat
- Throws:
RuntimeException
-
setJasperProcess_ID
public void setJasperProcess_ID(int JasperProcess_ID) Set Jasper Process.- Specified by:
setJasperProcess_ID
in interfaceI_AD_PrintFormat
- Parameters:
JasperProcess_ID
- The Jasper Process used by the print engine if any process defined
-
getJasperProcess_ID
public int getJasperProcess_ID()Get Jasper Process.- Specified by:
getJasperProcess_ID
in interfaceI_AD_PrintFormat
- Returns:
- The Jasper Process used by the print engine if any process defined
-
setName
Set Name.- Specified by:
setName
in interfaceI_AD_PrintFormat
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_PrintFormat
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPrinterName
Set Printer Name.- Specified by:
setPrinterName
in interfaceI_AD_PrintFormat
- Parameters:
PrinterName
- Name of the Printer
-
getPrinterName
Get Printer Name.- Specified by:
getPrinterName
in interfaceI_AD_PrintFormat
- Returns:
- Name of the Printer
-