public class DisbursementVoucherPayeeServiceImpl extends Object implements DisbursementVoucherPayeeService
DisbursementVoucherPayeeService
Modifier and Type | Field and Description |
---|---|
static String |
addressPattern |
Constructor and Description |
---|
DisbursementVoucherPayeeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildAddressValueDifferenceText(String valueName,
String oldValue,
String newValue)
This method...
|
protected org.kuali.rice.krad.bo.AdHocRoutePerson |
buildFyiRecipient(String userId)
This method...
|
protected String |
buildPayeeChangedNoteText(DisbursementVoucherPayeeDetail newPayeeDetail,
DisbursementVoucherPayeeDetail oldPayeeDetail)
Creates text for a note which records changes to the payee
|
void |
checkPayeeAddressForChanges(DisbursementVoucherDocument dvDoc) |
protected FinancialSystemTransactionalDocumentAuthorizerBase |
getDocumentAuthorizer(DisbursementVoucherDocument dvDoc)
Constructs a document authorizer for this class
|
Map<String,String> |
getFieldConversionBetweenPayeeAndPerson()
convert the field names between Payee and Person
|
Map<String,String> |
getFieldConversionBetweenPayeeAndVendor()
convert the field names between Payee and Vendor
|
DisbursementPayee |
getPayeeFromPerson(org.kuali.rice.kim.api.identity.Person person)
build a payee object from the given person object
|
DisbursementPayee |
getPayeeFromVendor(VendorDetail vendorDetail)
build a payee object from the given vendor object
|
String |
getPayeeTypeDescription(String payeeTypeCode)
find the payee type description corresponding to the given payee type code
|
String |
getVendorOwnershipTypeCode(DisbursementPayee payee)
get the ownership type code if the given payee is a vendor
|
protected String |
getVendorTypeDescription(String vendorTypeCode) |
boolean |
isEmployee(DisbursementPayee payee)
determine whether the given payee is an employee
|
boolean |
isEmployee(DisbursementVoucherPayeeDetail dvPayeeDetail)
determine whether the given payee is an employee
|
boolean |
isPayeeIndividualVendor(DisbursementPayee payee)
determine whether the given payee is an individual vendor
|
boolean |
isPayeeIndividualVendor(DisbursementVoucherPayeeDetail dvPayeeDetail)
determine whether the given payee is an individual vendor
|
protected boolean |
isPayeeIndividualVendor(String payeeIdNumber) |
boolean |
isVendor(DisbursementPayee payee)
determine whether the given payee is a vendor
|
boolean |
isVendor(DisbursementVoucherPayeeDetail dvPayeeDetail)
determine whether the given payee is a vendor
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value.
|
void |
setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
Sets the documentService attribute value.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the parameterService attribute value.
|
protected void |
setupFYIs(DisbursementVoucherDocument dvDoc,
Set<org.kuali.rice.kim.api.identity.Person> priorApprovers,
String initiatorUserId)
Creates FYI requests to previous approvers
|
void |
setVendorService(VendorService vendorService)
Sets the vendorService attribute value.
|
public static final String addressPattern
public DisbursementVoucherPayeeServiceImpl()
public String getPayeeTypeDescription(String payeeTypeCode)
DisbursementVoucherPayeeService
getPayeeTypeDescription
in interface DisbursementVoucherPayeeService
payeeTypeCode
- the given payee type codeDisbursementVoucherPayeeService.getPayeeTypeDescription(java.lang.String)
public boolean isEmployee(DisbursementVoucherPayeeDetail dvPayeeDetail)
DisbursementVoucherPayeeService
isEmployee
in interface DisbursementVoucherPayeeService
dvPayeeDetail
- the given payeeDisbursementVoucherPayeeService.isEmployee(org.kuali.ole.fp.businessobject.DisbursementVoucherPayeeDetail)
public boolean isEmployee(DisbursementPayee payee)
DisbursementVoucherPayeeService
isEmployee
in interface DisbursementVoucherPayeeService
payee
- the given payeeDisbursementVoucherPayeeService.isEmployee(org.kuali.ole.fp.businessobject.DisbursementPayee)
public boolean isVendor(DisbursementVoucherPayeeDetail dvPayeeDetail)
DisbursementVoucherPayeeService
isVendor
in interface DisbursementVoucherPayeeService
dvPayeeDetail
- the given payeeDisbursementVoucherPayeeService.isVendor(org.kuali.ole.fp.businessobject.DisbursementVoucherPayeeDetail)
public boolean isVendor(DisbursementPayee payee)
DisbursementVoucherPayeeService
isVendor
in interface DisbursementVoucherPayeeService
payee
- the given payeeDisbursementVoucherPayeeService.isVendor(org.kuali.ole.fp.businessobject.DisbursementPayee)
public boolean isPayeeIndividualVendor(DisbursementVoucherPayeeDetail dvPayeeDetail)
DisbursementVoucherPayeeService
isPayeeIndividualVendor
in interface DisbursementVoucherPayeeService
dvPayeeDetail
- the given payeeDisbursementVoucherPayeeService.isPayeeIndividualVendor(org.kuali.ole.fp.businessobject.DisbursementVoucherPayeeDetail)
public boolean isPayeeIndividualVendor(DisbursementPayee payee)
DisbursementVoucherPayeeService
isPayeeIndividualVendor
in interface DisbursementVoucherPayeeService
payee
- the given payeeDisbursementVoucherPayeeService.isPayeeIndividualVendor(org.kuali.ole.fp.businessobject.DisbursementPayee)
public String getVendorOwnershipTypeCode(DisbursementPayee payee)
DisbursementVoucherPayeeService
getVendorOwnershipTypeCode
in interface DisbursementVoucherPayeeService
payee
- the given payeeDisbursementVoucherPayeeService.getVendorOwnershipTypeCode(org.kuali.ole.fp.businessobject.DisbursementPayee)
public void checkPayeeAddressForChanges(DisbursementVoucherDocument dvDoc)
public Map<String,String> getFieldConversionBetweenPayeeAndVendor()
DisbursementVoucherPayeeService
getFieldConversionBetweenPayeeAndVendor
in interface DisbursementVoucherPayeeService
DisbursementVoucherPayeeService.getFieldConversionBetweenPayeeAndVendor()
public Map<String,String> getFieldConversionBetweenPayeeAndPerson()
DisbursementVoucherPayeeService
getFieldConversionBetweenPayeeAndPerson
in interface DisbursementVoucherPayeeService
DisbursementVoucherPayeeService.getFieldConversionBetweenPayeeAndPerson()
public DisbursementPayee getPayeeFromVendor(VendorDetail vendorDetail)
DisbursementVoucherPayeeService
getPayeeFromVendor
in interface DisbursementVoucherPayeeService
vendorDetail
- the given vendor objectDisbursementVoucherPayeeService.getPayeeFromVendor(org.kuali.ole.vnd.businessobject.VendorDetail)
public DisbursementPayee getPayeeFromPerson(org.kuali.rice.kim.api.identity.Person person)
DisbursementVoucherPayeeService
getPayeeFromPerson
in interface DisbursementVoucherPayeeService
person
- the given person objectDisbursementVoucherPayeeService.getPayeeFromPerson(org.kuali.rice.kim.api.identity.Person)
protected String buildPayeeChangedNoteText(DisbursementVoucherPayeeDetail newPayeeDetail, DisbursementVoucherPayeeDetail oldPayeeDetail)
newPayeeDetail
- the changed payee detailoldPayeeDetail
- the original payee detailprotected String buildAddressValueDifferenceText(String valueName, String oldValue, String newValue)
valueName
- oldValue
- newValue
- protected void setupFYIs(DisbursementVoucherDocument dvDoc, Set<org.kuali.rice.kim.api.identity.Person> priorApprovers, String initiatorUserId)
dvDoc
- the document where the payee address has changedpriorApprovers
- the previous approversinitiatorUserId
- the id of the initiatorprotected FinancialSystemTransactionalDocumentAuthorizerBase getDocumentAuthorizer(DisbursementVoucherDocument dvDoc)
protected org.kuali.rice.krad.bo.AdHocRoutePerson buildFyiRecipient(String userId)
userId
- protected String getVendorTypeDescription(String vendorTypeCode)
protected boolean isPayeeIndividualVendor(String payeeIdNumber)
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.public void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
documentService
- The documentService to set.public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
dataDictionaryService
- The dataDictionaryService to set.public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService
- The parameterService to set.public void setVendorService(VendorService vendorService)
vendorService
- The vendorService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.