Class DefaultDocumentFactory

java.lang.Object
org.adempiere.base.DefaultDocumentFactory
All Implemented Interfaces:
IDocFactory

public class DefaultDocumentFactory extends Object implements IDocFactory
Default IDocFactory implementation from core.
Load Doc instance from class path.
Author:
hengsin
  • Constructor Details

    • DefaultDocumentFactory

      public DefaultDocumentFactory()
  • Method Details

    • getDocument

      public Doc getDocument(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName)
      Description copied from interface: IDocFactory
      Create Posting document
      Specified by:
      getDocument in interface IDocFactory
      Parameters:
      as - accounting schema
      AD_Table_ID - Table ID of Documents
      rs - ResultSet
      trxName - transaction name
      Returns:
      Document