org.kuali.kfs.module.purap.document.validation.impl
Class PurchasingChartOrgValidation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.GenericValidation
          extended by org.kuali.kfs.module.purap.document.validation.impl.PurchasingChartOrgValidation
All Implemented Interfaces:
Validation

public class PurchasingChartOrgValidation
extends GenericValidation


Constructor Summary
PurchasingChartOrgValidation()
           
 
Method Summary
 void setChartService(ChartService chartService)
          Sets the chartService attribute value.
 void setOrganizationService(OrganizationService organizationService)
          Sets the organizationService attribute value.
 boolean validate(AttributedDocumentEvent event)
          Validate the chart and organization code prior to submitting the document.
 
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

PurchasingChartOrgValidation

public PurchasingChartOrgValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Validate the chart and organization code prior to submitting the document. This has to be validated to protect against a person with an invalid primary department code.

Returns:
true if validation should continue, false otherwise
See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)

setOrganizationService

public void setOrganizationService(OrganizationService organizationService)
Sets the organizationService attribute value.

Parameters:
organizationService - The organizationService to set.

setChartService

public void setChartService(ChartService chartService)
Sets the chartService attribute value.

Parameters:
chartService - The chartService to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.