org.kuali.kfs.sys.document.service.impl
Class AccountingLineAuthorizationTransformerImpl

java.lang.Object
  extended by org.kuali.kfs.sys.document.service.impl.AccountingLineAuthorizationTransformerImpl
All Implemented Interfaces:
AccountingLineAuthorizationTransformer

public class AccountingLineAuthorizationTransformerImpl
extends Object
implements AccountingLineAuthorizationTransformer

Like a regular accounting line rendering transformer, though this


Constructor Summary
AccountingLineAuthorizationTransformerImpl()
           
 
Method Summary
protected  void removeUnviewableBlocks(List<TableJoining> elements, Set<String> unviewableBlocks)
           
 void transformElements(List<TableJoining> elements, AccountingLine accountingLine, AccountingDocument document, AccountingLineAuthorizer lineAuthorizer, boolean newLine, String accountingLinePropertyName)
          Performs transformations to the element rendering tree based on the authorization's reactions to the accounting line
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountingLineAuthorizationTransformerImpl

public AccountingLineAuthorizationTransformerImpl()
Method Detail

transformElements

public void transformElements(List<TableJoining> elements,
                              AccountingLine accountingLine,
                              AccountingDocument document,
                              AccountingLineAuthorizer lineAuthorizer,
                              boolean newLine,
                              String accountingLinePropertyName)
Performs transformations to the element rendering tree based on the authorization's reactions to the accounting line

Specified by:
transformElements in interface AccountingLineAuthorizationTransformer
Parameters:
elements - the element rendering tree
accountingLine - the accounting line to be rendered
document - the document that accounting line lives on
lineAuthorizer - the authorizer for the accounting line
newLine - is this line a new line or a line already on a document?
accountingLinePropertyName - the property path to this accounting line

removeUnviewableBlocks

protected void removeUnviewableBlocks(List<TableJoining> elements,
                                      Set<String> unviewableBlocks)
Parameters:
elements - the elements of the rendering tree
unviewableBlocks - a Set of the names of blocks that are not viewable


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.