public class PurchaseOrderAssignSensitiveDataValidation extends GenericValidation
Constructor and Description |
---|
PurchaseOrderAssignSensitiveDataValidation() |
Modifier and Type | Method and Description |
---|---|
PurchaseOrderDocument |
getAccountingDocumentForValidation() |
String |
getSensitiveDataAssignmentReason() |
List<SensitiveData> |
getSensitiveDatasAssigned() |
void |
setAccountingDocumentForValidation(PurchaseOrderDocument accountingDocumentForValidation) |
void |
setSensitiveDataAssignmentReason(String sensitiveDataAssignmentReason) |
void |
setSensitiveDatasAssigned(List<SensitiveData> sensitiveDatasAssigned) |
boolean |
validate(AttributedDocumentEvent event)
Applies rules for validation of sensitive data assignment to the PurchaseOrder document:
The assignment reason must not be empty;
The assigned sensitive data entries must be active and not redundant.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
public PurchaseOrderAssignSensitiveDataValidation()
public boolean validate(AttributedDocumentEvent event)
document
- A PurchaseOrderDocument (or one of its children)public PurchaseOrderDocument getAccountingDocumentForValidation()
public void setAccountingDocumentForValidation(PurchaseOrderDocument accountingDocumentForValidation)
public String getSensitiveDataAssignmentReason()
public void setSensitiveDataAssignmentReason(String sensitiveDataAssignmentReason)
public List<SensitiveData> getSensitiveDatasAssigned()
public void setSensitiveDatasAssigned(List<SensitiveData> sensitiveDatasAssigned)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.