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 ofPrivilege
model- Returns:
- Returns the list of
PrivilegeResponse
orchestration model
-
userRolesToUserRolesResponse
This method is used to transform the UserRoles list model into the UserRolesResponse list model- Parameters:
userRolesList
- Indicates the list ofUserRoles
model- Returns:
- Returns the list of
UserRolesResponse
orchestration model
-
roleToRoleResponse
This method is used to transform the Role list model into the RoleResponse list model- Parameters:
roleList
- Indicates the list ofRole
model- Returns:
- Returns the list of
RoleResponse
orchestration model
-