|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.service.impl.AllReadOnlyNoActionsAccountingLineRenderingTransformationImpl
public class AllReadOnlyNoActionsAccountingLineRenderingTransformationImpl
If all the fields of a line are read only, then any actions blocks should be completely removed.
Constructor Summary | |
---|---|
AllReadOnlyNoActionsAccountingLineRenderingTransformationImpl()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AllReadOnlyNoActionsAccountingLineRenderingTransformationImpl()
Method Detail |
---|
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.kfs.sys.businessobject.AccountingLine)
protected boolean allReadOnly(List<TableJoining> elements)
elements
- the elements to render
protected void removeActionBlocks(List<? extends TableJoining> elements)
elements
- the elements which contain action blocks to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |