|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.sys.service.impl.ElectronicPaymentClaimingServiceImpl
public class ElectronicPaymentClaimingServiceImpl
| Field Summary | |
|---|---|
protected static String |
CLAIMING_DOC_HELPER_BEAN_NAME
|
protected static String |
CLAIMING_NOTE_PRELUDE
|
protected static String |
DI_CLAIMING_DOC_HELPER_BEAN_NAME
|
protected static String |
ELECTRONIC_FUNDS_CLAIM_SUMMARIES_PER_NOTE_PARAMETER
|
protected static String |
ELECTRONIC_FUNDS_CLAIMANT_GROUP_PARAMETER
|
protected static String |
ELECTRONIC_PAYMENT_ADMINISTRATOR_GROUP_PARAM_NAME
|
protected static String |
ELECTRONIC_PAYMENT_CLAIM_ACCOUNTS_PARAMETER
|
protected static String |
YEDI_CLAIMING_DOC_HELPER_BEAN_NAME
|
| Constructor Summary | |
|---|---|
ElectronicPaymentClaimingServiceImpl()
|
|
| 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. |
protected String |
constructNoteText(List<ElectronicPaymentClaim> claims,
int startPoint,
int maxSummariesPerNote)
This creates a note for the given point in the list of summaries. |
List<String> |
constructNoteTextsForClaims(List<ElectronicPaymentClaim> claims)
Constructs a List of Notes that detail which ElectronicPaymentClaim records have been claimed by a document |
protected ElectronicPaymentClaim |
createElectronicPayment(AdvanceDepositDocument document,
AccountingLine accountingLine)
Creates an electronic payment claim record to match the given accounting line on the 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. |
protected String |
createSummaryLineForClaim(ElectronicPaymentClaim claim)
Creates a summary line for a note from a claim |
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 |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
Sets the dateTimeService attribute value. |
void |
setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
Sets the documentService 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 |
|---|
protected static final String ELECTRONIC_FUNDS_CLAIMANT_GROUP_PARAMETER
protected static final String ELECTRONIC_PAYMENT_ADMINISTRATOR_GROUP_PARAM_NAME
protected static final String ELECTRONIC_FUNDS_CLAIM_SUMMARIES_PER_NOTE_PARAMETER
protected static final String CLAIMING_NOTE_PRELUDE
protected static final String DI_CLAIMING_DOC_HELPER_BEAN_NAME
protected static final String YEDI_CLAIMING_DOC_HELPER_BEAN_NAME
protected static final String CLAIMING_DOC_HELPER_BEAN_NAME
protected static final String ELECTRONIC_PAYMENT_CLAIM_ACCOUNTS_PARAMETER
| Constructor Detail |
|---|
public ElectronicPaymentClaimingServiceImpl()
| Method Detail |
|---|
public List<String> constructNoteTextsForClaims(List<ElectronicPaymentClaim> claims)
ElectronicPaymentClaimingService
constructNoteTextsForClaims in interface ElectronicPaymentClaimingServiceclaims - the ElectronicPaymentClaim record that will be claimed by a document
org.kuali.kfs.sys.service.ElectronicPaymentClaimingService#constructNotesForClaims(java.util.List)
protected String constructNoteText(List<ElectronicPaymentClaim> claims,
int startPoint,
int maxSummariesPerNote)
claims - a List of ElectronicPaymentClaim records that are being claimedstartPoint - the point in the list the note is starting atmaxSummariesPerNote - the number of ElectronicPaymentClaim summaries we can have on a note
protected String createSummaryLineForClaim(ElectronicPaymentClaim claim)
claim - the electronic payment claim to summarize
public String createPaymentClaimingDocument(List<ElectronicPaymentClaim> claims,
ElectronicPaymentClaimingDocumentGenerationStrategy documentCreationHelper,
org.kuali.rice.kim.bo.Person user)
ElectronicPaymentClaimingService
createPaymentClaimingDocument in interface ElectronicPaymentClaimingServiceclaims - 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
org.kuali.kfs.sys.service.ElectronicPaymentClaimingService#createPaymentClaimingDocument(java.util.List,
org.kuali.kfs.sys.service.ElectronicPaymentClaimingDocumentGenerationStrategy)public List<ElectronicPaymentClaimingDocumentGenerationStrategy> getClaimingDocumentChoices(org.kuali.rice.kim.bo.Person user)
ElectronicPaymentClaimingService
getClaimingDocumentChoices in interface ElectronicPaymentClaimingServiceuser - the user attempting to use a document to claim ElectronicPaymentClaim records
ElectronicPaymentClaimingService.getClaimingDocumentChoices(org.kuali.rice.kim.bo.Person)
public void claimElectronicPayments(List<ElectronicPaymentClaim> payments,
String documentNumber)
claimElectronicPayments in interface ElectronicPaymentClaimingServicepayments - a list of payments to claimdocmentNumber - the document number of the claiming documentpublic void declaimElectronicPaymentClaimsForDocument(org.kuali.rice.kns.document.Document document)
ElectronicPaymentClaimingService
declaimElectronicPaymentClaimsForDocument in interface ElectronicPaymentClaimingServicedocument - the document that claimed ElectronicPaymentClaims and now needs to give them backElectronicPaymentClaimingService.declaimElectronicPaymentClaimsForDocument(org.kuali.rice.kns.document.Document)
public boolean isAuthorizedForClaimingElectronicPayment(org.kuali.rice.kim.bo.Person user,
String workflowDocumentTypeName)
ElectronicPaymentClaimingService
isAuthorizedForClaimingElectronicPayment in interface ElectronicPaymentClaimingServiceuser - the given user being checkedworkflowDocumentTypeName - the workflow document type name of the document being claimed
org.kuali.kfs.sys.service.ElectronicPaymentClaimingService#isAuthorizedForClaimingElectronicPayment(org.kuali.rice.kim.bo.Person,
java.lang.String, java.lang.String)public List<ElectronicPaymentClaim> generateElectronicPaymentClaimRecords(AdvanceDepositDocument doc)
ElectronicPaymentClaimingService
generateElectronicPaymentClaimRecords in interface ElectronicPaymentClaimingServicedoc - the document that is generating electronic payment claim records
ElectronicPaymentClaimingService.generateElectronicPaymentClaimRecords(org.kuali.kfs.fp.document.AdvanceDepositDocument)public boolean representsElectronicFundAccount(AccountingLine accountingLine)
representsElectronicFundAccount in interface ElectronicPaymentClaimingServiceaccountingLine - the accounting line to check
protected ElectronicPaymentClaim createElectronicPayment(AdvanceDepositDocument document,
AccountingLine accountingLine)
accountingLine - an accounting line that an electronic payment claim record should be created for
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
documentService - The documentService to set.public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService - The parameterService to set.public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
dateTimeService - The dateTimeService to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||