org.kuali.kfs.fp.document.authorization
Class ProcurementCardAccountingLineAuthorizer

java.lang.Object
  extended by org.kuali.kfs.sys.document.authorization.AccountingLineAuthorizerBase
      extended by org.kuali.kfs.fp.document.authorization.FinancialProcessingAccountingLineAuthorizer
          extended by org.kuali.kfs.fp.document.authorization.ProcurementCardAccountingLineAuthorizer
All Implemented Interfaces:
AccountingLineAuthorizer

public class ProcurementCardAccountingLineAuthorizer
extends FinancialProcessingAccountingLineAuthorizer


Constructor Summary
ProcurementCardAccountingLineAuthorizer()
           
 
Method Summary
protected  String getAddMethod(AccountingLine accountingLine, String accountingLineProperty)
          Builds the action method name of the method that adds accounting lines for this group
protected  String getBalanceInquiryMethod(AccountingLine accountingLine, String accountingLineProperty, Integer accountingLineIndex)
          Builds the action method name of the method that performs a balance inquiry on accounting lines for this group
protected  String getDeleteLineMethod(AccountingLine accountingLine, String accountingLineProperty, Integer accountingLineIndex)
          Builds the action method name of the method that deletes accounting lines for this group
protected  String getKimHappyPropertyNameForField(String convertedName)
           
protected  String getLineContainer(String accountingLineProperty)
           
protected  String getLineContainerIndex(String accountingLineProperty)
           
 
Methods inherited from class org.kuali.kfs.fp.document.authorization.FinancialProcessingAccountingLineAuthorizer
getUnviewableBlocks, salesTaxUnviewable
 
Methods inherited from class org.kuali.kfs.sys.document.authorization.AccountingLineAuthorizerBase
approvedForUnqualifiedEditing, determineEditPermissionOnField, determineEditPermissionOnLine, getActionInfixForExtantAccountingLine, getActionInfixForNewAccountingLine, getActionLabel, getActionMap, getActions, getAddAction, getBalanceInquiryAction, getDeleteAction, getFieldName, getKFSImagePath, getRiceImagePath, hasEditPermissionOnAccountingLine, hasEditPermissionOnField, isErrorMapContainingErrorsOnLine, isGroupEditable, renderNewLine, replaceCollectionElementsWithPlurals, stripDocumentPrefixFromName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcurementCardAccountingLineAuthorizer

public ProcurementCardAccountingLineAuthorizer()
Method Detail

getKimHappyPropertyNameForField

protected String getKimHappyPropertyNameForField(String convertedName)
Overrides:
getKimHappyPropertyNameForField in class AccountingLineAuthorizerBase
Returns:
a property name that KIM will like
See Also:
AccountingLineAuthorizerBase.getKimHappyPropertyNameForField(java.lang.String)

getDeleteLineMethod

protected String getDeleteLineMethod(AccountingLine accountingLine,
                                     String accountingLineProperty,
                                     Integer accountingLineIndex)
Description copied from class: AccountingLineAuthorizerBase
Builds the action method name of the method that deletes accounting lines for this group

Overrides:
getDeleteLineMethod in class AccountingLineAuthorizerBase
Parameters:
accountingLine - the accounting line an action is being checked for
accountingLineIndex - the index of the given accounting line within the the group being rendered
Returns:
the action method name of the method that deletes accounting lines for this group
See Also:
AccountingLineAuthorizerBase.getDeleteLineMethod(org.kuali.kfs.sys.businessobject.AccountingLine, java.lang.String, java.lang.Integer)

getAddMethod

protected String getAddMethod(AccountingLine accountingLine,
                              String accountingLineProperty)
Description copied from class: AccountingLineAuthorizerBase
Builds the action method name of the method that adds accounting lines for this group

Overrides:
getAddMethod in class AccountingLineAuthorizerBase
Parameters:
accountingLine - the accounting line an action is being checked for
Returns:
the action method name of the method that adds accounting lines for this group
See Also:
org.kuali.kfs.sys.document.authorization.AccountingLineAuthorizerBase#getAddMethod(org.kuali.kfs.sys.businessobject.AccountingLine, java.lang.String, java.lang.Integer)

getBalanceInquiryMethod

protected String getBalanceInquiryMethod(AccountingLine accountingLine,
                                         String accountingLineProperty,
                                         Integer accountingLineIndex)
Description copied from class: AccountingLineAuthorizerBase
Builds the action method name of the method that performs a balance inquiry on accounting lines for this group

Overrides:
getBalanceInquiryMethod in class AccountingLineAuthorizerBase
Parameters:
accountingLine - the accounting line an action is being checked for
accountingLineIndex - the index of the given accounting line within the the group being rendered
Returns:
the action method name of the method that performs a balance inquiry on accounting lines for this group
See Also:
AccountingLineAuthorizerBase.getBalanceInquiryMethod(org.kuali.kfs.sys.businessobject.AccountingLine, java.lang.String, java.lang.Integer)

getLineContainer

protected String getLineContainer(String accountingLineProperty)

getLineContainerIndex

protected String getLineContainerIndex(String accountingLineProperty)


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