org.kuali.kfs.module.purap.document.web
Class PurapAccountingLineViewField
java.lang.Object
org.kuali.kfs.sys.document.web.FieldTableJoining
org.kuali.kfs.sys.document.web.FieldTableJoiningWithHeader
org.kuali.kfs.sys.document.web.AccountingLineViewField
org.kuali.kfs.module.purap.document.web.PurapAccountingLineViewField
- All Implemented Interfaces:
- ElementNamable, HeaderLabelPopulating, ReadOnlyable, RenderableElement, TableJoining, TableJoiningWithHeader
public class PurapAccountingLineViewField
- extends AccountingLineViewField
Represents a field (plus, optionally, a dynamic name field) to be rendered as part of an accounting line.
Methods inherited from class org.kuali.kfs.sys.document.web.AccountingLineViewField |
appendFields, createHeaderLabel, createHeaderLabelTableCell, createTableCell, escapeAccountingLineName, fieldInError, getColSpanOverride, getDefinition, getField, getHeaderLabelProperty, getName, getOverrideFields, getPersistenceStructureService, isHidden, isReadOnly, performFieldTransformations, populateFieldForLookupAndInquiry, populateHeaderLabel, populateWithTabIndexIfRequested, prepareFieldRenderer, readOnlyize, renderDynamicNameLabel, renderElement, renderField, renderOverrideFields, setDefinition, setEditable, setField, setOverrideFields, shouldRenderDynamicFeldLabel, transformOverrideFields, updateTableCellWithColSpanOverride |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PurapAccountingLineViewField
public PurapAccountingLineViewField()
isRenderingInquiry
protected boolean isRenderingInquiry(AccountingDocument document,
AccountingLine line)
- Overrides the method in AccountingLineViewField so that we could control when the inquiry link
should be rendered and when it should be hidden.
- Overrides:
isRenderingInquiry
in class AccountingLineViewField
- Parameters:
document
- the document which the accounting line is part of or hopefully sometime will be part ofline
- the accounting line being rendered
- Returns:
- true if inquiry links should be rendered, false otherwise
- See Also:
AccountingLineViewField.isRenderingInquiry(org.kuali.kfs.sys.document.AccountingDocument, org.kuali.kfs.sys.businessobject.AccountingLine)
getDynamicNameLabelDisplayedValue
protected String getDynamicNameLabelDisplayedValue(AccountingLine accountingLine)
- Overrides the method in AccountingLineViewField so that we could control when the
dynamic name label should be displayed and when it shouldn't be displayed.
- Overrides:
getDynamicNameLabelDisplayedValue
in class AccountingLineViewField
- Parameters:
accountingLine
- the accounting line to get the value from
- Returns:
- the value to display for the dynamic name label
- See Also:
AccountingLineViewField.getDynamicNameLabelDisplayedValue(org.kuali.kfs.sys.businessobject.AccountingLine)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.