Transfer version 1.1

transfer.com.object
Class ObjectGateway

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

public class ObjectGateway
extends WEB-INF.cftags.component

gateway to queries on the XML structure


Constructor Summary
init(XMLFileReader configReader)
          Constructor
 
Method Summary
 numeric getCacheScopeCount(string scope)
          returns the right count for the number of objects under a certain cache scope
private XMLFileReader getConfigReader()
 query getManyToManyLinksByClassLinkTo(string className)
          Gets a query of Many to Many details by the class it is linked to
 numeric getObjectCount()
          returns the count of the total number of objects defined
private void setConfigReader(XMLFileReader ConfigReader)
private any throw(string type, string message, [string detail=''])
          Throws an Exception
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(XMLFileReader configReader)
Constructor

Parameters:
configReader - XML config reader
Method Detail

getCacheScopeCount

public numeric getCacheScopeCount(string scope)
returns the right count for the number of objects under a certain cache scope

Parameters:
scope - the scope to look for caching under

getConfigReader

private XMLFileReader getConfigReader()


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

getObjectCount

public numeric getObjectCount()
returns the count of the total number of objects defined


setConfigReader

private void setConfigReader(XMLFileReader ConfigReader)

Parameters:
ConfigReader

throw

private any throw(string type, string message, [string detail=''])
Throws an Exception

Parameters:
type - The type of exception
message - The message to accompany the exception
detail - The detail message for the exception

Transfer version 1.1