public interface AccountingLineRenderingContext extends RenderableElement
Modifier and Type | Method and Description |
---|---|
boolean |
allowDelete()
Determines whether this line should be allowed to be deleted
|
boolean |
fieldsCanRenderDynamicLabels()
Tells callers if dynamic field labels should even be rendered
|
boolean |
fieldsShouldRenderHelp()
Tells callers if fields should render help or not
|
AccountingDocument |
getAccountingDocument() |
AccountingLine |
getAccountingLine() |
String |
getAccountingLineContainingObjectPropertyName() |
String |
getAccountingLinePropertyPath() |
List<AccountingLineViewAction> |
getActionsForLine() |
Integer |
getCurrentLineCount()
If this is a new line, returns null; if it is a line in a collection, returns the line number within that collection
|
List |
getErrors() |
List<String> |
getFieldNamesForAccountingLine()
Returns all the field names for the given accounting line, prefixed by the accounting line property path
|
KualiAccountingDocumentFormBase |
getForm() |
String |
getGroupLabel() |
int |
getRenderableCellCount() |
List<AccountingLineTableRow> |
getRows()
Gets the rows attribute.
|
String |
getTabState(String tabKey)
Returns the tab state for the given tab key on the current form
|
Map |
getUnconvertedValues()
Returns a Map of all values from the request which were unconverted to actuall business objects
|
void |
incrementTabIndex()
Increments the tab index on the form this rendering is associated with
|
boolean |
isEditableLine()
Determines whether the accounting line is - as a whole line - editable or not
|
boolean |
isFieldModifyable(String fieldName)
Determines whether a field is modifyable or not
|
boolean |
isNewLine()
Reports whether the tag to be rendered by this rendering context is "new" - ie, not added yet to the accounting group, but living on the form somewhere - or not
|
void |
makeDeletable()
Makes the line within this accounting line context deletable
|
void |
populateValuesForFields()
Forces the population of values for all fields used to render the accounting line
|
appendFields, isActionBlock, isEmpty, isHidden, populateWithTabIndexIfRequested, renderElement
AccountingLine getAccountingLine()
String getAccountingLinePropertyPath()
List<AccountingLineViewAction> getActionsForLine()
boolean fieldsShouldRenderHelp()
boolean fieldsCanRenderDynamicLabels()
boolean isNewLine()
Integer getCurrentLineCount()
List<String> getFieldNamesForAccountingLine()
Map getUnconvertedValues()
void populateValuesForFields()
AccountingDocument getAccountingDocument()
String getTabState(String tabKey)
tabKey
- the tab key to get the state ofvoid incrementTabIndex()
String getGroupLabel()
KualiAccountingDocumentFormBase getForm()
String getAccountingLineContainingObjectPropertyName()
boolean isFieldModifyable(String fieldName)
fieldName
- the simple name (that is, the name does not include the collection property) of the fieldboolean isEditableLine()
boolean allowDelete()
void makeDeletable()
int getRenderableCellCount()
List<AccountingLineTableRow> getRows()
Copyright © 2004–2016 The Kuali Foundation. All rights reserved.