> quote: Because CF passes CFCs by reference, your adminusers object will 
> "magically" have all of the updated info in it wherever you called 
> readAdminUsers() from. 

really, no way? so my admin object will have the data populated using the 
getters and setters! thats cool!

so let me see if I understand this. say I wanted to get data from my database 
where ID = 1

in my service layer I would do something like this...

var userDetails = variables.adminUsersGateway.readAdminUsers(arguments.bean);

then in my handler I could setadminusers.getname() to get the name.

do I have to use the object first to set the userID then pass in my object?.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325487
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to