Search in sources :

Example 6 with Comment

use of com.odysseusinc.arachne.portal.model.Comment in project ArachneCentralAPI by OHDSI.

the class CommentDTOToCommentConverter method convert.

@Override
public Comment convert(CommentDTO source) {
    final Comment comment = new Comment();
    comment.setComment(source.getComment());
    return comment;
}
Also used : Comment(com.odysseusinc.arachne.portal.model.Comment)

Aggregations

Comment (com.odysseusinc.arachne.portal.model.Comment)6 CommentTopic (com.odysseusinc.arachne.portal.model.CommentTopic)3 JsonResult (com.odysseusinc.arachne.commons.api.v1.dto.util.JsonResult)1 CommentDTO (com.odysseusinc.arachne.portal.api.v1.dto.CommentDTO)1 NotExistException (com.odysseusinc.arachne.portal.exception.NotExistException)1 IUser (com.odysseusinc.arachne.portal.model.IUser)1 SubmissionInsight (com.odysseusinc.arachne.portal.model.SubmissionInsight)1 SubmissionInsightSubmissionFile (com.odysseusinc.arachne.portal.model.SubmissionInsightSubmissionFile)1 ApiOperation (io.swagger.annotations.ApiOperation)1 Date (java.util.Date)1 CacheEvict (org.springframework.cache.annotation.CacheEvict)1 Cacheable (org.springframework.cache.annotation.Cacheable)1 PageRequest (org.springframework.data.domain.PageRequest)1 Pageable (org.springframework.data.domain.Pageable)1 PreAuthorize (org.springframework.security.access.prepost.PreAuthorize)1 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)1