public class ContractorBillPDFGenerator
extends org.egov.works.utils.AbstractPDFGenerator
| Modifier and Type | Field and Description |
|---|---|
static String |
blankSpace |
static String |
blankSpace15 |
static String |
blankSpace20 |
static String |
blankSpace8 |
static String |
CONTRACTOR_PDF_ERROR |
static String |
dateLabel |
static String |
newLine |
static String |
tab2 |
| Constructor and Description |
|---|
ContractorBillPDFGenerator(org.egov.works.contractorbill.entity.ContractorBillRegister egBillRegister,
org.egov.works.mb.entity.MBHeader mbHeader,
OutputStream out,
Map<String,String> pdfLabel,
org.egov.works.services.ContractorBillService contractorBillService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createCertificate() |
protected com.lowagie.text.pdf.PdfPTable |
createContractorBillHeader(String title,
int i) |
protected void |
createContractorRow(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected com.lowagie.text.pdf.PdfPTable |
createContractorTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createDeductionTypeData(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected com.lowagie.text.pdf.PdfPTable |
createDeductionTypeDataTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createDeductionTypeLabel(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected com.lowagie.text.pdf.PdfPTable |
createDeductionTypeLabelTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createDetailsForWorkOrder(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createDetailsForWorkOrderData(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createDetailsForWorkOrderLabel(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected com.lowagie.text.pdf.PdfPTable |
createDetailsForWorkOrderLabelTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createDetailsRows(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createFooter() |
protected void |
createHeaderRow(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createNetPayable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected com.lowagie.text.pdf.PdfPTable |
createNetPayableTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createWorkDescRow(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected com.lowagie.text.pdf.PdfPTable |
createWorkDescTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createWorkValueData(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected com.lowagie.text.pdf.PdfPTable |
createWorkValueDataTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected void |
createWorkValueLabel(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
protected com.lowagie.text.pdf.PdfPTable |
createWorkValueLabelTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable) |
void |
displayHistory(org.egov.infra.workflow.entity.StateHistory ad,
com.lowagie.text.pdf.PdfPTable approvaldetailsTable) |
protected void |
generateDisplayData(org.egov.works.mb.entity.MBHeader mbHeader,
org.egov.works.contractorbill.entity.ContractorBillRegister egBillRegister) |
void |
generatePDF() |
void |
getCustomDeductionList(org.egov.works.contractorbill.entity.ContractorBillRegister egBillRegister) |
org.egov.pims.service.EmployeeServiceOld |
getEmployeeService() |
void |
getGlCodeForNetPayable() |
protected String |
getIntDecimalParts(BigDecimal totalAmount) |
String |
getNetPayAmtInWords() |
org.egov.infstr.services.PersistenceService |
getPersistenceService() |
void |
getStandardDeductionGlcode() |
void |
getStandardDeductionList(Long billId,
List<String> requiredStandardList) |
void |
getStatutoryDeductionGlcode() |
BigDecimal |
getTotAmountForAdvanceAdjustment() |
BigDecimal |
getTotStandardAmountForDeduction(org.egov.works.models.contractorBill.DeductionTypeForBill deductionTypeForBill) |
BigDecimal |
getTotStandardAmountForDeduction(org.egov.model.bills.EgBilldetails egBilldetails) |
BigDecimal |
getTotStatoryAmountForDeduction(org.egov.works.models.contractorBill.StatutoryDeductionsForBill egBillPayeedetail) |
void |
setContractorAdvanceService(org.egov.works.services.contractoradvance.ContractorAdvanceService contractorAdvanceService) |
void |
setEmployeeService(org.egov.pims.service.EmployeeServiceOld employeeService) |
void |
setPersistenceService(org.egov.infstr.services.PersistenceService persistenceService) |
void |
setWorksService(org.egov.works.services.WorksService worksService) |
public static final String newLine
public static final String CONTRACTOR_PDF_ERROR
public static final String blankSpace
public static final String blankSpace8
public static final String blankSpace15
public static final String blankSpace20
public static final String tab2
public static final String dateLabel
public ContractorBillPDFGenerator(org.egov.works.contractorbill.entity.ContractorBillRegister egBillRegister,
org.egov.works.mb.entity.MBHeader mbHeader,
OutputStream out,
Map<String,String> pdfLabel,
org.egov.works.services.ContractorBillService contractorBillService)
public void generatePDF()
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationExceptionprotected void createCertificate()
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionprotected void createFooter()
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentExceptionprotected void createHeaderRow(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createContractorBillHeader(String title, int i) throws com.lowagie.text.DocumentException, org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createDetailsRows(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createDeductionTypeLabel(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createDeductionTypeLabelTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createDeductionTypeData(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createDeductionTypeDataTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createNetPayable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createNetPayableTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createWorkValueData(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createWorkValueDataTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createWorkValueLabel(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createWorkValueLabelTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createDetailsForWorkOrder(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createDetailsForWorkOrderLabel(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createDetailsForWorkOrderData(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createDetailsForWorkOrderLabelTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createWorkDescRow(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createWorkDescTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void createContractorRow(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected com.lowagie.text.pdf.PdfPTable createContractorTable(com.lowagie.text.pdf.PdfPTable contractorBillMainTable)
throws com.lowagie.text.DocumentException,
org.egov.infra.exception.ApplicationException
com.lowagie.text.DocumentExceptionorg.egov.infra.exception.ApplicationExceptionprotected void generateDisplayData(org.egov.works.mb.entity.MBHeader mbHeader,
org.egov.works.contractorbill.entity.ContractorBillRegister egBillRegister)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationExceptionpublic void getStandardDeductionList(Long billId, List<String> requiredStandardList)
public void getCustomDeductionList(org.egov.works.contractorbill.entity.ContractorBillRegister egBillRegister)
throws org.egov.infra.exception.ApplicationException
org.egov.infra.exception.ApplicationExceptionpublic void getStatutoryDeductionGlcode()
public void getStandardDeductionGlcode()
public void getGlCodeForNetPayable()
throws NumberFormatException,
org.egov.infra.exception.ApplicationException
NumberFormatExceptionorg.egov.infra.exception.ApplicationExceptionprotected String getIntDecimalParts(BigDecimal totalAmount)
public String getNetPayAmtInWords()
public void displayHistory(org.egov.infra.workflow.entity.StateHistory ad,
com.lowagie.text.pdf.PdfPTable approvaldetailsTable)
throws Exception
Exceptionpublic BigDecimal getTotAmountForAdvanceAdjustment()
public BigDecimal getTotStatoryAmountForDeduction(org.egov.works.models.contractorBill.StatutoryDeductionsForBill egBillPayeedetail)
public BigDecimal getTotStandardAmountForDeduction(org.egov.works.models.contractorBill.DeductionTypeForBill deductionTypeForBill)
public BigDecimal getTotStandardAmountForDeduction(org.egov.model.bills.EgBilldetails egBilldetails)
public org.egov.infstr.services.PersistenceService getPersistenceService()
public void setPersistenceService(org.egov.infstr.services.PersistenceService persistenceService)
public org.egov.pims.service.EmployeeServiceOld getEmployeeService()
public void setEmployeeService(org.egov.pims.service.EmployeeServiceOld employeeService)
public void setWorksService(org.egov.works.services.WorksService worksService)
public void setContractorAdvanceService(org.egov.works.services.contractoradvance.ContractorAdvanceService contractorAdvanceService)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.