|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.bc.service.impl.BudgetConstructionPositionServiceImpl
public class BudgetConstructionPositionServiceImpl
Implementation of BudgetConstructionPositionService that uses the HumanResourcesPayrollService
BudgetConstructionPositionService,
HumanResourcesPayrollService| Constructor Summary | |
|---|---|
BudgetConstructionPositionServiceImpl()
|
|
| Method Summary | |
|---|---|
protected BudgetConstructionPosition |
buildBudgetPosition(Position position,
BudgetConstructionPosition budgetConstructionPosition)
Populates a new BudgetConstructionPosition object from a Position object. |
BudgetConstructionPosition |
getByPrimaryId(String fiscalYear,
String positionNumber)
retrieve a Budget Construction Position object by its primary key. |
boolean |
isBudgetablePosition(BudgetConstructionPosition budgetConstructionPosition)
determine whether the given position is budgetable (valid, active and budgeted) |
void |
pullNewPositionFromExternal(Integer universityFiscalYear,
String positionNumber)
Retrieves a new position record from an external system using HumanResourcesPayrollService then populates the
record in the budget position table. |
void |
refreshPositionFromExternal(Integer universityFiscalYear,
String positionNumber)
Refreshes a position record from an external system using HumanResourcesPayrollService then updates the record
in the budget position table. |
void |
setBudgetConstructionDao(BudgetConstructionDao budgetConstructionDao)
Sets the budgetConstructionDao attribute value. |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setHumanResourcesPayrollService(HumanResourcesPayrollService humanResourcesPayrollService)
Sets the humanResourcesPayrollService attribute value. |
protected void |
updateFundingPositionChangeIndicators(Integer universityFiscalYear,
String positionNumber)
Retrieves all funding lines for the position that are not marked as delete and sets the position change indicator fields to true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BudgetConstructionPositionServiceImpl()
| Method Detail |
|---|
@Transactional
public void pullNewPositionFromExternal(Integer universityFiscalYear,
String positionNumber)
throws BudgetPositionAlreadyExistsException
BudgetConstructionPositionServiceHumanResourcesPayrollService then populates the
record in the budget position table.
pullNewPositionFromExternal in interface BudgetConstructionPositionServiceuniversityFiscalYear - budget fiscal year for the positionpositionNumber - position number for the record
BudgetPositionAlreadyExistsException - thrown when position is already in the budget tableBudgetConstructionPositionService.pullNewPositionFromExternal(java.lang.Integer,
java.lang.String)
@Transactional(propagation=REQUIRES_NEW)
public void refreshPositionFromExternal(Integer universityFiscalYear,
String positionNumber)
BudgetConstructionPositionServiceHumanResourcesPayrollService then updates the record
in the budget position table.
refreshPositionFromExternal in interface BudgetConstructionPositionServiceuniversityFiscalYear - budget fiscal year for the positionpositionNumber - position number for the recordBudgetConstructionPositionService.refreshPositionFromExternal(java.lang.Integer,
java.lang.String)
protected void updateFundingPositionChangeIndicators(Integer universityFiscalYear,
String positionNumber)
universityFiscalYear - budget fiscal year for the positionpositionNumber - position number for the record
protected BudgetConstructionPosition buildBudgetPosition(Position position,
BudgetConstructionPosition budgetConstructionPosition)
BudgetConstructionPosition object from a Position object.
position - object to copybudgetConstructionPosition - bc position to populate
PositionBudgetConstructionPosition,
Position
public BudgetConstructionPosition getByPrimaryId(String fiscalYear,
String positionNumber)
BudgetConstructionPositionService
getByPrimaryId in interface BudgetConstructionPositionServicefiscalYear - the given fiscal yearpositionNumber - the given position number
BudgetConstructionPositionService.getByPrimaryId(java.lang.String, java.lang.String)public boolean isBudgetablePosition(BudgetConstructionPosition budgetConstructionPosition)
BudgetConstructionPositionService
isBudgetablePosition in interface BudgetConstructionPositionServicebudgetConstructionPosition - the given position
org.kuali.kfs.module.bc.service.BudgetConstructionPositionService#isBudgetingPosition(org.kuali.kfs.module.bc.businessobject.BudgetConstructionPosition)public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.public void setHumanResourcesPayrollService(HumanResourcesPayrollService humanResourcesPayrollService)
humanResourcesPayrollService - The humanResourcesPayrollService to set.public void setBudgetConstructionDao(BudgetConstructionDao budgetConstructionDao)
budgetConstructionDao - The budgetConstructionDao to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||