Interface RoleService

All Known Implementing Classes:
RoleServiceImpl

public interface RoleService
Created in Intellij IDEA User: Balaji Varadharajan Date: 07, July 2022 Time: 12:27 PM Project: Zeus Package Name: com.brihaspathee.zeus.service.interfaces To change this template use File | Settings | File and Code Template
  • Method Summary

    Modifier and Type
    Method
    Description
    com.brihaspathee.zeus.security.model.RoleList
    Get all the roles in the system
    com.brihaspathee.zeus.security.model.RoleList
    getRoleById(UUID roleId)
    Get role by role id
    com.brihaspathee.zeus.security.model.RoleList
    Get role by role name
    com.brihaspathee.zeus.security.model.RoleDto
    saveRole(com.brihaspathee.zeus.security.model.RoleDto roleDto)
    Save the role Create the role if not present Update the role if present
  • Method Details

    • getAllRoles

      com.brihaspathee.zeus.security.model.RoleList getAllRoles()
      Get all the roles in the system
      Returns:
    • getRoleById

      com.brihaspathee.zeus.security.model.RoleList getRoleById(UUID roleId)
      Get role by role id
      Parameters:
      roleId -
      Returns:
    • getRoleByRoleName

      com.brihaspathee.zeus.security.model.RoleList getRoleByRoleName(String roleName)
      Get role by role name
      Parameters:
      roleName -
      Returns:
    • saveRole

      com.brihaspathee.zeus.security.model.RoleDto saveRole(com.brihaspathee.zeus.security.model.RoleDto roleDto)
      Save the role Create the role if not present Update the role if present
      Parameters:
      roleDto -
      Returns: