| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ElectronicPaymentClaimingService
A service which helps in the claiming of ElectronicPaymentClaim records
| Method Summary | |
|---|---|
 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.bo.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.kns.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.bo.Person user)
Returns a list of which document types the given user can claim Electronic Payment Claims with.  | 
 boolean | 
isAuthorizedForClaimingElectronicPayment(org.kuali.rice.kim.bo.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  | 
| Method Detail | 
|---|
List<String> constructNoteTextsForClaims(List<ElectronicPaymentClaim> claims)
claims - the ElectronicPaymentClaim record that will be claimed by a documentclaimingUser - the user who's actually claiming ElectronicPaymentClaim records
List<ElectronicPaymentClaimingDocumentGenerationStrategy> getClaimingDocumentChoices(org.kuali.rice.kim.bo.Person user)
user - the user attempting to use a document to claim ElectronicPaymentClaim records
String createPaymentClaimingDocument(List<ElectronicPaymentClaim> claims,
                                     ElectronicPaymentClaimingDocumentGenerationStrategy documentCreationHelper,
                                     org.kuali.rice.kim.bo.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 payments
void declaimElectronicPaymentClaimsForDocument(org.kuali.rice.kns.document.Document document)
document - the document that claimed ElectronicPaymentClaims and now needs to give them back
void 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 records
boolean representsElectronicFundAccount(AccountingLine accountingLine)
accountingLine - the accounting line to check
boolean isAuthorizedForClaimingElectronicPayment(org.kuali.rice.kim.bo.Person user,
                                                 String workflowDocumentTypeName)
user - the given user being checkednamespaceCode - the specified namespaceworkflowDocumentTypeName - the workflow document type name of the document being claimed
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||