All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arextest.web.model.mapper.FSFolderMapper Maven / Gradle / Ivy

The newest version!
package com.arextest.web.model.mapper;

import com.arextest.web.model.contract.contracts.filesystem.FSQueryFolderResponseType;
import com.arextest.web.model.contract.contracts.filesystem.FSSaveFolderRequestType;
import com.arextest.web.model.dao.mongodb.FSFolderCollection;
import com.arextest.web.model.dto.filesystem.FSFolderDto;
import com.arextest.web.model.dto.filesystem.importexport.FolderItemDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface FSFolderMapper {

  FSFolderMapper INSTANCE = Mappers.getMapper(FSFolderMapper.class);

  FSFolderDto dtoFromContract(FSSaveFolderRequestType contract);

  FSQueryFolderResponseType contractFromDto(FSFolderDto dto);

  FSFolderDto dtoFromDao(FSFolderCollection dao);

  FSFolderCollection daoFromDto(FSFolderDto dto);

  FolderItemDto ieItemFromFsItemDto(FSFolderDto dto);

  FSFolderDto fsItemFromIeItemDto(FolderItemDto dto);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy