Package org.motechproject.mots.mapper
Interface RoleMapper
-
public interface RoleMapper
-
-
Field Summary
Fields Modifier and Type Field Description static RoleMapper
INSTANCE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserRole
fromDto(RoleDto roleDto)
RoleDto
toDto(UserRole role)
java.util.List<RoleDto>
toDtos(java.lang.Iterable<UserRole> roles)
void
updateFromDto(RoleDto roleDto, UserRole role)
-