public class AllReadOnlyNoActionsAccountingLineRenderingTransformationImpl extends Object implements AccountingLineRenderingTransformation
Constructor and Description |
---|
AllReadOnlyNoActionsAccountingLineRenderingTransformationImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allReadOnly(List<TableJoining> elements)
Traverses all elements, determining if all of the elements are read only
|
protected void |
removeActionBlocks(List<? extends TableJoining> elements)
Takes any action blocks out of the line
|
void |
transformElements(List<TableJoining> elements,
AccountingLine accountingLine)
Traverses through the elements to see if they're all read only; if so, traverses through again and removes any action blocks
|
public AllReadOnlyNoActionsAccountingLineRenderingTransformationImpl()
public void transformElements(List<TableJoining> elements, AccountingLine accountingLine)
transformElements
in interface AccountingLineRenderingTransformation
elements
- a List of renderable elements to transformaccountingLine
- the accounting line that will be renderedAccountingLineRenderingTransformation.transformElements(java.util.List, org.kuali.ole.sys.businessobject.AccountingLine)
protected boolean allReadOnly(List<TableJoining> elements)
elements
- the elements to renderprotected void removeActionBlocks(List<? extends TableJoining> elements)
elements
- the elements which contain action blocks to removeCopyright © 2004–2014 The Kuali Foundation. All rights reserved.