|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.rules.DocumentRuleBase
org.kuali.rice.kns.rules.TransactionalDocumentRuleBase
org.kuali.kfs.module.ec.document.validation.impl.EffortCertificationDocumentRules
public class EffortCertificationDocumentRules
To define the rules that may be applied to the effort certification document, a transactional document
Field Summary | |
---|---|
protected AccountingLineRuleHelperService |
accountingLineRuleHelperService
|
protected org.kuali.rice.kns.service.BusinessObjectService |
businessObjectService
|
protected EffortCertificationDocumentService |
effortCertificationDocumentService
|
protected EffortCertificationExtractService |
effortCertificationExtractService
|
protected EffortCertificationReportDefinitionService |
effortCertificationReportDefinitionService
|
protected LaborModuleService |
laborModuleService
|
protected static org.apache.log4j.Logger |
LOG
|
Constructor Summary | |
---|---|
EffortCertificationDocumentRules()
|
Method Summary | |
---|---|
protected boolean |
bypassBusinessRuleIfInitiation(EffortCertificationDocument effortCertificationDocument)
determine if the business rule needs to be bypassed. |
protected boolean |
checkDetailLineAttributes(EffortCertificationDetail detailLine)
check if the attributes in the detail line are valid for the defintions in data dictionary and have valid references |
protected boolean |
populateEffortCertificationDocument(EffortCertificationDocument effortCertificationDocument)
determine if the given document can be populated. |
boolean |
processAddDetailLineRules(EffortCertificationDocument document,
EffortCertificationDetail detailLine)
validate the given effort certification detail line before it can be added into the given document |
boolean |
processCheckDetailLineAmountRules(EffortCertificationDocument effortCertificationDocument,
EffortCertificationDetail effortCertificationDetail)
validate the amounts on the given effort certification detail line before it can be processed |
boolean |
processCustomApproveDocumentBusinessRules(org.kuali.rice.kns.rule.event.ApproveDocumentEvent approveEvent)
|
boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
|
boolean |
processLoadDetailLineRules(EffortCertificationDocument effortCertificationDocument)
validate the given effort certification document before a set of detail lines can be added into the given document |
boolean |
processUpdateDetailLineRules(EffortCertificationDocument document,
EffortCertificationDetail detailLine)
validate the given effort certification detail line before it can be updated |
protected void |
reportError(String propertyName,
String errorKey,
String... errorParameters)
|
Methods inherited from class org.kuali.rice.kns.rules.DocumentRuleBase |
---|
getDataDictionaryService, getDictionaryValidationService, getDocumentHelperService, getIdentityManagementService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPersonService, getWorkflowInfoService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setMaxDictionaryValidationDepth, validateSensitiveDataValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
protected EffortCertificationDocumentService effortCertificationDocumentService
protected EffortCertificationReportDefinitionService effortCertificationReportDefinitionService
protected EffortCertificationExtractService effortCertificationExtractService
protected org.kuali.rice.kns.service.BusinessObjectService businessObjectService
protected LaborModuleService laborModuleService
protected AccountingLineRuleHelperService accountingLineRuleHelperService
Constructor Detail |
---|
public EffortCertificationDocumentRules()
Method Detail |
---|
public boolean processAddDetailLineRules(EffortCertificationDocument document, EffortCertificationDetail detailLine)
AddDetailLineRule
processAddDetailLineRules
in interface AddDetailLineRule<EffortCertificationDocument,EffortCertificationDetail>
document
- the given effort certification documentdetailLine
- the given effort certification detail line
AddDetailLineRule.processAddDetailLineRules(org.kuali.kfs.module.ec.document.EffortCertificationDocument,
org.kuali.kfs.module.ec.businessobject.EffortCertificationDetail)
public boolean processUpdateDetailLineRules(EffortCertificationDocument document, EffortCertificationDetail detailLine)
UpdateDetailLineRule
processUpdateDetailLineRules
in interface UpdateDetailLineRule<EffortCertificationDocument,EffortCertificationDetail>
document
- the given effort certification documentdetailLine
- the given effort certification detail line
UpdateDetailLineRule.processUpdateDetailLineRules(org.kuali.kfs.module.ec.document.EffortCertificationDocument,
org.kuali.kfs.module.ec.businessobject.EffortCertificationDetail)
public boolean processCustomApproveDocumentBusinessRules(org.kuali.rice.kns.rule.event.ApproveDocumentEvent approveEvent)
processCustomApproveDocumentBusinessRules
in class org.kuali.rice.kns.rules.DocumentRuleBase
DocumentRuleBase.processCustomApproveDocumentBusinessRules(org.kuali.rice.kns.rule.event.ApproveDocumentEvent)
public boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.kns.rules.DocumentRuleBase
DocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document)
public boolean processCheckDetailLineAmountRules(EffortCertificationDocument effortCertificationDocument, EffortCertificationDetail effortCertificationDetail)
CheckDetailLineAmountRule
processCheckDetailLineAmountRules
in interface CheckDetailLineAmountRule<EffortCertificationDocument,EffortCertificationDetail>
effortCertificationDocument
- the given effort certification documenteffortCertificationDetail
- the given effort certification detail line
CheckDetailLineAmountRule.processCheckDetailLineAmountRules(org.kuali.kfs.module.ec.document.EffortCertificationDocument,
org.kuali.kfs.module.ec.businessobject.EffortCertificationDetail)
public boolean processLoadDetailLineRules(EffortCertificationDocument effortCertificationDocument)
LoadDetailLineRule
processLoadDetailLineRules
in interface LoadDetailLineRule<EffortCertificationDocument>
effortCertificationDocument
- the given effort certification document
LoadDetailLineRule.processLoadDetailLineRules(org.kuali.kfs.module.ec.document.EffortCertificationDocument)
protected boolean checkDetailLineAttributes(EffortCertificationDetail detailLine)
detailLine
- the given effort certification detail line
protected boolean bypassBusinessRuleIfInitiation(EffortCertificationDocument effortCertificationDocument)
effortCertificationDocument
- the given document
protected boolean populateEffortCertificationDocument(EffortCertificationDocument effortCertificationDocument)
effortCertificationDocument
- the given document
protected void reportError(String propertyName, String errorKey, String... errorParameters)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |