public interface AccountingLineRenderingService
Modifier and Type | Method and Description |
---|---|
AccountingLineViewFieldDefinition |
createGenericAccountingLineViewFieldDefinition(org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition fieldDefinition)
Begins to create an AccountingLineViewFieldDefinition, based on the information held within the given MaintainableFieldDefinition
|
KualiAccountingDocumentFormBase |
findForm(javax.servlet.jsp.PageContext pageContext)
Looks in likely places to find the form that is used by the page context for rendering an accounting document
|
FieldRenderer |
getFieldRendererForField(org.kuali.rice.kns.web.ui.Field field,
AccountingLine accountingLineToRender)
Based on the control type of the field, returns a proper field renderer
|
void |
performPostTablificationTransformations(List<AccountingLineTableRow> rows,
AccountingLineGroupDefinition groupDefinition,
AccountingDocument document,
AccountingLine accountingLine,
boolean newLine)
Performs any transformations that should happen after tablification
|
void |
performPreTablificationTransformations(List<TableJoining> elements,
AccountingLineGroupDefinition groupDefinition,
AccountingDocument document,
AccountingLine accountingLine,
boolean newLine,
Map unconvertedValues,
String accountingLinePropertyName)
Performs any known transformations against the List of AccountingLineViewRenderableElements
|
List<AccountingLineTableRow> |
tablify(List<TableJoining> elements)
Given a list of renderable elements, determines how to split that into rows, cells, and fields
|
List<AccountingLineTableRow> tablify(List<TableJoining> elements)
elements
- renderable elements to find table form forvoid performPreTablificationTransformations(List<TableJoining> elements, AccountingLineGroupDefinition groupDefinition, AccountingDocument document, AccountingLine accountingLine, boolean newLine, Map unconvertedValues, String accountingLinePropertyName)
elements
- the List of elements to transformdefinition
- the accounting line group definition that gives instructions to the particular rendering we're attemptingdocument
- the Accounting Document we're rendering lines fromaccountingLine
- the line we're renderingnewLine
- true if what is being rendered is the new line in the form; false otherwiseunconvertedValues
- any unconverted values stored in the formaccountingLinePropertyName
- the property path to this accounting linevoid performPostTablificationTransformations(List<AccountingLineTableRow> rows, AccountingLineGroupDefinition groupDefinition, AccountingDocument document, AccountingLine accountingLine, boolean newLine)
rows
- the tablified rowsgroupDefinition
- the data dictionary definition of the group to renderdocument
- the Accounting Document we're rendering lines fromaccountingLine
- the line we're rendering the line which is being renderednewLine
- true if what is being rendered is the new line in the form; false otherwiseKualiAccountingDocumentFormBase findForm(javax.servlet.jsp.PageContext pageContext)
pageContext
- the pageContext to find the form inFieldRenderer getFieldRendererForField(org.kuali.rice.kns.web.ui.Field field, AccountingLine accountingLineToRender)
AccountingLineViewFieldDefinition createGenericAccountingLineViewFieldDefinition(org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition fieldDefinition)
fieldDefinition
- the field definition to create a generic accounting line view field version ofCopyright © 2004–2015 The Kuali Foundation. All rights reserved.