|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.ld.service.impl.LaborInquiryOptionsServiceImpl
public class LaborInquiryOptionsServiceImpl
The LaborInquiryOptionsService class is a service that will generate Pending Ledger and Consilidation options for balance inquiries.
Constructor Summary | |
---|---|
LaborInquiryOptionsServiceImpl()
|
Method Summary | |
---|---|
org.kuali.rice.kns.web.ui.Field |
getConsolidationField(Collection<org.kuali.rice.kns.web.ui.Row> rows)
Examine a collection of instances for the consolidation field |
String |
getConsolidationFieldName()
The expected name of the consolidation option field name |
String |
getConsolidationOption(Map fieldValues)
Get the current state of the consolidation option |
String |
getSelectedPendingEntryOption(Map fieldValues)
Get the Pending Entry Option selected |
boolean |
isConsolidationSelected(Map fieldValues)
This method tests if the user selects to see the details or consolidated results |
boolean |
isConsolidationSelected(Map fieldValues,
Collection<org.kuali.rice.kns.web.ui.Row> rows)
This method tests if the user selects to see the details or consolidated results |
protected boolean |
isDetailDefaultFieldUsed(Map fieldValues,
String fieldName)
Determines if any of the fields that require a detail view are used |
void |
setLaborLedgerBalanceService(LaborLedgerBalanceService laborLedgerBalanceService)
Sets the laborLedgerBalanceService attribute value. |
void |
setLaborLedgerPendingEntryService(LaborLedgerPendingEntryService laborLedgerPendingEntryService)
Sets the laborLedgerPendingEntryService attribute value. |
protected void |
updateCollection(Collection entryCollection,
Map fieldValues,
boolean isApproved,
boolean isConsolidated,
Class clazz)
update a given collection entry with the pending entry obtained from the given field values and isApproved |
void |
updateCurrentFundsByPendingLedgerEntry(Collection<AccountStatusCurrentFunds> balanceCollection,
Map fieldValues,
String pendingEntryOption,
boolean isConsolidated)
update a given balance collection with the pending entry obtained from the given field values and pending entry option |
void |
updateLedgerBalanceByPendingLedgerEntry(Collection<LedgerBalance> balanceCollection,
Map fieldValues,
String pendingEntryOption,
boolean isConsolidated)
update a given balance collection with the pending entry obtained from the given field values and pending entry option |
void |
updateLedgerEntryByPendingLedgerEntry(Collection<LedgerEntry> entryCollection,
Map fieldValues,
String pendingEntryOption)
update a given ledger entry collection with the pending entry obtained from the given field values and pending entry option |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LaborInquiryOptionsServiceImpl()
Method Detail |
---|
public String getConsolidationFieldName()
LaborInquiryOptionsService
getConsolidationFieldName
in interface LaborInquiryOptionsService
LaborInquiryOptionsService.getConsolidationFieldName()
public org.kuali.rice.kns.web.ui.Field getConsolidationField(Collection<org.kuali.rice.kns.web.ui.Row> rows)
LaborInquiryOptionsService
Row
instances for the consolidation field
getConsolidationField
in interface LaborInquiryOptionsService
LaborInquiryOptionsService.getConsolidationField(java.util.Collection)
public String getSelectedPendingEntryOption(Map fieldValues)
LaborInquiryOptionsService
getSelectedPendingEntryOption
in interface LaborInquiryOptionsService
LaborInquiryOptionsService.getSelectedPendingEntryOption(java.util.Map)
public String getConsolidationOption(Map fieldValues)
LaborInquiryOptionsService
getConsolidationOption
in interface LaborInquiryOptionsService
LaborInquiryOptionsService.getConsolidationOption(java.util.Map)
public boolean isConsolidationSelected(Map fieldValues, Collection<org.kuali.rice.kns.web.ui.Row> rows)
LaborInquiryOptionsService
isConsolidationSelected
in interface LaborInquiryOptionsService
fieldValues
- the map containing the search fields and values
LaborInquiryOptionsService.isConsolidationSelected(java.util.Map, java.util.Collection)
public boolean isConsolidationSelected(Map fieldValues)
LaborInquiryOptionsService
isConsolidationSelected
in interface LaborInquiryOptionsService
fieldValues
- the map containing the search fields and values
LaborInquiryOptionsService.isConsolidationSelected(java.util.Map)
public void updateLedgerBalanceByPendingLedgerEntry(Collection<LedgerBalance> balanceCollection, Map fieldValues, String pendingEntryOption, boolean isConsolidated)
LaborInquiryOptionsService
updateLedgerBalanceByPendingLedgerEntry
in interface LaborInquiryOptionsService
balanceCollection
- the given ledger balance collectionfieldValues
- the given field valuespendingEntryOption
- the given pending entry option: all, approved or noneisConsolidated
- indicate if the collection balances have been consolidatedLaborInquiryOptionsService.updateLedgerBalanceByPendingLedgerEntry(java.util.Collection,
java.util.Map, java.lang.String, boolean)
public void updateCurrentFundsByPendingLedgerEntry(Collection<AccountStatusCurrentFunds> balanceCollection, Map fieldValues, String pendingEntryOption, boolean isConsolidated)
LaborInquiryOptionsService
updateCurrentFundsByPendingLedgerEntry
in interface LaborInquiryOptionsService
balanceCollection
- the given ledger balance collectionfieldValues
- the given field valuespendingEntryOption
- the given pending entry option: all, approved or noneisConsolidated
- indicate if the collection balances have been consolidatedLaborInquiryOptionsService.updateCurrentFundsByPendingLedgerEntry(java.util.Collection,
java.util.Map, java.lang.String, boolean)
public void updateLedgerEntryByPendingLedgerEntry(Collection<LedgerEntry> entryCollection, Map fieldValues, String pendingEntryOption)
LaborInquiryOptionsService
updateLedgerEntryByPendingLedgerEntry
in interface LaborInquiryOptionsService
entryCollection
- the given ledger entry collectionfieldValues
- the given field valuespendingEntryOption
- the given pending entry option: all, approved or noneorg.kuali.kfs.module.ld.service.LaborInquiryOptionsService#updateByPendingLedgerEntry(java.util.Collection,
java.util.Map, java.lang.String, boolean)
protected void updateCollection(Collection entryCollection, Map fieldValues, boolean isApproved, boolean isConsolidated, Class clazz)
entryCollection
- the given entry collectionfieldValues
- the given field valuesisApproved
- indicate if the resulting pending entry has been approvedisConsolidated
- indicate if the collection entries have been consolidatedprotected boolean isDetailDefaultFieldUsed(Map fieldValues, String fieldName)
fieldValues
- fieldName
- public void setLaborLedgerBalanceService(LaborLedgerBalanceService laborLedgerBalanceService)
laborLedgerBalanceService
- The laborLedgerBalanceService to set.public void setLaborLedgerPendingEntryService(LaborLedgerPendingEntryService laborLedgerPendingEntryService)
laborLedgerPendingEntryService
- The laborLedgerPendingEntryService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |