Package org.adempiere.base
Interface IDocFactory
-
- All Known Implementing Classes:
DefaultDocumentFactory
,MappedDocumentFactory
public interface IDocFactory
- Author:
- hengsin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Doc
getDocument(MAcctSchema as, int AD_Table_ID, int Record_ID, String trxName)
Create Posting documentDoc
getDocument(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName)
Create Posting document
-
-
-
Method Detail
-
getDocument
default Doc getDocument(MAcctSchema as, int AD_Table_ID, int Record_ID, String trxName)
Create Posting document- Parameters:
as
- accounting schemaAD_Table_ID
- Table ID of DocumentsRecord_ID
- record ID to loadtrxName
- transaction name- Returns:
- Document or null
-
getDocument
Doc getDocument(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName)
Create Posting document- Parameters:
as
- accounting schemaAD_Table_ID
- Table ID of Documentsrs
- ResultSettrxName
- transaction name- Returns:
- Document
-
-