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

com.brihaspathee.zeus.mapper.interfaces.AlternateContactMapper Maven / Gradle / Ivy

The newest version!
package com.brihaspathee.zeus.mapper.interfaces;

import com.brihaspathee.zeus.domain.entity.AlternateContact;
import com.brihaspathee.zeus.dto.account.AlternateContactDto;

import java.util.List;

/**
 * Created in Intellij IDEA
 * User: Balaji Varadharajan
 * Date: 29, November 2022
 * Time: 1:27 PM
 * Project: Zeus
 * Package Name: com.brihaspathee.zeus.mapper.interfaces
 * To change this template use File | Settings | File and Code Template
 */
public interface AlternateContactMapper {

    /**
     * Convert alternate contact entity to alternate contact dto
     * @param alternateContact
     * @return
     */
    AlternateContactDto alternateContactToAlternateContactDto(AlternateContact alternateContact);

    /**
     * Convert alternate contact dto to alternate contact entity
     * @param alternateContactDto
     * @return
     */
    AlternateContact alternateContactDtoToAlternateContact(AlternateContactDto alternateContactDto);

    /**
     * Convert alternate contact entities to alternate contact dtos
     * @param alternateContacts
     * @return
     */
    List alternateContactsToAlternateContactDtos(List alternateContacts);

    /**
     * Convert alternate contact dtos to alternate contact entities
     * @param alternateContactDtos
     * @return
     */
    List alternateContactDTosAlternateContacts(List alternateContactDtos);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy