|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.ec.service.impl.EffortCertificationDocumentBuildServiceImpl
@Transactional public class EffortCertificationDocumentBuildServiceImpl
This class Provide the facility used to generate documents (build) from the labor ledger balances
| Constructor Summary | |
|---|---|
EffortCertificationDocumentBuildServiceImpl()
|
|
| Method Summary | |
|---|---|
protected Map<String,List<LaborLedgerBalance>> |
buildLedgerBalanceGroups(List<LaborLedgerBalance> ledgerBalances)
group the given ledger balances according to the combination of the values in the specified fields |
EffortCertificationDocumentBuild |
generateDocumentBuild(Integer postingYear,
EffortCertificationReportDefinition reportDefinition,
List<LaborLedgerBalance> ledgerBalances)
generate a document(build) for effort certification from the given collection of labor ledger balance |
List<EffortCertificationDocumentBuild> |
generateDocumentBuildList(Integer postingYear,
EffortCertificationReportDefinition reportDefinition,
List<LaborLedgerBalance> ledgerBalances)
generate documents(build) for effort certification from the given collection of labor ledger balance |
protected static EffortCertificationDocumentBuild |
populateDocument(EffortCertificationReportDefinition reportDefinition,
LaborLedgerBalance ledgerBalance)
populate a dument build object through the given information |
void |
removeExistingDocumentBuild(Map<String,String> fieldValues)
clear up documents and detail lines (build) with the fiscal year and report number of the given field values |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setEffortCertificationDetailBuildService(EffortCertificationDetailBuildService effortCertificationDetailBuildService)
Sets the effortCertificationDetailBuildService attribute value. |
protected void |
updateDetailLineList(List<EffortCertificationDetailBuild> detailLineList,
EffortCertificationDetailBuild detailLine)
update the given detail line if the given detail line is in the list; otherwise, add the given line into the list |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EffortCertificationDocumentBuildServiceImpl()
| Method Detail |
|---|
public void removeExistingDocumentBuild(Map<String,String> fieldValues)
EffortCertificationDocumentBuildService
removeExistingDocumentBuild in interface EffortCertificationDocumentBuildServicefieldValues - the map containing fiscalYear and report numberEffortCertificationDocumentBuildService.removeExistingDocumentBuild(java.util.Map)
public List<EffortCertificationDocumentBuild> generateDocumentBuildList(Integer postingYear,
EffortCertificationReportDefinition reportDefinition,
List<LaborLedgerBalance> ledgerBalances)
EffortCertificationDocumentBuildService
generateDocumentBuildList in interface EffortCertificationDocumentBuildServicepostingYear - the fiscal year when the document is generatedreportDefinition - the given report definition of effort certificationledgerBalances - the given labor ledger balances
org.kuali.kfs.module.ec.service.EffortCertificationDocumentBuildService#generateDocumentBuild(org.kuali.kfs.module.ec.businessobject.EffortCertificationReportDefinition,
java.util.List, java.util.Map)
public EffortCertificationDocumentBuild generateDocumentBuild(Integer postingYear,
EffortCertificationReportDefinition reportDefinition,
List<LaborLedgerBalance> ledgerBalances)
EffortCertificationDocumentBuildService
generateDocumentBuild in interface EffortCertificationDocumentBuildServicepostingYear - the fiscal year when the document is generatedreportDefinition - the given report definition of effort certificationledgerBalances - the given labor ledger balances
org.kuali.kfs.module.ec.service.EffortCertificationDocumentBuildService#generateDocumentBuild(org.kuali.kfs.module.ec.businessobject.EffortCertificationReportDefinition,
java.util.List, java.util.Map)
protected static EffortCertificationDocumentBuild populateDocument(EffortCertificationReportDefinition reportDefinition,
LaborLedgerBalance ledgerBalance)
reportDefinition - the given report definitionledgerBalance - the given ledger balance
protected Map<String,List<LaborLedgerBalance>> buildLedgerBalanceGroups(List<LaborLedgerBalance> ledgerBalances)
ledgerBalances - the given ledger balances
protected void updateDetailLineList(List<EffortCertificationDetailBuild> detailLineList,
EffortCertificationDetailBuild detailLine)
detailLineList - the given list of detail linesdetailLine - the given detail linepublic void setEffortCertificationDetailBuildService(EffortCertificationDetailBuildService effortCertificationDetailBuildService)
effortCertificationDetailBuildService - The effortCertificationDetailBuildService to set.public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||