org.kuali.kfs.module.ld.document.web.struts
Class BenefitExpenseTransferForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.kuali.rice.kns.web.struts.pojo.PojoFormBase
          extended by org.kuali.rice.kns.web.struts.form.KualiForm
              extended by org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase
                  extended by org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase
                      extended by org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentFormBase
                          extended by org.kuali.kfs.sys.web.struts.KualiAccountingDocumentFormBase
                              extended by org.kuali.kfs.module.ld.document.web.struts.LaborDocumentFormBase
                                  extended by org.kuali.kfs.module.ld.document.web.struts.ExpenseTransferDocumentFormBase
                                      extended by org.kuali.kfs.module.ld.document.web.struts.BenefitExpenseTransferForm
All Implemented Interfaces:
Serializable, MultipleValueLookupBroker, org.kuali.rice.kns.web.struts.pojo.PojoForm
Direct Known Subclasses:
YearEndBenefitExpenseTransferForm

public class BenefitExpenseTransferForm
extends ExpenseTransferDocumentFormBase

Struts Action Form for the Benefit Expense Transfer Document.

See Also:
Serialized Form

Field Summary
protected  String accountNumber
           
protected  String chartOfAccountsCode
           
protected  String subAccountNumber
           
 
Fields inherited from class org.kuali.kfs.module.ld.document.web.struts.ExpenseTransferDocumentFormBase
lookedUpCollectionName, lookupResultsBOClassName, lookupResultsSequenceNumber, universityFiscalYear
 
Fields inherited from class org.kuali.kfs.sys.web.struts.KualiAccountingDocumentFormBase
editableAccounts, forcedLookupOptionalFields, hideDetails, LOG, newSourceLine, newTargetLine, sourceFile, targetFile
 
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase
forcedReadOnlyFields
 
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase
adHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtons
 
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
extraButtons
 
Fields inherited from class org.kuali.rice.kns.web.struts.pojo.PojoFormBase
requiredNonEditableProperties
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
BenefitExpenseTransferForm()
          Constructs a BenefitExpenseTransferForm instance and sets up the appropriately casted document.
 
Method Summary
 String getAccountNumber()
          Gets the accountNumber attribute.
 BenefitExpenseTransferDocument getBenefitExpenseTransferDocument()
          Gets the BenefitExpenseTransferDocument attribute.
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode attribute.
protected  String getDefaultDocumentTypeName()
           
 Map getForcedReadOnlyTargetFields()
          Returns forced read only target fields (i.e only source target fields without chart of accounts code, account number, sub-account number, financial sub object code, project code, organization reference id, and amount)
 String getSubAccountNumber()
          Gets the subAccountNumber attribute.
 void populateSearchFields()
          Sets university fiscal year, chart of accounts code, account number, sub-account number from first source accounting line
 void setAccountNumber(String accountNumber)
          Sets the accountNumber attribute value.
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute value.
 void setSubAccountNumber(String subAccountNumber)
          Sets the subAccountNumber attribute value.
 
Methods inherited from class org.kuali.kfs.module.ld.document.web.struts.ExpenseTransferDocumentFormBase
addRequiredNonEditableProperties, getForcedReadOnlySourceFields, getLookedUpCollectionName, getLookupResultsBOClassName, getLookupResultsSequenceNumber, getUniversityFiscalYear, populateSourceAccountingLine, populateTargetAccountingLine, repopulateOverrides, setLookedUpCollectionName, setLookupResultsBOClassName, setLookupResultsSequenceNumber, setUniversityFiscalYear
 
Methods inherited from class org.kuali.kfs.module.ld.document.web.struts.LaborDocumentFormBase
getLaborDocument
 
Methods inherited from class org.kuali.kfs.sys.web.struts.KualiAccountingDocumentFormBase
createNewSourceAccountingLine, createNewTargetAccountingLine, customInitMaxUploadSizes, getAccountingLineImportInstructionsUrl, getCurrencyFormattedSourceTotal, getCurrencyFormattedTargetTotal, getEditableAccounts, getExcludedmethodToCall, getFinancialDocument, getForcedLookupOptionalFields, getHideDetails, getNewSourceLine, getNewTargetLine, getSourceFile, getTargetFile, harvestAccountingLines, isHideDetails, populate, populateAccountingLine, populateAccountingLines, populateAccountingLinesForResponse, setEditableAccounts, setForcedLookupOptionalFields, setHideDetails, setNewSourceLine, setNewTargetLine, setSourceFile, setTargetFile, shouldMethodToCallParameterBeUsed
 
Methods inherited from class org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentFormBase
extendDocInfoToThreeColumns, generateErrorCorrectionButton, getExtraButtons, populateHeaderFields
 
Methods inherited from class org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase
discoverDocumentTypeName, formatReversalDate, getForcedReadOnlyFields, getTransactionalDocument, instantiateTransactionalDocumentByDocumentTypeName, populateEmptyMultiSelect, populateFalseCheckboxes, populationSpecialEmptyFields, setForcedReadOnlyFields
 
