protected void validate(BlogsEntry entry) throws TrackbackValidationException {

    if (!entry.isAllowTrackbacks()) {
      throw new TrackbackValidationException("Trackbacks are not enabled");
    }
  }
Exemplo n.º 2
0
 public BlogsEntryModel(BlogsEntry blogsEntry) {
   _content = blogsEntry.getContent();
   _entryId = blogsEntry.getEntryId();
   _title = blogsEntry.getTitle();
 }