Sure thing.
gavinsManagerCFC
...
<cffunction name="getgavinsObject">
<cfargument name = "ag1" required="true"... >
<cfargument name = "ag2 required="true"... >
<cfreturn gavinsDAOCFC.getGavinsObject(arg1 = "#arguments.arg1#, arg2 =
"#arguments.arg2# >
</cffunction>
gavinsDAOCFC
...
<cffunction name="getgavinsObject">
<cfargument name = "ag1" required="true"... >
<cfargument name = "ag2 required="true"... >
... Some SQL
WHERE column1 = "#arguments.arg1#"
AND column2 = "#arguments.arg2#"
return something (maybe)
</cffunction>
In this case the getGavinsObject in gavinsManagerCFC is "practically" a
stub / duplication of the function in the DAO.
The argument is why bother?
Why not just call the DAO version of the CFC and do away with the
managerCFC entirely?
Gavin.
--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/cfaussie/-/upAXP3qmn78J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.