public interface ElectronicPaymentClaimingService
Modifier and Type | Method and Description |
---|---|
void |
claimElectronicPayments(List<ElectronicPaymentClaim> payments,
String documentNumber)
Sets the referenceFinancialDocumentNumber on each of the payments passed in with the given document number and then saves
them.
|
List<String> |
constructNoteTextsForClaims(List<ElectronicPaymentClaim> claims)
Constructs a List of Notes that detail which ElectronicPaymentClaim records have been claimed by a document
|
String |
createPaymentClaimingDocument(List<ElectronicPaymentClaim> claims,
ElectronicPaymentClaimingDocumentGenerationStrategy documentCreationHelper,
org.kuali.rice.kim.api.identity.Person user)
Given a List of ElectronicPaymentClaim records and a ElectronicPaymentClaimingDocumentGenerationStrategy document helper
implementation, creates a document that will claim; this method should also do the work of "claiming" each of the given
ElectronicPaymentClaim records by filling in their referenceFinancialDocumentNumber field.
|
void |
declaimElectronicPaymentClaimsForDocument(org.kuali.rice.krad.document.Document document)
Unclaims all ElectronicPaymentClaim records claimed by the given document, by setting the ElectronicPaymentClaim's reference
document to null.
|
List<ElectronicPaymentClaim> |
generateElectronicPaymentClaimRecords(AdvanceDepositDocument doc)
Returns a list of SAVED electronic payment claims from the lines of an AdvanceDepositDocument
|
List<ElectronicPaymentClaimingDocumentGenerationStrategy> |
getClaimingDocumentChoices(org.kuali.rice.kim.api.identity.Person user)
Returns a list of which document types the given user can claim Electronic Payment Claims with.
|
boolean |
isAuthorizedForClaimingElectronicPayment(org.kuali.rice.kim.api.identity.Person user,
String workflowDocumentTypeName)
check whether the given user has permission to claim eletronic payment for the given document type defined in the specified
namespace
|
boolean |
representsElectronicFundAccount(AccountingLine accountingLine)
Determines if the given accounting line represents an electronic payment
|
List<String> constructNoteTextsForClaims(List<ElectronicPaymentClaim> claims)
claims
- the ElectronicPaymentClaim record that will be claimed by a documentclaimingUser
- the user who's actually claiming ElectronicPaymentClaim recordsList<ElectronicPaymentClaimingDocumentGenerationStrategy> getClaimingDocumentChoices(org.kuali.rice.kim.api.identity.Person user)
user
- the user attempting to use a document to claim ElectronicPaymentClaim recordsString createPaymentClaimingDocument(List<ElectronicPaymentClaim> claims, ElectronicPaymentClaimingDocumentGenerationStrategy documentCreationHelper, org.kuali.rice.kim.api.identity.Person user)
claims
- the List of ElectronicPaymentClaim records to claim with a documentdocumentCreationHelper
- the document helper which will help this method in constructing the claiming documentuser
- the Person record of the user who is claiming the given electronic paymentsvoid declaimElectronicPaymentClaimsForDocument(org.kuali.rice.krad.document.Document document)
document
- the document that claimed ElectronicPaymentClaims and now needs to give them backvoid claimElectronicPayments(List<ElectronicPaymentClaim> payments, String documentNumber)
payments
- a list of payments to claimdocmentNumber
- the document number of the claiming documentList<ElectronicPaymentClaim> generateElectronicPaymentClaimRecords(AdvanceDepositDocument doc)
doc
- the document that is generating electronic payment claim recordsboolean representsElectronicFundAccount(AccountingLine accountingLine)
accountingLine
- the accounting line to checkboolean isAuthorizedForClaimingElectronicPayment(org.kuali.rice.kim.api.identity.Person user, String workflowDocumentTypeName)
user
- the given user being checkednamespaceCode
- the specified namespaceworkflowDocumentTypeName
- the workflow document type name of the document being claimedCopyright © 2004–2014 The Kuali Foundation. All rights reserved.