Package org.exoplatform.task.util
Class StorageUtil
java.lang.Object
org.exoplatform.task.util.StorageUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeLogEntrychangeLogToDto(ChangeLog changeLog, UserService userService) static ChangeLogchangeLogToEntity(ChangeLogEntry changeLogEntry, UserService userService) static CommentDtocommentToDto(Comment comment, ProjectStorage projectStorage) static CommentcommentToEntity(CommentDto commentDto) static LabelDtolabelToDto(Label label) static LabelDtolabelToDto(Label label, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage) static LabelDtolabelToDto(Label label, TaskDto task, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage) static LabellabelToEntity(LabelDto labelDto) static List<CommentDto> listCommentsToDtos(List<Comment> comments, ProjectStorage projectStorage) listCommentsToEntitys(List<CommentDto> commentDtos) listStatusToDTOs(List<Status> status, ProjectStorage projectStorage) listStatusToEntitys(List<StatusDto> status) static LabelmappingLabelToEntity(LabelDto labelDto) static ProjectDtoprojectToDto(Project project) static ProjectDtoprojectToDto(Project project, ProjectStorage projectStorage) static ProjectprojectToEntity(ProjectDto projectDto) static StatusDtostatusToDTO(Status status, ProjectStorage projectStorage) static StatusstatusToEntity(StatusDto statusDto) static TaskDtotaskToDto(Task taskEntity, ProjectStorage projectStorage) static TasktaskToEntity(TaskDto taskDto)
-
Constructor Details
-
StorageUtil
public StorageUtil()
-
-
Method Details
-
changeLogToEntity
-
changeLogToDto
-
taskToEntity
-
taskToDto
-
statusToEntity
-
statusToDTO
-
listStatusToDTOs
-
listStatusToEntitys
-
projectToEntity
-
projectToDto
-
projectToDto
-
labelToEntity
-
labelToDto
public static LabelDto labelToDto(Label label, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage) -
labelToDto
public static LabelDto labelToDto(Label label, TaskDto task, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage) -
labelToDto
-
mappingLabelToEntity
-
commentToEntity
-
commentToDto
-
listCommentsToDtos
public static List<CommentDto> listCommentsToDtos(List<Comment> comments, ProjectStorage projectStorage) -
listCommentsToEntitys
-