|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.dynamic.definition.AbstractBaseWriter
transfer.com.dynamic.definition.InitWriter
public class InitWriter
Writes the Init function for the definition
| Constructor Summary | |
|---|---|
init(ObjectManager objectManager)
Constructor |
|
| Method Summary | |
|---|---|
private void |
writeConfigureRun(DefinitionBuffer buffer)
Writes the code that checks to see if there is a 'configure' function, and runs it after the init |
void |
writeInit(DefinitionBuffer buffer, Object object)
Writes an Init function |
private void |
writeInitCollection(DefinitionBuffer buffer, string name, Collection collection)
Writes the collection part of the Init |
private void |
writeLazyInit(DefinitionBuffer buffer, Object object)
Writes the initialisation of lazy loading |
private void |
writePrimaryKeyDefault(DefinitionBuffer buffer, PrimaryKey primaryKey)
Writes the default values for the primary keys |
| Methods inherited from class transfer.com.dynamic.definition.AbstractBaseWriter |
|---|
getObjectManager, q, setObjectManager, throw
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(ObjectManager objectManager)
objectManager - The Object Manager| Method Detail |
|---|
private void writeConfigureRun(DefinitionBuffer buffer)
buffer - The Buffer that the defintion file is being set inpublic void writeInit(DefinitionBuffer buffer, Object object)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectprivate void writeInitCollection(DefinitionBuffer buffer, string name, Collection collection)
buffer - The Buffer that the defintion file is being set inname - The name of the collectioncollection - The collection in questionprivate void writeLazyInit(DefinitionBuffer buffer, Object object)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectprivate void writePrimaryKeyDefault(DefinitionBuffer buffer, PrimaryKey primaryKey)
buffer - The Buffer that the defintion file is being set inprimaryKey - The primary key to set to default
|
Transfer version 1.1 | ||||
| FRAMES | |||||