public IModel<WordCard> getWordCard (Long id) {
return new HibernateObjectModel<WordCard>(WordCard.class, id);
}
public IModel<WordCard> getWordCard (String word, User user) {
return new HibernateObjectModel<WordCard>(new WordCardsQuery().setWord(word).setUser(user));
}