|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.dynamic.definition.AbstractBaseWriter
transfer.com.dynamic.definition.CollectionWriter
public class CollectionWriter
Writes out the collection/composition aspects of the defition
| Constructor Summary | |
|---|---|
init(ObjectManager objectManager)
Constructor |
|
| Method Summary | |
|---|---|
private void |
writeCollection(DefinitionBuffer buffer, string name, Collection collection, Object linkObject)
Writes the methods for a collection |
void |
writeExternalOneToMany(DefinitionBuffer buffer, Object object)
write the methods for where this object hook into a one to many |
void |
writeManyToMany(DefinitionBuffer buffer, Object object)
Writes the definition for Many to Many files |
void |
writeManyToOne(DefinitionBuffer buffer, Object object)
Writes the definition for Many to One. |
void |
writeOneToMany(DefinitionBuffer buffer, Object object)
writes the defintion of One to Many files |
private void |
writeRemoveAddAndClear(DefinitionBuffer buffer, Object object, string name, Collection collection, Object linkObject, string scope)
Writes the remove function |
private void |
writeSort(DefinitionBuffer buffer, Object object, string name, Link linkTo, Collection collection, [string scope='public'])
writes the sorting functions for a composite object collection |
| 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 writeCollection(DefinitionBuffer buffer, string name, Collection collection, Object linkObject)
buffer - The Buffer that the defintion file is being set inname - The name of the collectioncollection - The Collection of the composite typelinkObject - The Object the link points topublic void writeExternalOneToMany(DefinitionBuffer buffer, Object object)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectpublic void writeManyToMany(DefinitionBuffer buffer, Object object)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectpublic void writeManyToOne(DefinitionBuffer buffer, Object object)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectpublic void writeOneToMany(DefinitionBuffer buffer, Object object)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectprivate void writeRemoveAddAndClear(DefinitionBuffer buffer, Object object, string name, Collection collection, Object linkObject, string scope)
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectname - The name of the collectioncollection - The Collection of the composite typelinkObject - The Object the link points toscope - Private, or public?private void writeSort(DefinitionBuffer buffer, Object object, string name, Link linkTo, Collection collection, [string scope='public'])
buffer - The Buffer that the defintion file is being set inobject - BO of the Objectname - The name of the collectionlinkTo - The type of object the collection is made ofcollection - The collection that is being writtenscope - public, or private
|
Transfer version 1.1 | ||||
| FRAMES | |||||