Пример #1
0
 @Override
 protected String provideText(Dtos.BoardDto entity) {
   return entity.getName();
 }
Пример #2
0
 private Dtos.BoardDto asShallowBoard(Dtos.BoardDto board) {
   Dtos.BoardDto shallowBoard = DtoFactory.boardDto();
   shallowBoard.setId(board.getId());
   shallowBoard.setName(board.getName());
   return shallowBoard;
 }