-
Notifications
You must be signed in to change notification settings - Fork 0
Code Snippets
lyncodev edited this page Aug 16, 2012
·
2 revisions
Common tasks could be achieved very easily. The following methods are generated by default with Spring Roo, so all Entities will contain such methods.
Community community = Community.findCommunity(<ID>);
Sample App here
List<Community> communities = Community.findAllCommunitys();
for (Community community : communities)
// Do something
long count = Community.countCommunitys();
List<Community> communities = Community.findCommunityEntries(<Offset>, <Length>);
for (Community community : communities)
// Do something