Methods inherited from class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase
buildHtmlLink, getAdditionalScriptFile, getAdditionalScriptFiles, getAdHocActionRequestCodes, getAdHocRoutePerson, getAdHocRoutePersons, getAdHocRouteWorkgroup, getAdHocRouteWorkgroups, getAnnotation, getAttachmentFile, getBoNotes, getCommand, getDocId, getDocNum, getDocTypeName, getDocument, getDocumentActions, getDocumentHandlerUrl, getEditingMode, getErrorMapFromPreviousRequest, getFormKey, getInitiator, getInitiatorNetworkId, getMessageMapFromPreviousRequest, getNewAdHocRoutePerson, getNewAdHocRouteWorkgroup, getNewNote, getPersonInquiryUrlLink, getStandardHeaderFields, getWorkflowDocument, hasDocumentId, initializeHeaderNavigationTabs, instantiateDocument, isDocumentEnRoute, isFormDocumentInitialized, isHasWorkflowDocument, isReturnToActionList, isSuppressAllButtons, isUserDocumentInitiator, reset, setAdditionalScriptFile, setAdditionalScriptFiles, setAdHocActionRequestCodes, setAdHocRoutePersons, setAdHocRouteWorkgroups, setAnnotation, setAttachmentFile, setBoNotes, setCommand, setDerivedValuesOnForm, setDocId, setDocNum, setDocTypeName, setDocument, setDocumentActions, setEditingMode, setErrorMapFromPreviousRequest, setFormKey, setMessageMapFromPreviousRequest, setNewAdHocRoutePerson, setNewAdHocRouteWorkgroup, setNewNote, setReturnToActionList, setSuppressAllButtons, shouldPropertyBePopulatedInForm, validate
 
Methods inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
clearEditablePropertyInformation, getActionFormUtilMap, getAnchor, getBackLocation, getCurrentTabIndex, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getDocInfo, getExtraButton, getFieldNameToFocusOnAfterSubmit, getHeaderNavigationTabs, getMethodToCall, getNavigationCss, getNextArbitrarilyHighIndex, getNumColumns, getRefreshCaller, getTabState, getTabStates, incrementTabIndex, isFieldLevelHelpEnabled, populateBackLocation, populateFieldLevelHelpEnabled, reset, retrieveFormValueForLookupInquiryParameters, setActionFormUtilMap, setAnchor, setBackLocation, setCurrentTabIndex, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setMethodToCall, setNavigationCss, setNumColumns, setRefreshCaller, setTabStates
 
Methods inherited from class org.kuali.rice.kns.web.struts.pojo.PojoFormBase
addMaxUploadSize, cacheUnconvertedValue, copyPopulateEditablePropertiesToActionEditableProperties, formatterClassForKeypath, formatValue, getActionEditablePropertiesGuid, getEditableProperties, getFormatter, getFormatterTypes, getIsNewForm, getMaxUploadSizes, getMethodToCallsToBypassSessionRetrievalForGETRequests, getParameter, getParameterValues, getPopulateEditableProperties, getPopulateEditablePropertiesGuid, getPropertyType, getRequiredNonEditableProperties, getStrutsActionMappingScope, getUnconvertedValues, getUnknownKeys, initMaxUploadSizes, isPropertyEditable, isPropertyNonEditableButRequired, populateForProperty, postprocessRequestParameters, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValues
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.kfs.module.ld.document.web.struts.MultipleValueLookupBroker
getRefreshCaller
 

Field Detail

chartOfAccountsCode

protected String chartOfAccountsCode

accountNumber

protected String accountNumber

subAccountNumber

protected String subAccountNumber
Constructor Detail

BenefitExpenseTransferForm

public BenefitExpenseTransferForm()
Constructs a BenefitExpenseTransferForm instance and sets up the appropriately casted document.

Method Detail

getDefaultDocumentTypeName

protected String getDefaultDocumentTypeName()
Overrides:
getDefaultDocumentTypeName in class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase

getBenefitExpenseTransferDocument

public BenefitExpenseTransferDocument getBenefitExpenseTransferDocument()
Gets the BenefitExpenseTransferDocument attribute.

Returns:
Returns the BenefitExpenseTransferDocument

getAccountNumber

public String getAccountNumber()
Gets the accountNumber attribute.

Returns:
Returns the accountNumber.

setAccountNumber

public void setAccountNumber(String accountNumber)
Sets the accountNumber attribute value.

Parameters:
accountNumber - The accountNumber to set.

getSubAccountNumber

public String getSubAccountNumber()
Gets the subAccountNumber attribute.

Returns:
Return the subAccountNumber.

setSubAccountNumber

public void setSubAccountNumber(String subAccountNumber)
Sets the subAccountNumber attribute value.

Parameters:
subAccountNumber - The subAccountNumber to set.

getChartOfAccountsCode

public String getChartOfAccountsCode()
Gets the chartOfAccountsCode attribute.

Returns:
Return the chartOfAccountsCode.

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode attribute value.

Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getForcedReadOnlyTargetFields

public Map getForcedReadOnlyTargetFields()
Returns forced read only target fields (i.e only source target fields without chart of accounts code, account number, sub-account number, financial sub object code, project code, organization reference id, and amount)

Overrides:
getForcedReadOnlyTargetFields in class ExpenseTransferDocumentFormBase
See Also:
ExpenseTransferDocumentFormBase.getForcedReadOnlyTargetFields()

populateSearchFields

public void populateSearchFields()
Sets university fiscal year, chart of accounts code, account number, sub-account number from first source accounting line

Specified by:
populateSearchFields in class ExpenseTransferDocumentFormBase
See Also:
ExpenseTransferDocumentFormBase.populateSearchFields()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.