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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    createRole(org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    deleteRole(Long roleId)
    Method for Delete Role
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    disableRole(Long roleId)
    Method for disabling the role
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    enableRole(Long roleId)
    Method for Enabling the role
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    updateRole(Long roleId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    updateRolePermissions(Long roleId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      createRole in interface RoleWritePlatformService
    • 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:
      updateRole in interface RoleWritePlatformService
    • 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:
      updateRolePermissions in interface RoleWritePlatformService
    • deleteRole

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteRole(Long roleId)
      Method for Delete Role
      Specified by:
      deleteRole in interface RoleWritePlatformService
    • disableRole

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult disableRole(Long roleId)
      Method for disabling the role
      Specified by:
      disableRole in interface RoleWritePlatformService
    • enableRole

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult enableRole(Long roleId)
      Method for Enabling the role
      Specified by:
      enableRole in interface RoleWritePlatformService