File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes Design question using grails. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Design question using grails." Watch "Design question using grails." New topic
Author

Design question using grails.

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 326

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?


Pawan Chopra
SCJP - DuMmIeS mInD
 
 
subject: Design question using grails.
 
Threads others viewed
JSF primary phone number indicator validation
Voice recognition in J2ME
Can i use a BroadcastReceiver or Service to retrieve an Incoming call
Install onto phone
What is the Economic Model for Phone applications?
IntelliJ Java IDE