public class ElectronicPaymentClaimingDocumentGenerationStrategyImpl extends Object implements ElectronicPaymentClaimingDocumentGenerationStrategy
Constructor and Description |
---|
ElectronicPaymentClaimingDocumentGenerationStrategyImpl() |
Modifier and Type | Method and Description |
---|---|
String |
createDocumentFromElectronicPayments(List<ElectronicPaymentClaim> electronicPayments,
org.kuali.rice.kim.api.identity.Person user)
Creates a document to claim a given list of ElectronicPaymentClaim records.
|
String |
getClaimingDocumentWorkflowDocumentType()
get the workflow document type code of the claiming document
|
String |
getDocumentCode() |
String |
getDocumentLabel()
Returns the label which will identify the claiming document to users
|
boolean |
isDocumentReferenceValid(String referenceDocumentNumber)
Determines whether the given document number would be considered valid by the system that the document this strategy
interacts with
|
void |
setElectronicPaymentClaimingService(ElectronicPaymentClaimingService electronicPaymentClaimingService)
Sets the electronicPaymentClaimingService attribute value.
|
boolean |
userMayUseToClaim(org.kuali.rice.kim.api.identity.Person claimingUser)
Determines if the given user can use the document wrapped by this ElectronicPaymentClaimingDocumentGenerationStrategy
implementaton to claim any ElectronicPaymentClaim records
|
public ElectronicPaymentClaimingDocumentGenerationStrategyImpl()
public String createDocumentFromElectronicPayments(List<ElectronicPaymentClaim> electronicPayments, org.kuali.rice.kim.api.identity.Person user)
ElectronicPaymentClaimingDocumentGenerationStrategy
createDocumentFromElectronicPayments
in interface ElectronicPaymentClaimingDocumentGenerationStrategy
electronicPayments
- a List of ElectronicPaymentClaim recordsuser
- the user doing the claimingElectronicPaymentClaimingDocumentGenerationStrategy.createDocumentFromElectronicPayments(java.util.List, org.kuali.rice.kim.api.identity.Person)
public String getDocumentCode()
org.kuali.ole.sys.service.ElectronicPaymentClaimingDocumentGenerationStrategy#getDocumentCode()
public String getDocumentLabel()
ElectronicPaymentClaimingDocumentGenerationStrategy
getDocumentLabel
in interface ElectronicPaymentClaimingDocumentGenerationStrategy
ElectronicPaymentClaimingDocumentGenerationStrategy.getDocumentLabel()
public String getClaimingDocumentWorkflowDocumentType()
ElectronicPaymentClaimingDocumentGenerationStrategy
getClaimingDocumentWorkflowDocumentType
in interface ElectronicPaymentClaimingDocumentGenerationStrategy
return null in the case of no document available
public boolean isDocumentReferenceValid(String referenceDocumentNumber)
ElectronicPaymentClaimingDocumentGenerationStrategy
isDocumentReferenceValid
in interface ElectronicPaymentClaimingDocumentGenerationStrategy
referenceDocumentNumber
- the document number reference to validateElectronicPaymentClaimingDocumentGenerationStrategy.isDocumentReferenceValid(java.lang.String)
public boolean userMayUseToClaim(org.kuali.rice.kim.api.identity.Person claimingUser)
ElectronicPaymentClaimingDocumentGenerationStrategy
userMayUseToClaim
in interface ElectronicPaymentClaimingDocumentGenerationStrategy
claimingUser
- the user attempting to claim ElectronicPaymentClaim records with a documentElectronicPaymentClaimingDocumentGenerationStrategy.userMayUseToClaim(org.kuali.rice.kim.api.identity.Person)
public void setElectronicPaymentClaimingService(ElectronicPaymentClaimingService electronicPaymentClaimingService)
electronicPaymentClaimingService
- The electronicPaymentClaimingService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.