This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design question using grails.

 
pawan chopra
Ranch Hand
Posts: 415
jQuery Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have an object which represents a phone number. User is adding phone numbers in bulk. In my service layer I am creating those number objects and saving in the Database. But there are few checks that I have to do : for example if number does not start with 700 I have to add that number successfully but I have to show a warning to user about this. Now in the service I am returning count of numbers added successfully and errors in case anything bad happen. I need a way to pass these warnings as well. Can any one suggest me good way to do this or if grails provide anything related to this?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic