public class ElectronicFundTransferClaimActionHelper extends Object implements ElectronicFundTransferActionHelper
Modifier and Type | Field and Description |
---|---|
protected static String |
ACTION_NAME |
protected static String |
BASIC_FORWARD |
protected static String |
CHOSEN_DOCUMENT_PROPERTY |
protected static String |
CLAIM_PROPERTY |
protected static String |
HAS_DOCUMENTATION_PROPERTY |
protected static String |
PORTAL_FORWARD |
Constructor and Description |
---|
ElectronicFundTransferClaimActionHelper() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkChosenDocumentType(String chosenDoc)
Verifies that the chosenElectronicPaymentClaimingDocumentCode has been filled in.
|
protected Set<String> |
generatePreClaimedByCheckboxSet(List<ElectronicPaymentClaimClaimedHelper> checkboxHelpers)
Uses the list of checked pre-claimed checkbox helpers to create a Set of representations of electronic payment claim records that were marked as "pre-claimed"
|
protected ElectronicPaymentClaimingDocumentGenerationStrategy |
getRequestedClaimingHelper(String chosenDoc,
List<ElectronicPaymentClaimingDocumentGenerationStrategy> availableClaimingDocs,
org.kuali.rice.kim.api.identity.Person currentUser)
Using user entered form values, determines which of the available ElectronicPaymentClaimingDocumentGenerationStrategy implementations to use.
|
protected boolean |
handleDocumentationForClaim(String hasDocumentation)
Checks that the user was able to answer the "has documentation?" question correctly
|
protected List<ElectronicPaymentClaim> |
handlePreClaimedRecords(List<ElectronicPaymentClaim> claims,
Set<String> preClaimedByCheckbox,
List<ElectronicPaymentClaimingDocumentGenerationStrategy> documentGenerationStrategies)
Administrative users can fill in a field that says that a given electronic payment claim has already been claimed by another document.
|
org.apache.struts.action.ActionForward |
performAction(ElectronicFundTransferForm form,
org.apache.struts.action.ActionMapping mapping,
Map paramMap,
String basePath)
Claims the ElectronicPaymentClaim records with a document and then redirects to that docment.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService boService)
Sets the boService attribute value.
|
void |
setDataDictonaryService(org.kuali.rice.kns.service.DataDictionaryService ddService)
Sets the ddService attribute value.
|
void |
setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
Sets the documentService attribute value.
|
void |
setElectronicPaymentClaimingService(ElectronicPaymentClaimingService electronicPaymentClaimingService)
Sets the electronicPaymentClaimingService attribute value.
|
protected static final String ACTION_NAME
protected static final String CHOSEN_DOCUMENT_PROPERTY
protected static final String CLAIM_PROPERTY
protected static final String HAS_DOCUMENTATION_PROPERTY
protected static final String BASIC_FORWARD
protected static final String PORTAL_FORWARD
public ElectronicFundTransferClaimActionHelper()
public org.apache.struts.action.ActionForward performAction(ElectronicFundTransferForm form, org.apache.struts.action.ActionMapping mapping, Map paramMap, String basePath)
performAction
in interface ElectronicFundTransferActionHelper
form
- the form that the action is to perform onmapping
- the action mappings to return tobasePath
- the basePath of the requestorg.kuali.ole.sys.service.ElectronicFundTransferActionHelper#performAction(org.kuali.rice.kns.web.struts.form.KualiForm, org.apache.struts.action.ActionMapping)
protected boolean checkChosenDocumentType(String chosenDoc)
chosenDoc
- the value of chosenElectronicPaymentClaimingDocumentCode from the formprotected ElectronicPaymentClaimingDocumentGenerationStrategy getRequestedClaimingHelper(String chosenDoc, List<ElectronicPaymentClaimingDocumentGenerationStrategy> availableClaimingDocs, org.kuali.rice.kim.api.identity.Person currentUser)
chosenDoc
- the document type code for the doc that the user selectedavailableClaimingDocs
- a List of ElectronicPaymentClaimingDocumentGenerationStrategy implementations that can be used by the given usercurrentUser
- the currently logged in userorg.kuali.rice.krad.exception.AuthorizationException
- thrown if the user entered an invalid or unusable ElectronicPaymentClaimingDocumentGenerationStrategy codeprotected List<ElectronicPaymentClaim> handlePreClaimedRecords(List<ElectronicPaymentClaim> claims, Set<String> preClaimedByCheckbox, List<ElectronicPaymentClaimingDocumentGenerationStrategy> documentGenerationStrategies)
claims
- the list of electronic payment claimsprotected Set<String> generatePreClaimedByCheckboxSet(List<ElectronicPaymentClaimClaimedHelper> checkboxHelpers)
checkboxHelpers
- the list of checked ElectronicPaymentClaimClaimedHelpers from the formprotected boolean handleDocumentationForClaim(String hasDocumentation)
hasDocumentation
- the user's response to the "has documentation" questionpublic void setDataDictonaryService(org.kuali.rice.kns.service.DataDictionaryService ddService)
ddService
- The ddService to set.public void setElectronicPaymentClaimingService(ElectronicPaymentClaimingService electronicPaymentClaimingService)
electronicPaymentClaimingService
- The electronicPaymentClaimingService to set.public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService boService)
boService
- The boService to set.public void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
documentService
- The documentService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.