@Override protected ProjectDto createProject() { ProjectDto project = DtoFactory.projectDto(); project.setName(projectDto.getName()); project.setId(projectDto.getId()); project.setBoardIds(projectDto.getBoardIds()); project.setVersion(projectDto.getVersion()); return project; }
@Override public void messageArrived(Message<ProjectDto> message) { if (message.getPayload() == null) { return; } if (message.getPayload().getId().equals(projectDto.getId())) { projectDto = message.getPayload(); } }