Transfer version 1.1

transfer.com.object
Class ObjectManager

WEB-INF.cftags.component
        extended by transfer.com.object.ObjectManager

public class ObjectManager
extends WEB-INF.cftags.component

Manages the Object configurations


Constructor Summary
init(XMLFileReader configReader)
          Constructor
 
Method Summary
 Object createEmptyObject()
          Creates an empty Object BO
 numeric getCachedClassCount()
          returns the number of object classes who are actively cached
 query getManyToManyLinksByClassLinkTo(string className)
          Gets a query of Many to Many details by the class it is linked to
 Object getObject(string class)
          creates an Object meta data for use
private struct getObjectCache()
private ObjectDAO getObjectDao()
private ObjectGateway getObjectGateway()
 Object getObjectLazyManyToMany(string class, string name)
          creates an Object with only a single manytomany, with it's lazy attribute set to true
 Object getObjectLazyManyToOne(string class, string name)
          creates an Object with only a single many to one, with it's lazy attribute set to true
 Object getObjectLazyOneToMany(string class, string name)
          creates an Object with only a single onetomany, with it's lazy attribute set to true
 Object getObjectLazyParentOneToMany(string class)
          creates an Object with no compositions
private QueryCache getQueryCache()
private void setObjectCache(struct objectCache)
private void setObjectDao(ObjectDAO ObjectDao)
private void setObjectGateway(ObjectGateway ObjectGateway)
private void setQueryCache(QueryCache QueryCache)
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(XMLFileReader configReader)
Constructor

Parameters:
configReader - The XML Reader for the config file
Method Detail

createEmptyObject

public Object createEmptyObject()
Creates an empty Object BO


getCachedClassCount

public numeric getCachedClassCount()
returns the number of object classes who are actively cached


getManyToManyLinksByClassLinkTo

public query getManyToManyLinksByClassLinkTo(string className)
Gets a query of Many to Many details by the class it is linked to

Parameters:
className - The classname to search on

getObject

public Object getObject(string class)
creates an Object meta data for use

Parameters:
class - The class to be retrieving

getObjectCache

private struct getObjectCache()


getObjectDao

private ObjectDAO getObjectDao()


getObjectGateway

private ObjectGateway getObjectGateway()


getObjectLazyManyToMany

public Object getObjectLazyManyToMany(string class, string name)
creates an Object with only a single manytomany, with it's lazy attribute set to true

Parameters:
class - The class to be retrieving
name - The name of the manytomany

getObjectLazyManyToOne

public Object getObjectLazyManyToOne(string class, string name)
creates an Object with only a single many to one, with it's lazy attribute set to true

Parameters:
class - The class to be retrieving
name - The name of the many to one

getObjectLazyOneToMany

public Object getObjectLazyOneToMany(string class, string name)
creates an Object with only a single onetomany, with it's lazy attribute set to true

Parameters:
class - The class to be retrieving
name - The name of the onetomany

getObjectLazyParentOneToMany

public Object getObjectLazyParentOneToMany(string class)
creates an Object with no compositions

Parameters:
class - The class to be retrieving

getQueryCache

private QueryCache getQueryCache()


setObjectCache

private void setObjectCache(struct objectCache)

Parameters:
objectCache

setObjectDao

private void setObjectDao(ObjectDAO ObjectDao)

Parameters:
ObjectDao

setObjectGateway

private void setObjectGateway(ObjectGateway ObjectGateway)

Parameters:
ObjectGateway

setQueryCache

private void setQueryCache(QueryCache QueryCache)

Parameters:
QueryCache

Transfer version 1.1