/**
  * Verifies the "completeness" of podcast resource sent over the wire
  *
  * @param podcast
  * @return
  */
 private boolean isFullUpdate(Podcast podcast) {
   return podcast.getId() == null
       || podcast.getFeed() == null
       || podcast.getLinkOnPodcastpedia() == null
       || podcast.getTitle() == null
       || podcast.getDescription() == null;
 }
 private void validateInputForCreation(Podcast podcast) throws AppException {
   if (podcast.getFeed() == null) {
     throw new AppException(
         Response.Status.BAD_REQUEST.getStatusCode(),
         400,
         "Provided data not sufficient for insertion",
         "Please verify that the feed is properly generated/set",
         AppConstants.BLOG_POST_URL);
   }
   if (podcast.getTitle() == null) {
     throw new AppException(
         Response.Status.BAD_REQUEST.getStatusCode(),
         400,
         "Provided data not sufficient for insertion",
         "Please verify that the title is properly generated/set",
         AppConstants.BLOG_POST_URL);
   }
   // etc...
 }