|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperServiceImpl
public class BudgetConstructionRuleHelperServiceImpl
implementing the validation methods defined in BudgetConstructionRuleHelperService
Constructor Summary | |
---|---|
BudgetConstructionRuleHelperServiceImpl()
|
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 |
void |
setBudgetDocumentService(BudgetDocumentService budgetDocumentService)
Sets the budgetDocumentService attribute value. |
void |
setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
Sets the dictionaryValidationService attribute value. |
void |
setLaborModuleService(LaborModuleService laborModuleService)
Sets the laborModuleService attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BudgetConstructionRuleHelperServiceImpl()
Method Detail |
---|
public boolean hasDetailPositionRequiredObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
hasDetailPositionRequiredObjectCode
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#hasDetailPositionRequiredObjectCode(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean hasValidAccount(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
hasValidAccount
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#hasValidAccount(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean hasValidChart(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
hasValidChart
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#hasValidChart(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean hasValidIncumbent(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
hasValidIncumbent
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#hasValidIncumbent(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean hasValidObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
hasValidObjectCode
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#hasValidObjectCode(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean hasValidPosition(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
hasValidPosition
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#hasValidPosition(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean hasValidSubAccount(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
hasValidSubAccount
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#hasValidSubAccount(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean hasValidSubObjectCode(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
hasValidSubObjectCode
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the error map that contains errors if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#hasValidSubObjectCode(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean isAssociatedWithValidDocument(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isAssociatedWithValidDocument
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isAssociatedWithValidDocument(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isBudgetableDocument(BudgetConstructionDocument budgetConstructionDocument, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isBudgetableDocument
in interface BudgetConstructionRuleHelperService
budgetConstructionDocument
- the given budget documenterrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isBudgetableDocument(org.kuali.kfs.module.bc.document.BudgetConstructionDocument,
org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isDetailPositionRequiredObjectCode(ObjectCode financialObject, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isDetailPositionRequiredObjectCode
in interface BudgetConstructionRuleHelperService
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
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#isDetailPositionRequiredObjectCode(org.kuali.kfs.coa.businessobject.ObjectCode,
java.lang.String, org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isFieldFormatValid(PendingBudgetConstructionAppointmentFunding appointmentFunding, org.kuali.rice.kns.util.MessageMap errorMap)
BudgetConstructionRuleHelperService
isFieldFormatValid
in interface BudgetConstructionRuleHelperService
appointmentFunding
- the given appointment fundingerrorMap
- the given error map that can hold the error message if any
org.kuali.kfs.module.bc.document.service.BudgetConstructionRuleHelperService#isFieldFormatValid(org.kuali.kfs.module.bc.businessobject.PendingBudgetConstructionAppointmentFunding,
org.kuali.core.util.ErrorMap)
public boolean isValidAccount(Account account, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isValidAccount
in interface BudgetConstructionRuleHelperService
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
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isValidAccount(org.kuali.kfs.coa.businessobject.Account,
java.lang.String, org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isValidChart(Chart chart, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isValidChart
in interface BudgetConstructionRuleHelperService
chart
- the given charterrorMap
- the given error map that can hold the error message if anyerrorPropertyName
- the specified property name that is tested
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isValidChart(org.kuali.kfs.coa.businessobject.Chart,
java.lang.String, org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isValidIncumbent(BudgetConstructionIntendedIncumbent intendedIncumbent, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isValidIncumbent
in interface BudgetConstructionRuleHelperService
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
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isValidIncumbent(org.kuali.kfs.module.bc.businessobject.BudgetConstructionIntendedIncumbent,
java.lang.String, org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isValidObjectCode(ObjectCode objectCode, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isValidObjectCode
in interface BudgetConstructionRuleHelperService
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
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isValidObjectCode(org.kuali.kfs.coa.businessobject.ObjectCode,
java.lang.String, org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isValidPosition(BudgetConstructionPosition position, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isValidPosition
in interface BudgetConstructionRuleHelperService
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
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isValidPosition(org.kuali.kfs.module.bc.businessobject.BudgetConstructionPosition,
java.lang.String, org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isValidSubAccount(SubAccount subAccount, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isValidSubAccount
in interface BudgetConstructionRuleHelperService
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
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isValidSubAccount(org.kuali.kfs.coa.businessobject.SubAccount,
java.lang.String, org.kuali.core.util.ErrorMap, java.lang.String)
public boolean isValidSubObjectCode(SubObjectCode subObjectCode, String currentValue, org.kuali.rice.kns.util.MessageMap errorMap, String errorPropertyName)
BudgetConstructionRuleHelperService
isValidSubObjectCode
in interface BudgetConstructionRuleHelperService
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
org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionRuleHelperService#isValidSubObjectCode(org.kuali.kfs.coa.businessobject.SubObjCd,
java.lang.String, org.kuali.core.util.ErrorMap, java.lang.String)
public void setBudgetDocumentService(BudgetDocumentService budgetDocumentService)
budgetDocumentService
- The budgetDocumentService to set.public void setDictionaryValidationService(org.kuali.rice.kns.service.DictionaryValidationService dictionaryValidationService)
dictionaryValidationService
- The dictionaryValidationService to set.public void setLaborModuleService(LaborModuleService laborModuleService)
laborModuleService
- The laborModuleService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |