getBaselineSourceAccountingLine(int index) Implementation creates empty SourceAccountingLines as a side-effect, so that Struts' efforts to set fields of lines which
haven't been created will succeed rather than causing a NullPointerException.
getBaselineTargetAccountingLine(int index) Implementation creates empty TargetAccountingLines as a side-effect, so that Struts' efforts to set fields of lines which
haven't been created will succeed rather than causing a NullPointerException.
getSourceLineDecorator(int index) Implementation creates empty AccountingLineDecorators as a side-effect, so that Struts' efforts to set fields of lines which
haven't been created will succeed rather than causing a NullPointerException.
getTargetLineDecorator(int index) Implementation creates empty AccountingLineDecorators as a side-effect, so that Struts' efforts to set fields of lines which
haven't been created will succeed rather than causing a NullPointerException.
populate(HttpServletRequest request) Overrides the parent to call super.populate and then to call the accounting lines populate method that is specific to loading
the two select lists on the page.
protected void
populateAccountingLines() This method iterates over all of the source lines and all of the target lines in a transactional document, and calls
prepareAccountingLineForValidationAndPersistence on each one.
refreshEditableAccounts() This method finds its appropriate document authorizer and uses that to reset the map of editable accounts, based on the
current accounting lines.
public void
resetSourceLineDecorators(int size) Resets the source accounting line decorators to new and ensures that there are the given number.
public void
resetTargetLineDecorators(int size) Resets the target accounting line decorators to new and ensures that there are the given number.
Implementation creates empty SourceAccountingLines as a side-effect, so that Struts' efforts to set fields of lines which
haven't been created will succeed rather than causing a NullPointerException.
Parameters: index - baseline SourceAccountingLine at the given index
Implementation creates empty TargetAccountingLines as a side-effect, so that Struts' efforts to set fields of lines which
haven't been created will succeed rather than causing a NullPointerException.
Parameters: index - baseline TargetAccountingLine at the given index
Implementation creates empty AccountingLineDecorators as a side-effect, so that Struts' efforts to set fields of lines which
haven't been created will succeed rather than causing a NullPointerException.
Parameters: index - AccountingLineDecorators for sourceLine at the given index
Implementation creates empty AccountingLineDecorators as a side-effect, so that Struts' efforts to set fields of lines which
haven't been created will succeed rather than causing a NullPointerException.
Parameters: index - AccountingLineDecorator for targetLine at the given index
This method iterates over all of the source lines and all of the target lines in a transactional document, and calls
prepareAccountingLineForValidationAndPersistence on each one. This is called because a user could have updated already
existing accounting lines that had blank values in composite key fields.
Populates a source accounting line bo using values from the struts form. This is in place to make sure that all of the
composite key objects have the correct values in them. This should be overridden by children forms in the situation where
document level attributes need to be pushed down into the accounting lines.
Parameters: sourceLine -
Populates a target accounting line bo using values from the struts form. This is in place to make sure that all of the
composite key objects have the correct values in them. This should be overridden by children forms in the situation where
document level attributes need to be pushed down into the accounting lines.
Parameters: targetLine -
This method finds its appropriate document authorizer and uses that to reset the map of editable accounts, based on the
current accounting lines.
resetSourceLineDecorators
public void resetSourceLineDecorators(int size)(Code)
Resets the source accounting line decorators to new and ensures that there are the given number. These decorators take very
little memory, there are few of them on the page, and they are rarely reset, so this method does it the simple way.
Parameters: size -
resetTargetLineDecorators
public void resetTargetLineDecorators(int size)(Code)
Resets the target accounting line decorators to new and ensures that there are the given number. These decorators take very
little memory, there are few of them on the page, and they are rarely reset, so this method does it the simple way.
Parameters: size -
setAccountingLineEditableFields
public void setAccountingLineEditableFields(Map editableFields)(Code)
Parameters: editableFields - The editableFields to set.
setBaselineSourceAccountingLines
public void setBaselineSourceAccountingLines(List baselineSourceAccountingLines)(Code)
Sets the current List of baseline SourceAccountingLines to the given List
Parameters: baselineSourceAccountingLines -
setBaselineTargetAccountingLines
public void setBaselineTargetAccountingLines(List baselineTargetAccountingLines)(Code)
Sets the current List of baseline TargetAccountingLines to the given List
Parameters: baselineTargetAccountingLines -
setEditableAccounts
public void setEditableAccounts(Map editableAccounts)(Code)
Parameters: editableAccounts - the account Map to set
setForcedLookupOptionalFields
public void setForcedLookupOptionalFields(Map fieldMap)(Code)
A Map of names of optional accounting line fields that require a quickfinder.
a Map of fields
setHideDetails
public void setHideDetails(boolean hideDetails)(Code)
Refactored out actually calling the documentAuthorizer methods, since FinancialDocuments call a differently-parameterized
version of getEditMode
Parameters: documentAuthorizer -
Fields inherited from org.kuali.core.web.struts.form.KualiTransactionalDocumentFormBase