public class DisbursementVoucherPaymentReasonServiceImpl extends Object implements DisbursementVoucherPaymentReasonService
| Modifier and Type | Field and Description | 
|---|---|
| protected org.kuali.rice.krad.service.BusinessObjectService | businessObjectService | 
| protected DisbursementVoucherPayeeService | disbursementVoucherPayeeService | 
| protected org.kuali.rice.coreservice.framework.parameter.ParameterService | parameterService | 
| Constructor and Description | 
|---|
| DisbursementVoucherPaymentReasonServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | convertListToString(List<String> list) | 
| protected String | getDescriptivePayeeTypesAsString(Collection<String> payeeTypeCodes) | 
| Collection<String> | getPayeeTypesByPaymentReason(String paymentReasonCode)get the payee type codes valid for the given payment reason | 
| PaymentReasonCode | getPaymentReasonByPrimaryId(String paymentReasonCode)get the payment reason with its primary key: the given payment reason code | 
| String | getReserchNonVendorPayLimit()get the payment limit to research non-vendor employee for research payment reason | 
| Collection<String> | getVendorOwnershipTypesByPaymentReason(String paymentReasonCode)get the vendor owership type codes for the given payment reason code | 
| boolean | isDecedentCompensationPaymentReason(String paymentReasonCode)determine whether the given payment reason is a decedent compensation payment reason | 
| boolean | isMovingPaymentReason(String paymentReasonCode)determine whether the given payment reason is a moving payment reason | 
| boolean | isNonEmployeeTravelPaymentReason(String paymentReasonCode)determine whether the given payment reason is a non-employee travel payment reason | 
| boolean | isPayeeQualifiedForPayment(DisbursementPayee payee,
                                                    String paymentReasonCode)determine whether the given payee is qualified for the payment with the given reason code | 
| boolean | isPayeeQualifiedForPayment(DisbursementPayee payee,
                                                    String paymentReasonCode,
                                                    Collection<String> payeeTypeCodes)determine whether the given payee is qualified for the payment with the given reason code and the payee type must be in the
 given payee type code list. | 
| boolean | isPaymentReasonOfType(String typeParameterName,
                                          String paymentReasonCode)determine whether the given payment reason is of type that is specified by the given type parameter name. | 
| boolean | isPrepaidTravelPaymentReason(String paymentReasonCode)determine whether the given payment reason is a prepaid travel payment reason | 
| boolean | isResearchPaymentReason(String paymentReasonCode)determine whether the given payment reason is a research payment reason | 
| boolean | isRevolvingFundPaymentReason(String paymentReasonCode)determine whether the given payment reason is a revolving fund payment reason | 
| boolean | isTaxReviewRequired(String paymentReasonCode)determine whether the given payment reason is required for tax review | 
| void | postPaymentReasonCodeUsage(String paymentReasonCode,
                                                    org.kuali.rice.kns.util.MessageList messageList)post the usage of the given payment reason code into error map | 
| void | setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)Sets the businessObjectService attribute value. | 
| void | setDisbursementVoucherPayeeService(DisbursementVoucherPayeeService disbursementVoucherPayeeService)Sets the disbursementVoucherPayeeService attribute value. | 
| void | setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)Sets the parameterService attribute value. | 
protected org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
protected DisbursementVoucherPayeeService disbursementVoucherPayeeService
public DisbursementVoucherPaymentReasonServiceImpl()
public boolean isPayeeQualifiedForPayment(DisbursementPayee payee, String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisPayeeQualifiedForPayment in interface DisbursementVoucherPaymentReasonServicepayee - the given payeepaymentReasonCode - the givne payment reason codeDisbursementVoucherPaymentReasonService.isPayeeQualifiedForPayment(org.kuali.ole.fp.businessobject.DisbursementPayee,
      java.lang.String)public boolean isPayeeQualifiedForPayment(DisbursementPayee payee, String paymentReasonCode, Collection<String> payeeTypeCodes)
DisbursementVoucherPaymentReasonServiceisPayeeQualifiedForPayment in interface DisbursementVoucherPaymentReasonServicepayee - the given payeepaymentReasonCode - the givne payment reason codepayeeTypeCodes - the given payee type codesorg.kuali.ole.fp.document.service.DisbursementVoucherPaymentReasonService#isPayeeQualifiedForPayment(org.kuali.ole.fp.businessobject.DisbursementPayee,
      java.lang.String, java.util.List)public boolean isMovingPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisMovingPaymentReason in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the givne payment reason codeDisbursementVoucherPaymentReasonService.isMovingPaymentReason(java.lang.String)public boolean isPrepaidTravelPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisPrepaidTravelPaymentReason in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the givne payment reason codeDisbursementVoucherPaymentReasonService.isPrepaidTravelPaymentReason(java.lang.String)public boolean isNonEmployeeTravelPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisNonEmployeeTravelPaymentReason in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the givne payment reason codeDisbursementVoucherPaymentReasonService.isNonEmployeeTravelPaymentReason(java.lang.String)public boolean isResearchPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisResearchPaymentReason in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the givne payment reason codeDisbursementVoucherPaymentReasonService.isResearchPaymentReason(java.lang.String)public boolean isRevolvingFundPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisRevolvingFundPaymentReason in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the givne payment reason codeDisbursementVoucherPaymentReasonService.isRevolvingFundPaymentReason(java.lang.String)public boolean isDecedentCompensationPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisDecedentCompensationPaymentReason in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the givne payment reason codeDisbursementVoucherPaymentReasonService.isDecedentCompensationPaymentReason(java.lang.String)public boolean isPaymentReasonOfType(String typeParameterName, String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisPaymentReasonOfType in interface DisbursementVoucherPaymentReasonServicetypeParameterName - the given type parameter namepaymentReasonCode - the given reason codeDisbursementVoucherPaymentReasonService.isPaymentReasonOfType(java.lang.String,
      java.lang.String)public String getReserchNonVendorPayLimit()
DisbursementVoucherPaymentReasonServicegetReserchNonVendorPayLimit in interface DisbursementVoucherPaymentReasonServiceDisbursementVoucherPaymentReasonService.getReserchNonVendorPayLimit()public Collection<String> getPayeeTypesByPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonServicegetPayeeTypesByPaymentReason in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the given payment reasonDisbursementVoucherPaymentReasonService.getPayeeTypesByPaymentReason(java.lang.String)public Collection<String> getVendorOwnershipTypesByPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonServicegetVendorOwnershipTypesByPaymentReason in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the given payment reason codeDisbursementVoucherPaymentReasonService.getVendorOwnershipTypesByPaymentReason(java.lang.String)public PaymentReasonCode getPaymentReasonByPrimaryId(String paymentReasonCode)
DisbursementVoucherPaymentReasonServicegetPaymentReasonByPrimaryId in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the given payment reasonDisbursementVoucherPaymentReasonService.getPaymentReasonByPrimaryId(java.lang.String)public boolean isTaxReviewRequired(String paymentReasonCode)
DisbursementVoucherPaymentReasonServiceisTaxReviewRequired in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the given payment reasonDisbursementVoucherPaymentReasonService.isTaxReviewRequired(java.lang.String)public void postPaymentReasonCodeUsage(String paymentReasonCode, org.kuali.rice.kns.util.MessageList messageList)
DisbursementVoucherPaymentReasonServicepostPaymentReasonCodeUsage in interface DisbursementVoucherPaymentReasonServicepaymentReasonCode - the given payment reason codemessageList - the message list that will hold the usage of the given payment reasonDisbursementVoucherPaymentReasonService.postPaymentReasonCodeUsage(java.lang.String,
      org.kuali.rice.kns.util.MessageList)protected String getDescriptivePayeeTypesAsString(Collection<String> payeeTypeCodes)
protected String convertListToString(List<String> list)
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService - The parameterService to set.public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.public void setDisbursementVoucherPayeeService(DisbursementVoucherPayeeService disbursementVoucherPayeeService)
disbursementVoucherPayeeService - The disbursementVoucherPayeeService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.