@Service @Transactional(value="herdTransactionManager") public class SecurityRoleServiceImpl extends Object implements SecurityRoleService
| Constructor and Description |
|---|
SecurityRoleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
SecurityRole |
createSecurityRole(SecurityRoleCreateRequest securityRoleCreateRequest)
Creates a new security role
|
SecurityRole |
deleteSecurityRole(SecurityRoleKey securityRoleKey)
Deletes a security role
|
SecurityRole |
getSecurityRole(SecurityRoleKey securityRoleKey)
Gets a security role
|
SecurityRoleKeys |
getSecurityRoles()
Gets a list of security role keys for all security roles defined in the system
|
SecurityRole |
updateSecurityRole(SecurityRoleKey securityRoleKey,
SecurityRoleUpdateRequest securityRoleUpdateRequest)
Updates a security role
|
public SecurityRole createSecurityRole(SecurityRoleCreateRequest securityRoleCreateRequest)
SecurityRoleServicecreateSecurityRole in interface SecurityRoleServicesecurityRoleCreateRequest - the security role create requestpublic SecurityRole getSecurityRole(SecurityRoleKey securityRoleKey)
SecurityRoleServicegetSecurityRole in interface SecurityRoleServicesecurityRoleKey - the security role keypublic SecurityRole deleteSecurityRole(SecurityRoleKey securityRoleKey)
SecurityRoleServicedeleteSecurityRole in interface SecurityRoleServicesecurityRoleKey - the security role namepublic SecurityRole updateSecurityRole(SecurityRoleKey securityRoleKey, SecurityRoleUpdateRequest securityRoleUpdateRequest)
SecurityRoleServiceupdateSecurityRole in interface SecurityRoleServicesecurityRoleKey - the security role keysecurityRoleUpdateRequest - the security role update requestpublic SecurityRoleKeys getSecurityRoles()
SecurityRoleServicegetSecurityRoles in interface SecurityRoleServiceCopyright © 2019. All rights reserved.