From 11aed2eab046f8459e1acc4e36a0c3da599ed1dd Mon Sep 17 00:00:00 2001 From: Phil Haeusler Date: Tue, 28 Feb 2012 21:48:07 +1100 Subject: [PATCH] Update to onMissingMethod comment to document Ordered and Filtered functionality --- coldspring/orm/hibernate/AbstractGateway.cfc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/coldspring/orm/hibernate/AbstractGateway.cfc b/coldspring/orm/hibernate/AbstractGateway.cfc index a4fedcd..bed9ed1 100644 --- a/coldspring/orm/hibernate/AbstractGateway.cfc +++ b/coldspring/orm/hibernate/AbstractGateway.cfc @@ -65,8 +65,11 @@ component *
  • newXXX(): returns a new instance of Entity XXX
  • *
  • saveXXX(object): calls EntitySave() on the object argument
  • *
  • deleteXXX(object): calls EntityDelete() on the object argument
  • - *
  • listXXX[FilterByYYY][OrderByZZZ](): returns a list of the XXX entity. - *
    Optionally filters by YYY, for which you need to pass in a value. Optionally orders by property ZZZ + *
  • listXXX[FilterByYYY|Filtered][OrderByZZZ|Ordered](): returns a list of the XXX entity. + *
    Optionally filters by a single property YYY, for which you need to pass in a value + *
    To filter by multiple properties, specify Filtered and pass a struct containing filterCriteria + *
    Optionally orders by a single property ZZZ. Specify order by ZZZ_ASC or ZZZ_DESC + *
    To order by multiple properties, specified Ordered and pass in a sortOrder string in the format "property1 ASC,property2 DESC" *
  • *
  • enableFilterXXX(params): enables the filter XXX and returns it. The param struct argument passed in keys-values are set as parameters on the filter.
  • *