|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SalarySettingService
This class defines methods a Salary Setting Service must provide The Salary Setting Service supports functionality associated with detailed salary setting for an account as well as organization based salary setting by incumbent and by position.
Method Summary | |
---|---|
void |
adjustRequestedSalaryByAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding)
adjust the requested salary amount of the given appointment funding by amount |
void |
adjustRequestedSalaryByPercent(PendingBudgetConstructionAppointmentFunding appointmentFunding)
adjust the requested salary amount of the given appointment funding by percent |
org.kuali.rice.kns.util.KualiInteger |
calculateAnnualPayAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding)
calculate the annual pay amount from the request pay rate in the given appointment funding |
BigDecimal |
calculateCSFFteQuantity(Integer payMonth,
Integer normalWorkMonth,
BigDecimal requestedCSFTimePercent)
calculate the CSF FTE quantity through the given information |
BigDecimal |
calculateCSFFteQuantityFromAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
calculate the CSF fte quantity based on the information of the given appointment funding |
BigDecimal |
calculateFteQuantity(Integer payMonth,
Integer fundingMonth,
BigDecimal requestedTimePercent)
calculate the FTE quantity through the given information |
BigDecimal |
calculateFteQuantityFromAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
calculate the fte quantity based on the information of the given appointment funding |
BigDecimal |
calculateHourlyPayRate(PendingBudgetConstructionAppointmentFunding appointmentFunding)
calculate the hourly pay rate from the request amount in the given appointment funding |
boolean |
canBeVacant(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings,
PendingBudgetConstructionAppointmentFunding appointmentFunding)
determine whehter the given appointment funding can be vacated |
boolean |
canBeVacant(PendingBudgetConstructionAppointmentFunding appointmentFunding)
determine whether the given appointment funding can be vacated |
PendingBudgetConstructionAppointmentFunding |
findAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings,
PendingBudgetConstructionAppointmentFunding appointmentFunding)
find the appointment funding from the given appointment funding collection, which has the same key information as the specified appointment funding |
PendingBudgetConstructionAppointmentFunding |
findVacantAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings,
PendingBudgetConstructionAppointmentFunding vacantAppointmentFunding)
find the appointment funding from the given appointment funding collection, which has the same key information as the specified vacant appointment funding |
boolean |
hasExistingFundingReason(BudgetConstructionAppointmentFundingReasonCode budgetConstructionAppointmentFundingReasonCode)
checks if a reason code has existing appointment funding reasons |
boolean |
isHourlyPaid(PendingBudgetConstructionAppointmentFunding appointmentFunding)
determine whehter the given appointment funding is paid at a biweekly or hourly rate |
boolean |
isHourlyPaid(PendingBudgetConstructionGeneralLedger pendingBudgetConstructionGeneralLedger)
determine whehter the given pending budget construction general ledger is paid at a biweekly or hourly rate |
boolean |
isHourlyPaidObject(Integer fiscalYear,
String chartOfAccountsCode,
String objectCode)
determine whehter the given object code is of a biweekly or hourly pay type |
boolean |
isSalarySettingDisabled()
This method returns the disabled setting of the System Parameter controlling Budget module Salary Setting. |
void |
markAsDelete(PendingBudgetConstructionAppointmentFunding appointmentFunding)
mark the given appointment funding as deleted |
void |
normalizePayRateAndAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding)
normalize the hourly pay rate and annual pay amount of the given appointment funding |
void |
purgeAppointmentFundings(List<PendingBudgetConstructionAppointmentFunding> purgedAppointmentFundings)
permanently delete the given appointment funding lines being purged |
void |
recalculateDerivedInformation(PendingBudgetConstructionAppointmentFunding appointmentFunding)
update the fields with the values that can be derived from the existing information, for example, hourly rate and FTE |
void |
resetAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
reset the given appointment funcding as deleted |
List<PendingBudgetConstructionAppointmentFunding> |
retrievePendingBudgetConstructionAppointmentFundings(SalarySettingExpansion salarySettingExpansion)
retrieve a list of PendingBudgetConstructionAppointmentFunding from the information provided by the given SalarySettingExpansion |
SalarySettingExpansion |
retriveSalarySalarySettingExpansion(PendingBudgetConstructionAppointmentFunding appointmentFunding)
retrive the salary setting expension from the information provided by the given appointment funding |
void |
revert(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings,
PendingBudgetConstructionAppointmentFunding appointmentFunding)
revert the given appointment funding if it is just vacated |
void |
saveAppointmentFundings(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings)
save the given appointment fundings |
void |
savePBGLSalarySetting(SalarySettingExpansion salarySettingExpansion)
save the pending budget general ledger rows associated with a given salary setting expansion this also handles updating the special 2PLG row |
void |
saveSalarySetting(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings,
Boolean isSalarySettingByIncumbent)
save the given appointment fundings and associated salary setting expansion, also known as, pending budget general ledger row |
void |
saveSalarySetting(SalarySettingExpansion salarySettingExpansion)
save the salary setting and its associated appointment funding |
boolean |
updateAccessOfAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding,
SalarySettingFieldsHolder salarySettingFieldsHolder,
boolean budgetByObjectMode,
boolean hasDocumentEditAccess,
org.kuali.rice.kim.bo.Person person)
update the access flags of the given appointment funding according to the given information |
boolean |
updateAccessOfAppointmentFundingByUserLevel(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kim.bo.Person person)
update the access flags of the given appointment funding according to the user level and document organization level |
void |
updateAppointmentFundingsBeforeSaving(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings)
update the fields before saving the given appointment fundings |
PendingBudgetConstructionAppointmentFunding |
vacateAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings,
PendingBudgetConstructionAppointmentFunding appointmentFunding)
vacate the given appointment funding, create a vacant appointment funding based on the given funding, and add the vacant line into the given appointment funding collection |
PendingBudgetConstructionAppointmentFunding |
vacateAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
vacate the given appointment funding and create a vacant appointment funding based on the given funding |
Method Detail |
---|
boolean isSalarySettingDisabled()
boolean isHourlyPaid(PendingBudgetConstructionGeneralLedger pendingBudgetConstructionGeneralLedger)
pendingBudgetConstructionGeneralLedger
- the given pending budget construction general ledger
boolean isHourlyPaid(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment funding
boolean isHourlyPaidObject(Integer fiscalYear, String chartOfAccountsCode, String objectCode)
fiscalYear
- the given fiscal yearchartOfAccountsCode
- the given chart of accounts codeobjectCode
- the given object code
BigDecimal calculateHourlyPayRate(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given apporintment funding
org.kuali.rice.kns.util.KualiInteger calculateAnnualPayAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given apporintment funding
void normalizePayRateAndAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment fundingBigDecimal calculateFteQuantityFromAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment funding
BigDecimal calculateFteQuantity(Integer payMonth, Integer fundingMonth, BigDecimal requestedTimePercent)
payMonth
- the given number of pay monthsfundingMonth
- the given number of funding monthsrequestedTimePercent
- the requested FTE time percent
BigDecimal calculateCSFFteQuantityFromAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
-
BigDecimal calculateCSFFteQuantity(Integer payMonth, Integer normalWorkMonth, BigDecimal requestedCSFTimePercent)
payMonth
- the given number of pay monthsnormalWorkMonth
- the given number of normal work monthsrequestedCSFTimePercent
- the requested CSF time percent
boolean canBeVacant(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment funding
boolean canBeVacant(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFundings
- the given appointment funding collection that the given appointment funding belongs toappointmentFunding
- the given appointment funding
PendingBudgetConstructionAppointmentFunding vacateAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given apporintment funding
PendingBudgetConstructionAppointmentFunding vacateAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFundings
- the given appointment funding collection that the given appointment funding belongs toappointmentFunding
- the given apporintment funding
void purgeAppointmentFundings(List<PendingBudgetConstructionAppointmentFunding> purgedAppointmentFundings)
purgedAppointmentFundings
- the given appointment funding collection being purgedPendingBudgetConstructionAppointmentFunding findVacantAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding vacantAppointmentFunding)
appointmentFundings
- the given appointment funding collectionvacantAppointmentFunding
- the given vacant apporintment funding
PendingBudgetConstructionAppointmentFunding findAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFundings
- the given appointment funding collectionvacantAppointmentFunding
- the given apporintment funding
void adjustRequestedSalaryByAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment fundingvoid adjustRequestedSalaryByPercent(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment fundingvoid saveSalarySetting(SalarySettingExpansion salarySettingExpansion)
salarySettingExpansion
- the given salary setting expansion, a pending budget construction GL objectvoid savePBGLSalarySetting(SalarySettingExpansion salarySettingExpansion)
salarySettingExpansion
- void saveSalarySetting(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, Boolean isSalarySettingByIncumbent)
appointmentFundings
- isSalarySettingByIncumbent
- void saveAppointmentFundings(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings)
appointmentFundings
- the given appointment funding collectionvoid resetAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment funcdingvoid markAsDelete(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment fundingvoid revert(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFundings
- the given appointment funding collectionappointmentFunding
- the given appointment fundingSalarySettingExpansion retriveSalarySalarySettingExpansion(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFunding
- the given appointment funding
List<PendingBudgetConstructionAppointmentFunding> retrievePendingBudgetConstructionAppointmentFundings(SalarySettingExpansion salarySettingExpansion)
salarySettingExpansion
-
boolean updateAccessOfAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding, SalarySettingFieldsHolder salarySettingFieldsHolder, boolean budgetByObjectMode, boolean hasDocumentEditAccess, org.kuali.rice.kim.bo.Person person)
appointmentFunding
- the given appointment fundingsalarySettingFieldsHolder
- the field holder that contains the values passed from the userbudgetByObjectMode
- the budget by object mode flaghasDocumentEditAccess
- indicates whether the user has edit permission for the budget document (for budget by object)person
- the specified user
boolean updateAccessOfAppointmentFundingByUserLevel(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kim.bo.Person person)
appointmentFunding
- the given appointment fundingperson
- the specified user
void updateAppointmentFundingsBeforeSaving(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings)
appointmentFundings
- the given collection of appointment fundingsvoid recalculateDerivedInformation(PendingBudgetConstructionAppointmentFunding appointmentFunding)
appointmentFundings
- the given appointment fundingboolean hasExistingFundingReason(BudgetConstructionAppointmentFundingReasonCode budgetConstructionAppointmentFundingReasonCode)
budgetConstructionAppointmentFundingReasonCode
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |