public class DocumentService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AccountService |
accountService |
protected String |
BALANCE_FILE_PATH |
protected BalanceReportService |
balanceReportService |
protected ClosedPeriodicEntryBookService |
closedPeriodicEntryBookService |
protected String |
ENTRY_BOOKS_REPORT_PDF_FILE_PATH |
protected ProvisionalEntryBookReportService |
entryBookReportService |
protected EntryService |
entryService |
protected FinancialPeriodService |
financialPeriodService |
protected String |
GENERAL_ENTRY_BOOK_REPORT_PDF_FILE_PATH |
protected GeneralEntryBookReportService |
generalEntryBookReportService |
protected String |
LEDGER_REPORT_PDF_FILE_PATH |
protected LedgerReportService |
ledgerReportService |
protected static org.apache.commons.logging.Log |
log |
protected String |
path |
protected ReportBuilder |
reportBuilder |
| Constructor and Description |
|---|
DocumentService() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
constructHeaderTitle(String title,
Date beginDate,
Date endDate) |
protected String |
constructHtmlHeader(String title) |
protected String |
constructSubTitleHtml(String subTitle) |
protected String |
constructSubTitleHtml(String subTitleFirstpart,
String subTitleSecPart) |
protected String |
constructTableHeader(String[] columnsNames) |
protected String |
constructTableLine(String[] cells) |
protected String |
constructTableLine(String[] cells,
boolean even) |
String |
createAccountDocument(Date beginDate,
Date endDate,
String account) |
void |
createBalanceDocuments(Date beginDate,
Date endDate,
String fromToAccount) |
void |
createEntryBooksDocuments(Date beginDate,
Date endDate,
List<String> entryBookCodes) |
String |
createFinancialStatementsDocuments(Date beginDate,
Date endDate)
General Leger
|
void |
createGeneralEntryBooksDocuments(Date beginDate,
Date endDate) |
void |
createLedgerDocuments(Date beginDate,
Date endDate) |
protected static final org.apache.commons.logging.Log log
protected BalanceReportService balanceReportService
protected GeneralEntryBookReportService generalEntryBookReportService
protected ProvisionalEntryBookReportService entryBookReportService
protected LedgerReportService ledgerReportService
protected ClosedPeriodicEntryBookService closedPeriodicEntryBookService
protected FinancialPeriodService financialPeriodService
protected EntryService entryService
protected ReportBuilder reportBuilder
protected AccountService accountService
protected String path
protected final String BALANCE_FILE_PATH
protected final String GENERAL_ENTRY_BOOK_REPORT_PDF_FILE_PATH
protected final String ENTRY_BOOKS_REPORT_PDF_FILE_PATH
protected final String LEDGER_REPORT_PDF_FILE_PATH
public String createFinancialStatementsDocuments(Date beginDate, Date endDate)
beginDate - endDate - public String createAccountDocument(Date beginDate, Date endDate, String account)
protected String constructSubTitleHtml(String subTitleFirstpart, String subTitleSecPart)
protected String constructHeaderTitle(String title, Date beginDate, Date endDate)
public void createBalanceDocuments(Date beginDate, Date endDate, String fromToAccount)
public void createEntryBooksDocuments(Date beginDate, Date endDate, List<String> entryBookCodes)
public void createGeneralEntryBooksDocuments(Date beginDate, Date endDate)
Copyright © 2008–2015 CodeLutin. All rights reserved.