org.kuali.kfs.module.purap.document.validation.impl
Class PurchasingAccountsPayableAccountingLineAccessibleValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
org.kuali.kfs.sys.document.validation.impl.AccountingLineAccessibleValidation
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurchasingAccountsPayableAccountingLineAccessibleValidation
public PurchasingAccountsPayableAccountingLineAccessibleValidation()
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.