Changes between Version 2 and Version 3 of FmgVen/Development/UseCases
- Timestamp:
- Oct 11, 2010, 9:08:11 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FmgVen/Development/UseCases
v2 v3 8 8 * List the collection of objects according to some criteria and also sort 9 9 10 == Use Case 1: Save an Object ==10 == Use Case: Save an Object == 11 11 To save an object, user calls; 12 12 {{{ … … 18 18 }}} 19 19 20 == Use Case 2: Delete an Object ==20 == Use Case: Delete an Object == 21 21 To delete an object, user calls; 22 22 {{{ … … 24 24 }}} 25 25 26 == Use Case 3: Get an Object by Primary Key ==26 == Use Case: Get an Object by Primary Key == 27 27 To get an object by its primary key, user calls; 28 28 {{{ … … 30 30 }}} 31 31 32 == Use Case 4: List the Collection of Objects ==32 == Use Case: List the Collection of Objects == 33 33 To list the collection of objects, user calls; 34 34 {{{ … … 36 36 }}} 37 37 38 == Use Case 5: List the Collection of Objects By Some Criteria ==38 == Use Case: List the Collection of Objects By Some Criteria == 39 39 To list the collection of objects by some criteria, user calls; 40 40 {{{ 41 41 List objList = ven.list(SomeDomainObject.class, criteria); 42 42 }}} 43 44 == Use Case: !Get/List Nested Objects by Specifying Path == 45 To get an object (or list) containing nested objects, user can specify the path of requested nested objects; 46 {{{ 47 SomeDomainObject obj = (SomeDomainObject)ven.get(1, SomeDomainObject.class, "SomeDomainObject.nestedObject.anotherNestedObject"); 48 }}}