|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.service.impl.ElectronicFundTransferClaimActionHelper
public class ElectronicFundTransferClaimActionHelper
An Electronic Funds Transfer action which claims the electronic payment claims in a form and redirects to the claiming document.
Field Summary | |
---|---|
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 Summary | |
---|---|
ElectronicFundTransferClaimActionHelper()
|
Method Summary | |
---|---|
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.bo.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.kns.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.kns.service.DocumentService documentService)
Sets the documentService attribute value. |
void |
setElectronicPaymentClaimingService(ElectronicPaymentClaimingService electronicPaymentClaimingService)
Sets the electronicPaymentClaimingService 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 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
Constructor Detail |
---|
public ElectronicFundTransferClaimActionHelper()
Method Detail |
---|
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 request
org.kuali.kfs.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 form
protected ElectronicPaymentClaimingDocumentGenerationStrategy getRequestedClaimingHelper(String chosenDoc, List<ElectronicPaymentClaimingDocumentGenerationStrategy> availableClaimingDocs, org.kuali.rice.kim.bo.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 user
org.kuali.rice.kns.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 claims
protected Set<String> generatePreClaimedByCheckboxSet(List<ElectronicPaymentClaimClaimedHelper> checkboxHelpers)
checkboxHelpers
- the list of checked ElectronicPaymentClaimClaimedHelpers from the form
protected boolean handleDocumentationForClaim(String hasDocumentation)
hasDocumentation
- the user's response to the "has documentation" question
public 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.kns.service.BusinessObjectService boService)
boService
- The boService to set.public void setDocumentService(org.kuali.rice.kns.service.DocumentService documentService)
documentService
- The documentService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |