Package com.skava.account.mapper
Interface AccountModelRoleMapper
- All Known Subinterfaces:
AccountModelMapper
public interface AccountModelRoleMapper
-
Method Summary
Modifier and TypeMethodDescriptionprivilegeToPrivilegeResponse(List<Privilege> privilegeList) This method is used to transform the Privilege list model into the PrivilegeResponse list modelroleToRoleResponse(List<Role> roleList) This method is used to transform the Role list model into the RoleResponse list modeluserRolesToUserRolesResponse(List<UserRoles> userRolesList) This method is used to transform the UserRoles list model into the UserRolesResponse list model
-
Method Details
-
privilegeToPrivilegeResponse
This method is used to transform the Privilege list model into the PrivilegeResponse list model- Parameters:
privilegeList- Indicates the list ofPrivilegemodel- Returns:
- Returns the list of
PrivilegeResponseorchestration model
-
userRolesToUserRolesResponse
This method is used to transform the UserRoles list model into the UserRolesResponse list model- Parameters:
userRolesList- Indicates the list ofUserRolesmodel- Returns:
- Returns the list of
UserRolesResponseorchestration model
-
roleToRoleResponse
This method is used to transform the Role list model into the RoleResponse list model- Parameters:
roleList- Indicates the list ofRolemodel- Returns:
- Returns the list of
RoleResponseorchestration model
-