Class RoleWritePlatformServiceJpaRepositoryImpl
java.lang.Object
org.apache.fineract.useradministration.service.RoleWritePlatformServiceJpaRepositoryImpl
- All Implemented Interfaces:
RoleWritePlatformService
public class RoleWritePlatformServiceJpaRepositoryImpl
extends Object
implements RoleWritePlatformService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.infrastructure.core.data.CommandProcessingResultcreateRole(org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultdeleteRole(Long roleId) Method for Delete Roleorg.apache.fineract.infrastructure.core.data.CommandProcessingResultdisableRole(Long roleId) Method for disabling the roleorg.apache.fineract.infrastructure.core.data.CommandProcessingResultenableRole(Long roleId) Method for Enabling the roleorg.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateRole(Long roleId, org.apache.fineract.infrastructure.core.api.JsonCommand command) org.apache.fineract.infrastructure.core.data.CommandProcessingResultupdateRolePermissions(Long roleId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
-
Constructor Details
-
RoleWritePlatformServiceJpaRepositoryImpl
public RoleWritePlatformServiceJpaRepositoryImpl()
-
-
Method Details
-
createRole
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult createRole(org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
createRolein interfaceRoleWritePlatformService
-
updateRole
@CacheEvict(value="users",allEntries=true) @CacheEvict(value="usersByUsername",allEntries=true) @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateRole(Long roleId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
updateRolein interfaceRoleWritePlatformService
-
updateRolePermissions
@CacheEvict(value="users",allEntries=true) @CacheEvict(value="usersByUsername",allEntries=true) @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateRolePermissions(Long roleId, org.apache.fineract.infrastructure.core.api.JsonCommand command) - Specified by:
updateRolePermissionsin interfaceRoleWritePlatformService
-
deleteRole
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteRole(Long roleId) Method for Delete Role- Specified by:
deleteRolein interfaceRoleWritePlatformService
-
disableRole
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult disableRole(Long roleId) Method for disabling the role- Specified by:
disableRolein interfaceRoleWritePlatformService
-
enableRole
@Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult enableRole(Long roleId) Method for Enabling the role- Specified by:
enableRolein interfaceRoleWritePlatformService
-