|
||||||||||
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.fp.document.validation.impl.CashReceiptCashDrawerOpenValidation
public class CashReceiptCashDrawerOpenValidation
Validation for the cash receipt document that verifies that the cash drawer is open at approval.
Constructor Summary | |
---|---|
CashReceiptCashDrawerOpenValidation()
|
Method Summary | |
---|---|
CashDrawerService |
getCashDrawerService()
Gets the cashDrawerService attribute. |
CashReceiptFamilyBase |
getCashReceiptDocumentForValidation()
Gets the cashReceiptDocumentForValidation attribute. |
CashReceiptService |
getCashReceiptService()
Gets the cashReceiptService attribute. |
void |
setCashDrawerService(CashDrawerService cashDrawerService)
Sets the cashDrawerService attribute value. |
void |
setCashReceiptDocumentForValidation(CashReceiptFamilyBase cashReceiptFamilyDocumentForValidation)
Sets the cashReceiptDocumentForValidation attribute value. |
void |
setCashReceiptService(CashReceiptService cashReceiptService)
Sets the cashReceiptService attribute value. |
boolean |
validate(AttributedDocumentEvent event)
Makes sure that the cash drawer for the verification unit associated with this CR doc is open. |
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 CashReceiptCashDrawerOpenValidation()
Method Detail |
---|
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)
public CashReceiptFamilyBase getCashReceiptDocumentForValidation()
public void setCashReceiptDocumentForValidation(CashReceiptFamilyBase cashReceiptFamilyDocumentForValidation)
cashReceiptDocumentForValidation
- The cashReceiptDocumentForValidation to set.public CashDrawerService getCashDrawerService()
public void setCashDrawerService(CashDrawerService cashDrawerService)
cashDrawerService
- The cashDrawerService to set.public CashReceiptService getCashReceiptService()
public void setCashReceiptService(CashReceiptService cashReceiptService)
cashReceiptService
- The cashReceiptService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |