|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BudgetConstructionRuleHelperService
define a set of validations methods for buddget construction
Method Summary | |
---|---|
boolean |
hasDetailPositionRequiredObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
test if the given appointment funding is associted with a labor detail allowed object |
boolean |
hasValidAccount(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
test if the given appointment funding is associted with a valid account |
boolean |
hasValidChart(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
test if the given appointment funding is associted with a valid chart of accounts |
boolean |
hasValidIncumbent(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
test if the given appointment funding is associted with a valid incumbent |
boolean |
hasValidObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
test if the given appointment funding is associted with a valid financial object |
boolean |
hasValidPosition(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
test if the given appointment funding is associted with a valid budget position |
boolean |
hasValidSubAccount(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
test if the given appointment funding is associted with a valid sub account |
boolean |
hasValidSubObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
test if the given appointment funding is associted with a valid sub object |
boolean |
isAssociatedWithValidDocument(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
determine whether the given appoinment funding can be associated with a valid budget contruction document |
boolean |
isBudgetableDocument(BudgetConstructionDocument budgetConstructionDocument,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
determine wether the given budget document is allowed to be budgeted |
boolean |
isDetailPositionRequiredObjectCode(ObjectCode financialObject,
String currentValue,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
determine whether the given object requires a detail position |
boolean |
isFieldFormatValid(PendingBudgetConstructionAppointmentFunding appointmentFunding,
org.kuali.rice.kns.util.MessageMap errorMap)
determine if the fields in the given appointment funding line are in the correct formats defined in the data dictionary |
boolean |
isValidAccount(Account account,
String currentValue,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
determine whether the given account is valid |
boolean |
isValidChart(Chart chart,
String currentValue,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
determine whether the given chart is valid |
boolean |
isValidIncumbent(BudgetConstructionIntendedIncumbent intendedIncumbent,
String currentValue,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
determine whether the given budget contruction intended incumbent is valid |
boolean |
isValidObjectCode(ObjectCode objectCode,
String currentValue,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
Runs existence and active tests on the ObjectCode reference This method is differenct than the one in AccountingLineRuleHelper in that it adds the bad value to the errormessage This method signature should probably be added to AccountingLineRuleHelper |
boolean |
isValidPosition(BudgetConstructionPosition position,
String currentValue,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
determine whether the given budget contruction position is valid |
boolean |
isValidSubAccount(SubAccount subAccount,
String currentValue,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
determine whether the given sub account is valid |
boolean |
isValidSubObjectCode(SubObjectCode subObjectCode,
String currentValue,
org.kuali.rice.kns.util.MessageMap errorMap,
String errorPropertyName)
Runs existence and active tests on the SubObjectCode reference This method is differenct than the one in AccountingLineRuleHelper in that it adds the bad value to the errormessage This method signature should probably be added to AccountingLineRuleHelper |
Method Detail |
---|
boolean hasDetailPositionRequiredObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
boolean hasValidAccount(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
boolean hasValidChart(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
boolean hasValidIncumbent(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
boolean hasValidObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
boolean hasValidPosition(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
boolean hasValidSubAccount(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
boolean hasValidSubObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
boolean isAssociatedWithValidDocument(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
appointmentFunding
- the given appointment fundingerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isBudgetableDocument(BudgetConstructionDocument budgetConstructionDocument, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
budgetConstructionDocument
- the given budget documenterrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isDetailPositionRequiredObjectCode(ObjectCode financialObject, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
financialObject
- the given financial objectcurrentValue
- the given current valueerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isFieldFormatValid(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
appointmentFunding
- the given appointment fundingerrorMap
- the given error map that can hold the error message if any
boolean isValidAccount(Account account, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
account
- the given accountcurrentValue
- the given current valueerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isValidChart(Chart chart, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
chart
- the given chartinvalidValue
- the given current valueerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isValidIncumbent(BudgetConstructionIntendedIncumbent intendedIncumbent, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
intendedIncumbent
- the given budget contruction intended incumbentcurrentValue
- the given current valueerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isValidObjectCode(ObjectCode objectCode, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
objectCode
- the given object codecurrentValue
- the given current valueerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isValidPosition(BudgetConstructionPosition position, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
position
- the given budget contruction positioncurrentValue
- the given current valueerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isValidSubAccount(SubAccount subAccount, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
subAccount
- the given sub accountcurrentValue
- the given current valueerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
boolean isValidSubObjectCode(SubObjectCode subObjectCode, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
subObjectCode
- the given sub objectcurrentValue
- the given current valueerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |