|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.ld.document.service.impl.LaborPendingEntryConverterServiceImpl
public class LaborPendingEntryConverterServiceImpl
Default implementation of the LaborPendingEntryConverterService
Field Summary | |
---|---|
protected org.kuali.rice.kns.service.DataDictionaryService |
dataDictionaryService
|
protected org.kuali.rice.kns.service.DateTimeService |
dateTimeService
|
protected HomeOriginationService |
homeOriginationService
|
protected LaborBenefitsCalculationService |
laborBenefitsCalculationService
|
protected ObjectCodeService |
objectCodeService
|
protected OptionsService |
optionsService
|
protected YearEndPendingEntryService |
yearEndPendingEntryService
|
Constructor Summary | |
---|---|
LaborPendingEntryConverterServiceImpl()
|
Method Summary | |
---|---|
LaborLedgerPendingEntry |
getBenefitA21PendingEntry(LaborLedgerPostingDocument document,
ExpenseTransferAccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
org.kuali.rice.kns.util.KualiDecimal benefitAmount,
String fringeBenefitObjectCode)
convert the given document and accounting line into the benefit pending entry for effort reporting |
LaborLedgerPendingEntry |
getBenefitA21ReversalPendingEntry(LaborLedgerPostingDocument document,
ExpenseTransferAccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
org.kuali.rice.kns.util.KualiDecimal benefitAmount,
String fringeBenefitObjectCode)
convert the given document and accounting line into the benefit reversal pending entries for effort reporting |
LaborLedgerPendingEntry |
getBenefitClearingPendingEntry(LaborLedgerPostingDocument document,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
String accountNumber,
String chartOfAccountsCode,
String benefitTypeCode,
org.kuali.rice.kns.util.KualiDecimal clearingAmount)
convert the given document into benefit clearing pending entries with the given account, chart, amount and benefit type |
LaborLedgerPendingEntry |
getBenefitPendingEntry(LaborLedgerPostingDocument document,
ExpenseTransferAccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
org.kuali.rice.kns.util.KualiDecimal benefitAmount,
String fringeBenefitObjectCode)
convert the given document and accounting line into the benefit pending entries |
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
|
org.kuali.rice.kns.service.DateTimeService |
getDateTimeService()
|
LaborLedgerPendingEntry |
getDefaultPendingEntry(LaborLedgerPostingDocument document)
construct a LaborLedgerPendingEntry object based on the information in the given document. |
LaborLedgerPendingEntry |
getDefaultPendingEntry(LaborLedgerPostingDocument document,
ExpenseTransferAccountingLine accountingLine)
construct a LaborLedgerPendingEntry object based on the information in the given document and accounting line. |
LaborLedgerPendingEntry |
getExpenseA21PendingEntry(LaborLedgerPostingDocument document,
ExpenseTransferAccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
convert the given document and accounting line into the expense pending entries for effort reporting |
LaborLedgerPendingEntry |
getExpenseA21ReversalPendingEntry(LaborLedgerPostingDocument document,
ExpenseTransferAccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
convert the given document and accounting line into the expense reversal pending entries for effort reporting |
LaborLedgerPendingEntry |
getExpensePendingEntry(LaborLedgerPostingDocument document,
ExpenseTransferAccountingLine accountingLine,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
convert the given document and accounting line into the expense pending entries |
HomeOriginationService |
getHomeOriginationService()
|
LaborBenefitsCalculationService |
getLaborBenefitsCalculationService()
|
protected Integer |
getNextSequenceNumber(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
This method gets the next sequence number and increments. |
ObjectCodeService |
getObjectCodeService()
|
OptionsService |
getOptionsService()
|
LaborLedgerPendingEntry |
getSimpleDefaultPendingEntry()
construct a LaborLedgerPendingEntry object based on the information in the given document and accounting line. |
YearEndPendingEntryService |
getYearEndPendingEntryService()
|
protected void |
overrideEntryForYearEndIfNecessary(LaborLedgerPostingDocument document,
LaborLedgerPendingEntry pendingEntry)
Updates the given LLPE for year end documents |
protected String |
pickValue(String targetValue,
String backupValue)
Pick one from target and backup values based on the availability of target value |
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
|
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
|
void |
setHomeOriginationService(HomeOriginationService homeOriginationService)
|
void |
setLaborBenefitsCalculationService(LaborBenefitsCalculationService laborBenefitsCalculationService)
|
void |
setObjectCodeService(ObjectCodeService objectCodeService)
|
void |
setOptionsService(OptionsService optionsService)
|
void |
setYearEndPendingEntryService(YearEndPendingEntryService yearEndPendingEntryService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected HomeOriginationService homeOriginationService
protected LaborBenefitsCalculationService laborBenefitsCalculationService
protected OptionsService optionsService
protected ObjectCodeService objectCodeService
protected org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService
protected org.kuali.rice.kns.service.DateTimeService dateTimeService
protected YearEndPendingEntryService yearEndPendingEntryService
Constructor Detail |
---|
public LaborPendingEntryConverterServiceImpl()
Method Detail |
---|
public LaborLedgerPendingEntry getBenefitA21PendingEntry(LaborLedgerPostingDocument document, ExpenseTransferAccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, org.kuali.rice.kns.util.KualiDecimal benefitAmount, String fringeBenefitObjectCode)
LaborPendingEntryConverterService
getBenefitA21PendingEntry
in interface LaborPendingEntryConverterService
document
- the given accounting documentaccountingLine
- the given accounting linesequenceHelper
- the given sequence helperbenefitAmount
- the given benefit amountfringeBenefitObjectCode
- the given fringe benefit object code
LaborPendingEntryConverterService.getBenefitA21PendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument, org.kuali.kfs.module.ld.businessobject.ExpenseTransferAccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper, org.kuali.rice.kns.util.KualiDecimal, java.lang.String)
public LaborLedgerPendingEntry getBenefitA21ReversalPendingEntry(LaborLedgerPostingDocument document, ExpenseTransferAccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, org.kuali.rice.kns.util.KualiDecimal benefitAmount, String fringeBenefitObjectCode)
LaborPendingEntryConverterService
getBenefitA21ReversalPendingEntry
in interface LaborPendingEntryConverterService
document
- the given accounting documentaccountingLine
- the given accounting linesequenceHelper
- the given sequence helperbenefitAmount
- the given benefit amountfringeBenefitObjectCode
- the given fringe benefit object code
LaborPendingEntryConverterService.getBenefitA21ReversalPendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument, org.kuali.kfs.module.ld.businessobject.ExpenseTransferAccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper, org.kuali.rice.kns.util.KualiDecimal, java.lang.String)
public LaborLedgerPendingEntry getBenefitClearingPendingEntry(LaborLedgerPostingDocument document, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, String accountNumber, String chartOfAccountsCode, String benefitTypeCode, org.kuali.rice.kns.util.KualiDecimal clearingAmount)
LaborPendingEntryConverterService
getBenefitClearingPendingEntry
in interface LaborPendingEntryConverterService
document
- the given accounting documentsequenceHelper
- the given sequence helperaccountNumber
- the given account number that the benefit clearing amount can be chargedchartOfAccountsCode
- the given chart of accounts code that the benefit clearing amount can be chargedbenefitTypeCode
- the given benefit type codeclearingAmount
- the benefit clearing amount
LaborPendingEntryConverterService.getBenefitClearingPendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper, java.lang.String, java.lang.String, java.lang.String, org.kuali.rice.kns.util.KualiDecimal)
protected void overrideEntryForYearEndIfNecessary(LaborLedgerPostingDocument document, LaborLedgerPendingEntry pendingEntry)
document
- the document to check if it is YearEndpendingEntry
- the pending entry to updatepublic LaborLedgerPendingEntry getBenefitPendingEntry(LaborLedgerPostingDocument document, ExpenseTransferAccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, org.kuali.rice.kns.util.KualiDecimal benefitAmount, String fringeBenefitObjectCode)
LaborPendingEntryConverterService
getBenefitPendingEntry
in interface LaborPendingEntryConverterService
document
- the given accounting documentaccountingLine
- the given accounting linesequenceHelper
- the given sequence helperbenefitAmount
- the given benefit amountfringeBenefitObjectCode
- the given fringe benefit object code
LaborPendingEntryConverterService.getBenefitPendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument, org.kuali.kfs.module.ld.businessobject.ExpenseTransferAccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper, org.kuali.rice.kns.util.KualiDecimal, java.lang.String)
public LaborLedgerPendingEntry getDefaultPendingEntry(LaborLedgerPostingDocument document, ExpenseTransferAccountingLine accountingLine)
LaborPendingEntryConverterService
getDefaultPendingEntry
in interface LaborPendingEntryConverterService
document
- the given documentaccountingLine
- the given accounting line
LaborPendingEntryConverterService.getDefaultPendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument, org.kuali.kfs.module.ld.businessobject.ExpenseTransferAccountingLine)
public LaborLedgerPendingEntry getDefaultPendingEntry(LaborLedgerPostingDocument document)
LaborPendingEntryConverterService
getDefaultPendingEntry
in interface LaborPendingEntryConverterService
document
- the given document
LaborPendingEntryConverterService.getDefaultPendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument)
public LaborLedgerPendingEntry getExpenseA21PendingEntry(LaborLedgerPostingDocument document, ExpenseTransferAccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
LaborPendingEntryConverterService
getExpenseA21PendingEntry
in interface LaborPendingEntryConverterService
document
- the given accounting documentaccountingLine
- the given accounting linesequenceHelper
- the given sequence helper
LaborPendingEntryConverterService.getExpenseA21PendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument, org.kuali.kfs.module.ld.businessobject.ExpenseTransferAccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)
public LaborLedgerPendingEntry getExpenseA21ReversalPendingEntry(LaborLedgerPostingDocument document, ExpenseTransferAccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
LaborPendingEntryConverterService
getExpenseA21ReversalPendingEntry
in interface LaborPendingEntryConverterService
document
- the given accounting documentaccountingLine
- the given accounting linesequenceHelper
- the given sequence helper
LaborPendingEntryConverterService.getExpenseA21ReversalPendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument, org.kuali.kfs.module.ld.businessobject.ExpenseTransferAccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)
public LaborLedgerPendingEntry getExpensePendingEntry(LaborLedgerPostingDocument document, ExpenseTransferAccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
LaborPendingEntryConverterService
getExpensePendingEntry
in interface LaborPendingEntryConverterService
document
- the given accounting documentaccountingLine
- the given accounting linesequenceHelper
- the given sequence helper
LaborPendingEntryConverterService.getExpensePendingEntry(org.kuali.kfs.module.ld.document.LaborLedgerPostingDocument, org.kuali.kfs.module.ld.businessobject.ExpenseTransferAccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)
public LaborLedgerPendingEntry getSimpleDefaultPendingEntry()
LaborPendingEntryConverterService
getSimpleDefaultPendingEntry
in interface LaborPendingEntryConverterService
LaborPendingEntryConverterService.getSimpleDefaultPendingEntry()
protected String pickValue(String targetValue, String backupValue)
targetValue
- the given target valuebackupValue
- the backup value of the target value
protected Integer getNextSequenceNumber(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
sequenceHelper
- the given sequence helper
public HomeOriginationService getHomeOriginationService()
public void setHomeOriginationService(HomeOriginationService homeOriginationService)
public LaborBenefitsCalculationService getLaborBenefitsCalculationService()
public void setLaborBenefitsCalculationService(LaborBenefitsCalculationService laborBenefitsCalculationService)
public OptionsService getOptionsService()
public void setOptionsService(OptionsService optionsService)
public ObjectCodeService getObjectCodeService()
public void setObjectCodeService(ObjectCodeService objectCodeService)
public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
public org.kuali.rice.kns.service.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
public YearEndPendingEntryService getYearEndPendingEntryService()
public void setYearEndPendingEntryService(YearEndPendingEntryService yearEndPendingEntryService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |