Transfer version 1.1

transfer.com.dynamic
Class DecoratorBuilder

WEB-INF.cftags.component
        extended by transfer.com.dynamic.DecoratorBuilder
Direct Known Subclasses:
DecoratorBuilder

public class DecoratorBuilder
extends WEB-INF.cftags.component

Builds the decorators


Constructor Summary
init(string definitionPath, ObjectManager objectManager, MethodInjector methodInjector)
          Constructor
 
Method Summary
 void buildDecorator(transfer.com.dynamic.methodInjector methodInjector, string decoratorFileName)
          mixin function: Builds the decorator structure
 TransferDecorator createDecorator(Object object, TransferObject transfer)
          creates an empty Transfer Object
private DecoratorWriter getDecoratorWriter()
private string getDefinitionPath()
private MethodInjector getMethodInjector()
private ObjectManager getObjectManager()
private void setDecoratorWriter(DecoratorWriter DecoratorWriter)
private void setDefinitionPath(string DefinitionPath)
private void setMethodInjector(MethodInjector MethodInjector)
private void setObjectManager(ObjectManager ObjectManager)
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(string definitionPath, ObjectManager objectManager, MethodInjector methodInjector)
Constructor

Parameters:
definitionPath - Path to where the definitions are kept
objectManager - Need to object manager for making queries
methodInjector - The method injector cfc
Method Detail

buildDecorator

public void buildDecorator(transfer.com.dynamic.methodInjector methodInjector, string decoratorFileName)
mixin function: Builds the decorator structure

Parameters:
methodInjector - The method injector
decoratorFileName - The name the decorator file is

createDecorator

public TransferDecorator createDecorator(Object object, TransferObject transfer)
creates an empty Transfer Object

Parameters:
object - The object def, as the transfer won't know it's class yet
transfer - The transferObject

getDecoratorWriter

private DecoratorWriter getDecoratorWriter()


getDefinitionPath

private string getDefinitionPath()


getMethodInjector

private MethodInjector getMethodInjector()


getObjectManager

private ObjectManager getObjectManager()


setDecoratorWriter

private void setDecoratorWriter(DecoratorWriter DecoratorWriter)

Parameters:
DecoratorWriter

setDefinitionPath

private void setDefinitionPath(string DefinitionPath)

Parameters:
DefinitionPath

setMethodInjector

private void setMethodInjector(MethodInjector MethodInjector)

Parameters:
MethodInjector

setObjectManager

private void setObjectManager(ObjectManager ObjectManager)

Parameters:
ObjectManager

Transfer version 1.1