|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.module.ld.document.validation.impl.LaborExpenseTransferAccountLineTotalsMatchValidation
public class LaborExpenseTransferAccountLineTotalsMatchValidation
determine whether the given accounting line has already been in the given document
Constructor Summary | |
---|---|
LaborExpenseTransferAccountLineTotalsMatchValidation()
|
Method Summary | |
---|---|
org.kuali.rice.kns.document.Document |
getDocumentForValidation()
Gets the documentForValidation attribute. |
boolean |
isAccountingLineTotalsMatch(List sourceLines,
List targetLines)
This method checks if the total sum amount of the source accounting line matches the total sum amount of the target accounting line, return true if the totals match, false otherwise. |
void |
setDocumentForValidation(org.kuali.rice.kns.document.Document documentForValidation)
Sets the accountingDocumentForValidation attribute value. |
boolean |
validate(AttributedDocumentEvent event)
Validates before the document routes |
Methods inherited from class org.kuali.kfs.sys.document.validation.GenericValidation |
---|
setQuitOnFail, shouldQuitOnFail, stageValidation |
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation |
---|
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LaborExpenseTransferAccountLineTotalsMatchValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
org.kuali.kfs.validation.Validation#validate(java.lang.Object[])
public boolean isAccountingLineTotalsMatch(List sourceLines, List targetLines)
sourceLines
- targetLines
-
public org.kuali.rice.kns.document.Document getDocumentForValidation()
public void setDocumentForValidation(org.kuali.rice.kns.document.Document documentForValidation)
documentForValidation
- The documentForValidation to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |