Class RoleServiceImpl

java.lang.Object
com.brihaspathee.zeus.service.impl.RoleServiceImpl
All Implemented Interfaces:
RoleService

@Service public class RoleServiceImpl extends Object implements RoleService
Created in Intellij IDEA User: Balaji Varadharajan Date: 07, July 2022 Time: 12:33 PM Project: Zeus Package Name: com.brihaspathee.zeus.service.impl To change this template use File | Settings | File and Code Template
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RoleServiceImpl

      public RoleServiceImpl()
  • Method Details

    • getAllRoles

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

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

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

      public 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
      Specified by:
      saveRole in interface RoleService
      Parameters:
      roleDto -
      Returns: