|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.fp.document.service.impl.DisbursementVoucherPaymentReasonServiceImpl
public class DisbursementVoucherPaymentReasonServiceImpl
implementing the service methods defined in DisbursementVoucherPaymentReasonService
DisbursementVoucherPaymentReasonService
Field Summary | |
---|---|
org.kuali.rice.kns.service.ParameterService |
parameterService
|
Constructor Summary | |
---|---|
DisbursementVoucherPaymentReasonServiceImpl()
|
Method Summary | |
---|---|
protected String |
convertListToString(List<String> list)
|
protected String |
getDescriptivePayeeTypesAsString(List<String> payeeTypeCodes)
|
List<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 |
List<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,
List<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.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setDisbursementVoucherPayeeService(DisbursementVoucherPayeeService disbursementVoucherPayeeService)
Sets the disbursementVoucherPayeeService attribute value. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public org.kuali.rice.kns.service.ParameterService parameterService
Constructor Detail |
---|
public DisbursementVoucherPaymentReasonServiceImpl()
Method Detail |
---|
public boolean isPayeeQualifiedForPayment(DisbursementPayee payee, String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isPayeeQualifiedForPayment
in interface DisbursementVoucherPaymentReasonService
payee
- the given payeepaymentReasonCode
- the givne payment reason code
DisbursementVoucherPaymentReasonService.isPayeeQualifiedForPayment(org.kuali.kfs.fp.businessobject.DisbursementPayee,
java.lang.String)
public boolean isPayeeQualifiedForPayment(DisbursementPayee payee, String paymentReasonCode, List<String> payeeTypeCodes)
DisbursementVoucherPaymentReasonService
isPayeeQualifiedForPayment
in interface DisbursementVoucherPaymentReasonService
payee
- the given payeepaymentReasonCode
- the givne payment reason codepayeeTypeCodes
- the given payee type codes
DisbursementVoucherPaymentReasonService.isPayeeQualifiedForPayment(org.kuali.kfs.fp.businessobject.DisbursementPayee,
java.lang.String, java.util.List)
public boolean isMovingPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isMovingPaymentReason
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the givne payment reason code
DisbursementVoucherPaymentReasonService.isMovingPaymentReason(java.lang.String)
public boolean isPrepaidTravelPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isPrepaidTravelPaymentReason
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the givne payment reason code
DisbursementVoucherPaymentReasonService.isPrepaidTravelPaymentReason(java.lang.String)
public boolean isNonEmployeeTravelPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isNonEmployeeTravelPaymentReason
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the givne payment reason code
DisbursementVoucherPaymentReasonService.isNonEmployeeTravelPaymentReason(java.lang.String)
public boolean isResearchPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isResearchPaymentReason
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the givne payment reason code
DisbursementVoucherPaymentReasonService.isResearchPaymentReason(java.lang.String)
public boolean isRevolvingFundPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isRevolvingFundPaymentReason
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the givne payment reason code
DisbursementVoucherPaymentReasonService.isRevolvingFundPaymentReason(java.lang.String)
public boolean isDecedentCompensationPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isDecedentCompensationPaymentReason
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the givne payment reason code
DisbursementVoucherPaymentReasonService.isDecedentCompensationPaymentReason(java.lang.String)
public boolean isPaymentReasonOfType(String typeParameterName, String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isPaymentReasonOfType
in interface DisbursementVoucherPaymentReasonService
typeParameterName
- the given type parameter namepaymentReasonCode
- the given reason code
DisbursementVoucherPaymentReasonService.isPaymentReasonOfType(java.lang.String,
java.lang.String)
public String getReserchNonVendorPayLimit()
DisbursementVoucherPaymentReasonService
getReserchNonVendorPayLimit
in interface DisbursementVoucherPaymentReasonService
DisbursementVoucherPaymentReasonService.getReserchNonVendorPayLimit()
public List<String> getPayeeTypesByPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
getPayeeTypesByPaymentReason
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the given payment reason
DisbursementVoucherPaymentReasonService.getPayeeTypesByPaymentReason(java.lang.String)
public List<String> getVendorOwnershipTypesByPaymentReason(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
getVendorOwnershipTypesByPaymentReason
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the given payment reason code
DisbursementVoucherPaymentReasonService.getVendorOwnershipTypesByPaymentReason(java.lang.String)
public PaymentReasonCode getPaymentReasonByPrimaryId(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
getPaymentReasonByPrimaryId
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the given payment reason
DisbursementVoucherPaymentReasonService.getPaymentReasonByPrimaryId(java.lang.String)
public boolean isTaxReviewRequired(String paymentReasonCode)
DisbursementVoucherPaymentReasonService
isTaxReviewRequired
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- the given payment reason
DisbursementVoucherPaymentReasonService.isTaxReviewRequired(java.lang.String)
public void postPaymentReasonCodeUsage(String paymentReasonCode, org.kuali.rice.kns.util.MessageList messageList)
DisbursementVoucherPaymentReasonService
postPaymentReasonCodeUsage
in interface DisbursementVoucherPaymentReasonService
paymentReasonCode
- 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(List<String> payeeTypeCodes)
protected String convertListToString(List<String> list)
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService
- The parameterService to set.public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.public void setDisbursementVoucherPayeeService(DisbursementVoucherPayeeService disbursementVoucherPayeeService)
disbursementVoucherPayeeService
- The disbursementVoucherPayeeService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |