Class RoleMapperImpl

java.lang.Object
com.brihaspathee.zeus.mapper.impl.RoleMapperImpl
All Implemented Interfaces:
RoleMapper

@Component public class RoleMapperImpl extends Object implements RoleMapper
Created in Intellij IDEA User: Balaji Varadharajan Date: 06, July 2022 Time: 2:05 PM Project: Zeus Package Name: com.brihaspathee.zeus.mapper.impl To change this template use File | Settings | File and Code Template
  • Constructor Details

    • RoleMapperImpl

      public RoleMapperImpl()
  • Method Details

    • roleDtoToRole

      public Role roleDtoToRole(com.brihaspathee.zeus.security.model.RoleDto roleDto)
      Converts the Role Dto to Role entity
      Specified by:
      roleDtoToRole in interface RoleMapper
      Parameters:
      roleDto -
      Returns:
    • roleToRoleDto

      public com.brihaspathee.zeus.security.model.RoleDto roleToRoleDto(Role role)
      Converts the role entity to role dto
      Specified by:
      roleToRoleDto in interface RoleMapper
      Parameters:
      role -
      Returns:
    • roleDtosToRoles

      public List<Role> roleDtosToRoles(List<com.brihaspathee.zeus.security.model.RoleDto> roleDtos)
      Converts the set of role dtos to role entities
      Specified by:
      roleDtosToRoles in interface RoleMapper
      Parameters:
      roleDtos -
      Returns:
    • rolesToRoleDtos

      public List<com.brihaspathee.zeus.security.model.RoleDto> rolesToRoleDtos(List<Role> roles)
      Converts list of role entities to role dtos
      Specified by:
      rolesToRoleDtos in interface RoleMapper
      Parameters:
      roles -
      Returns: