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

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.sys.document.validation.impl.AccountingLineAccessibleValidation
              extended by org.kuali.kfs.module.purap.document.validation.impl.PurchasingAccountsPayableAccountingLineAccessibleValidation
All Implemented Interfaces:
Validation
Direct Known Subclasses:
PurchaseOrderAccountingLineAccessibleValidation, PurchaseOrderAmendmentAccountingLineAccessibleValidation, RequisitionAccountingLineAccessibleValidation

public class PurchasingAccountsPayableAccountingLineAccessibleValidation
extends AccountingLineAccessibleValidation

A validation that checks whether the given accounting line is accessible to the given user or not


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.kfs.sys.document.validation.impl.AccountingLineAccessibleValidation
AccountingLineAccessibleValidation.AccountingLineAction
 
Field Summary
 
Fields inherited from class org.kuali.kfs.sys.document.validation.impl.AccountingLineAccessibleValidation
accountingDocumentForValidation, accountingLineForValidation, dataDictionaryService
 
Constructor Summary
PurchasingAccountsPayableAccountingLineAccessibleValidation()
           
 
Method Summary
protected  String getAccountingLineCollectionProperty()
          Determines the property of the accounting line collection from the error prefixes
protected static List getCurrentRouteLevels(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument workflowDocument)
          Determines the route levels for a given document.
protected  String getGroupName()
          Returns the name of the accounting line group which holds the proper authorizer to do the KIM check
 
Methods inherited from class org.kuali.kfs.sys.document.validation.impl.AccountingLineAccessibleValidation
convertEventToMessage, getAccountingDocumentForValidation, getAccountingLineForValidation, getDataDictionaryService, lookupAccountingLineAuthorizer, setAccountingDocumentForValidation, setAccountingLineForValidation, setDataDictionaryService, validate
 
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

PurchasingAccountsPayableAccountingLineAccessibleValidation

public PurchasingAccountsPayableAccountingLineAccessibleValidation()
Method Detail

getCurrentRouteLevels

protected static List getCurrentRouteLevels(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument workflowDocument)
Determines the route levels for a given document.

Parameters:
workflowDocument - The workflow document from which the current route levels are to be obtained.
Returns:
List The List of current route levels of the given document.

getGroupName

protected String getGroupName()
Description copied from class: AccountingLineAccessibleValidation
Returns the name of the accounting line group which holds the proper authorizer to do the KIM check

Overrides:
getGroupName in class AccountingLineAccessibleValidation
Returns:
the name of the accouting line group to get the authorizer from

getAccountingLineCollectionProperty

protected String getAccountingLineCollectionProperty()
Description copied from class: AccountingLineAccessibleValidation
Determines the property of the accounting line collection from the error prefixes

Overrides:
getAccountingLineCollectionProperty in class AccountingLineAccessibleValidation
Returns:
the accounting line collection property


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