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

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.fp.document.web.struts.VoucherForm
                                  extended by org.kuali.kfs.fp.document.web.struts.JournalVoucherForm
                                      extended by org.kuali.kfs.module.ld.document.web.struts.LaborJournalVoucherForm
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.web.struts.pojo.PojoForm

public class LaborJournalVoucherForm
extends JournalVoucherForm

Struts Action Form for the Labor Journal Voucher Document.

See Also:
Serialized Form

Field Summary
protected  String originalOffsetTypeCode
           
 
Fields inherited from class org.kuali.kfs.fp.document.web.struts.JournalVoucherForm
balanceTypes, originalBalanceType, selectedBalanceType
 
Fields inherited from class org.kuali.kfs.fp.document.web.struts.VoucherForm
accountingPeriods, newSourceLineCredit, newSourceLineDebit, selectedAccountingPeriod, voucherLineHelpers
 
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
LaborJournalVoucherForm()
          Constructs a JournalVoucherForm instance.
 
Method Summary
protected  String getDefaultDocumentTypeName()
           
 JournalVoucherDocument getJournalVoucherDocument()
          Returns the journal voucher document associated with this form.
 String getOriginalOffsetTypeCode()
          Gets the originalOffsetTypeCode attribute.
protected  void populateSourceAccountingLineEncumbranceCode(SourceAccountingLine sourceLine)
          Populates source a accounting line encumbrance code (D, R or null) for a given source accounting line
 void setJournalVoucherDocument(JournalVoucherDocument journalVoucherDocument)
          Sets the journal voucher document associated with this form.
 void setOriginalOffsetTypeCode(String originalOffsetTypeCode)
          Sets the originalOffsetTypeCode attribute value.
 
Methods inherited from class org.kuali.kfs.fp.document.web.struts.JournalVoucherForm
getBalanceTypes, getOriginalBalanceType, getPopulatedBalanceTypeInstance, getSelectedBalanceType, isSelectedBalanceTypeFinancialOffsetGenerationIndicator, populate, populateBalanceTypeListForRendering, populateCreditAndDebitAmounts, populateSourceAccountingLine, setBalanceTypes, setOriginalBalanceType, setSelectedBalanceType
 
Methods inherited from class org.kuali.kfs.fp.document.web.struts.VoucherForm
getAccountingPeriod, getAccountingPeriods, getCurrencyFormattedCreditTotal, getCurrencyFormattedDebitTotal, getCurrencyFormattedTotal, getFormattedReversalDate, getNewSourceLineCredit, getNewSourceLineDebit, getSelectedAccountingPeriod, getSelectedPostingPeriodCode, getSelectedPostingYear, getVoucherDocument, getVoucherLineHelper, getVoucherLineHelpers, populateAccountingPeriodListForRendering, populateDefaultSelectedAccountingPeriod, populateSelectedVoucherAccountingPeriod, processDebitAndCreditForAllSourceLines, processDebitAndCreditForNewSourceLine, processDebitAndCreditForSourceLine, setAccountingPeriods, setNewSourceLineCredit, setNewSourceLineDebit, setSelectedAccountingPeriod, setVoucherLineHelpers, validateCreditAndDebitAmounts
 
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, populateAccountingLine, populateAccountingLines, populateAccountingLinesForResponse, populateTargetAccountingLine, repopulateOverrides, 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
addRequiredNonEditableProperties, 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
 

Field Detail

originalOffsetTypeCode

protected String originalOffsetTypeCode
Constructor Detail

LaborJournalVoucherForm

public LaborJournalVoucherForm()
Constructs a JournalVoucherForm instance.

Method Detail

getDefaultDocumentTypeName

protected String getDefaultDocumentTypeName()
Overrides:
getDefaultDocumentTypeName in class JournalVoucherForm

populateSourceAccountingLineEncumbranceCode

protected void populateSourceAccountingLineEncumbranceCode(SourceAccountingLine sourceLine)
Populates source a accounting line encumbrance code (D, R or null) for a given source accounting line

Overrides:
populateSourceAccountingLineEncumbranceCode in class JournalVoucherForm
Parameters:
sourceLine - - line to set code on
See Also:
JournalVoucherForm.populateSourceAccountingLineEncumbranceCode(org.kuali.kfs.sys.businessobject.SourceAccountingLine)

getJournalVoucherDocument

public JournalVoucherDocument getJournalVoucherDocument()
Returns the journal voucher document associated with this form.

Overrides:
getJournalVoucherDocument in class JournalVoucherForm
Returns:
Returns the journalVoucherDocument.

setJournalVoucherDocument

public void setJournalVoucherDocument(JournalVoucherDocument journalVoucherDocument)
Sets the journal voucher document associated with this form.

Overrides:
setJournalVoucherDocument in class JournalVoucherForm
Parameters:
journalVoucherDocument - The journalVoucherDocument to set.

getOriginalOffsetTypeCode

public String getOriginalOffsetTypeCode()
Gets the originalOffsetTypeCode attribute.

Returns:
Returns the originalOffsetTypeCode.

setOriginalOffsetTypeCode

public void setOriginalOffsetTypeCode(String originalOffsetTypeCode)
Sets the originalOffsetTypeCode attribute value.

Parameters:
originalOffsetTypeCode - The originalOffsetTypeCode to set.


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