Class AuthorityServiceImpl
java.lang.Object
com.brihaspathee.zeus.service.impl.AuthorityServiceImpl
- All Implemented Interfaces:
AuthorityService
Created in Intellij IDEA
User: Balaji Varadharajan
Date: 06, July 2022
Time: 1:25 PM
Project: Zeus
Package Name: com.brihaspathee.zeus.service.impl
To change this template use File | Settings | File and Code Template
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.brihaspathee.zeus.security.model.AuthorityListGet all the permissions in the systemcom.brihaspathee.zeus.security.model.AuthorityListgetAuthorityById(UUID authorityId) Get authority by authority idcom.brihaspathee.zeus.security.model.AuthorityListgetAuthorityByName(String permission) Get permission by authority namecom.brihaspathee.zeus.security.model.AuthorityDtosaveAuthority(com.brihaspathee.zeus.security.model.AuthorityDto authorityDto) Create a new authority
-
Constructor Details
-
AuthorityServiceImpl
public AuthorityServiceImpl()
-
-
Method Details
-
getAllAuthorities
public com.brihaspathee.zeus.security.model.AuthorityList getAllAuthorities()Get all the permissions in the system- Specified by:
getAllAuthoritiesin interfaceAuthorityService- Returns:
-
getAuthorityById
Get authority by authority id- Specified by:
getAuthorityByIdin interfaceAuthorityService- Parameters:
authorityId-- Returns:
-
getAuthorityByName
Get permission by authority name- Specified by:
getAuthorityByNamein interfaceAuthorityService- Parameters:
permission-- Returns:
-
saveAuthority
public com.brihaspathee.zeus.security.model.AuthorityDto saveAuthority(com.brihaspathee.zeus.security.model.AuthorityDto authorityDto) Create a new authority- Specified by:
saveAuthorityin interfaceAuthorityService- Returns:
-