protected void validate(BlogsEntry entry) throws TrackbackValidationException {

    if (!entry.isAllowTrackbacks()) {
      throw new TrackbackValidationException("Trackbacks are not enabled");
    }
  }
Пример #2
0
 public BlogsEntryModel(BlogsEntry blogsEntry) {
   _content = blogsEntry.getContent();
   _entryId = blogsEntry.getEntryId();
   _title = blogsEntry.getTitle();
 }