|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccountingLineRenderingContext
A contract for classes which wish to provide information about an accounting line which is being rendered
Method Summary | |
---|---|
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()
|
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 |
Method Detail |
---|
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 of
void incrementTabIndex()
String getGroupLabel()
List getErrors()
KualiAccountingDocumentFormBase getForm()
String getAccountingLineContainingObjectPropertyName()
boolean isFieldModifyable(String fieldName)
fieldName
- the simple name (that is, the name does not include the collection property) of the field
boolean isEditableLine()
boolean allowDelete()
void makeDeletable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |