|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.sys.document.validation.impl.AccountingLineCheckValidationHutch
public class AccountingLineCheckValidationHutch
| Field Summary | |
|---|---|
protected AccountingDocument |
accountingDocumentForValidation
|
protected String |
accountingDocumentParameterPropertyName
|
protected AccountingLine |
accountingLineForValidation
|
protected String |
accountingLineParameterPropertyName
|
protected Validation |
lineAmountValidation
|
protected Validation |
lineCheckValidation
|
protected Validation |
lineValuesAllowedValidation
|
protected boolean |
quitOnFail
|
| Constructor Summary | |
|---|---|
AccountingLineCheckValidationHutch()
|
|
| Method Summary | |
|---|---|
Validation |
getLineAmountValidation()
Gets the lineAmountValidation attribute. |
Validation |
getLineCheckValidation()
Gets the lineCheckValidation attribute. |
Validation |
getLineValuesAllowedValidation()
Gets the lineValuesAllowedValidation attribute. |
protected void |
grabDocumentAndLineForValidationFromEvent(AttributedDocumentEvent event)
Using the parameter property names set, finds the accounting document and accounting line to be validate from the property. |
void |
setLineAmountValidation(Validation lineAmountValidation)
Sets the lineAmountValidation attribute value. |
void |
setLineCheckValidation(Validation lineCheckValidation)
Sets the lineCheckValidation attribute value. |
void |
setLineValuesAllowedValidation(Validation lineValuesAllowedValidation)
Sets the lineValuesAllowedValidation attribute value. |
void |
setShouldQuitOnFail(boolean b)
Sets whether the validation hutch should quit on the failure of the entire validation case failing. |
boolean |
shouldQuitOnFail()
Returns whether the validation process should quit on the failure of this validation |
boolean |
stageValidation(AttributedDocumentEvent event)
Stages the execution of a Validation |
protected void |
updateValidationsWithParameters()
Updates the child validations with accounting document and accounting line information. |
boolean |
validate(AttributedDocumentEvent event)
This method validates that certain parameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Validation lineAmountValidation
protected Validation lineCheckValidation
protected Validation lineValuesAllowedValidation
protected String accountingDocumentParameterPropertyName
protected String accountingLineParameterPropertyName
protected AccountingDocument accountingDocumentForValidation
protected AccountingLine accountingLineForValidation
protected boolean quitOnFail
| Constructor Detail |
|---|
public AccountingLineCheckValidationHutch()
| Method Detail |
|---|
public boolean shouldQuitOnFail()
Validation
shouldQuitOnFail in interface ValidationValidation.shouldQuitOnFail()public void setShouldQuitOnFail(boolean b)
b - public boolean stageValidation(AttributedDocumentEvent event)
Validation
stageValidation in interface Validationevent - the event the validate
Validation.stageValidation(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)protected void grabDocumentAndLineForValidationFromEvent(AttributedDocumentEvent event)
event - the event to take properties fromprotected void updateValidationsWithParameters()
public boolean validate(AttributedDocumentEvent event)
Validation
validate in interface ValidationValidation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)public Validation getLineAmountValidation()
public void setLineAmountValidation(Validation lineAmountValidation)
lineAmountValidation - The lineAmountValidation to set.public Validation getLineCheckValidation()
public void setLineCheckValidation(Validation lineCheckValidation)
lineCheckValidation - The lineCheckValidation to set.public Validation getLineValuesAllowedValidation()
public void setLineValuesAllowedValidation(Validation lineValuesAllowedValidation)
lineValuesAllowedValidation - The lineValuesAllowedValidation to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||