|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.dynamic.definition.AbstractBaseWriter
transfer.com.dynamic.definition.LazyLoadWriter
public class LazyLoadWriter
Writes the code for lazy loading functionality
| Constructor Summary | |
|---|---|
init(ObjectManager objectManager)
Constructor |
|
| Method Summary | |
|---|---|
private void |
writeIsLoaded(DefinitionBuffer buffer, string name)
Writes the set of get/set IsLoaded Methods |
void |
writeLazyLoad(DefinitionBuffer buffer, Object object)
Writes the lazy load functions |
void |
writeLoad(DefinitionBuffer buffer, Object object, string name, string loadMethod)
Generic load() function writer |
private void |
writeLoadExternalOnetoMany(DefinitionBuffer buffer, Object object, string name)
writes the lazy load function for external one to may |
private void |
writeLoadManyToMany(DefinitionBuffer buffer, Object object, transfer.com.object.manytomany manytomany)
Writes the lazy load functions |
private void |
writeLoadManyToOne(DefinitionBuffer buffer, Object object, transfer.com.object.manytoone manytoone)
Writes the lazy load functions |
private void |
writeLoadOneToMany(DefinitionBuffer buffer, Object object, transfer.com.object.onetomany onetomany)
Writes the lazy load functions |
private void |
writeOpenLoadLock(DefinitionBuffer buffer, Object object, string name, [boolean isLoaded='false'])
writes the loading double check lock lock |
private void |
writeUnLoad(DefinitionBuffer buffer, Object object, string name, [boolean collection='true'])
Writes the unload functions |
private void |
writeUnLoadExternalOnetoMany(DefinitionBuffer buffer, Object object, string name)
writes the unload function for external one to may |
private void |
writeUnLoadManyToMany(DefinitionBuffer buffer, Object object, transfer.com.object.manytomany manytomany)
Writes the unload functions |
private void |
writeUnLoadManyToOne(DefinitionBuffer buffer, Object object, transfer.com.object.manytoone manytoone)
Writes the unload functions |
private void |
writeUnLoadOneToMany(DefinitionBuffer buffer, Object object, transfer.com.object.onetomany onetomany)
Writes the unload functions |
| 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 writeIsLoaded(DefinitionBuffer buffer, string name)
buffer - The Buffer that the defintion file is being set inname - The name of the collectionpublic void writeLazyLoad(DefinitionBuffer buffer, Object object)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectpublic void writeLoad(DefinitionBuffer buffer, Object object, string name, string loadMethod)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectname - The name of the compostionloadMethod - The method to call to load from Transfer.cfcprivate void writeLoadExternalOnetoMany(DefinitionBuffer buffer, Object object, string name)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectname - The name of the external collectionprivate void writeLoadManyToMany(DefinitionBuffer buffer, Object object, transfer.com.object.manytomany manytomany)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectmanytomany - The one to many objectprivate void writeLoadManyToOne(DefinitionBuffer buffer, Object object, transfer.com.object.manytoone manytoone)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectmanytoone - The one to many objectprivate void writeLoadOneToMany(DefinitionBuffer buffer, Object object, transfer.com.object.onetomany onetomany)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectonetomany - The one to many objectprivate void writeOpenLoadLock(DefinitionBuffer buffer, Object object, string name, [boolean isLoaded='false'])
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectname - The name of the compostionisLoaded - check the lock if it's loaded, or notprivate void writeUnLoad(DefinitionBuffer buffer, Object object, string name, [boolean collection='true'])
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectname - The name of the compostioncollection - if it's a collectionprivate void writeUnLoadExternalOnetoMany(DefinitionBuffer buffer, Object object, string name)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectname - The name of the external collectionprivate void writeUnLoadManyToMany(DefinitionBuffer buffer, Object object, transfer.com.object.manytomany manytomany)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectmanytomany - The one to many objectprivate void writeUnLoadManyToOne(DefinitionBuffer buffer, Object object, transfer.com.object.manytoone manytoone)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectmanytoone - The one to many objectprivate void writeUnLoadOneToMany(DefinitionBuffer buffer, Object object, transfer.com.object.onetomany onetomany)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectonetomany - The one to many object
|
Transfer version 1.1 | ||||
| FRAMES | |||||