Package ru.bitel.bgbilling.kernel.bgsecure.common.service

# Interface RoleService

public interface RoleService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ActionData`
  `actionDataRoot(String componentName)`
  `void`
  `actionExpressionDataDelete(int id)`
  `ActionExpressionData`
  `actionExpressionDataGet(int id)`
  `List<ActionExpressionData>`
  `actionExpressionDataList(String componentId, List<Integer> actionsIds)`
  `void`
  `actionExpressionDataUpdate(ActionExpressionData actionExpressionData)`
  `int`
  `checkRoleContainsKit(int permissionKitId)`
  Проверка, есть ли роль, которая содержит выбранный набор
  `void`
  `clearUnregRequestRecordList(List<String> recordIds)`
  `void`
  `deleteBGSActionGroup(BGSActionGroup group)`
  `void`
  `deletePermissionKit(int permissionKitId)`
  `void`
  `deleteRequestRecordLog(RequestRecordLog log)`
  `void`
  `deleteRole(Role role)`
  `void`
  `deleteRoleById(int roleId)`
  `List<BGSActionGroup>`
  `getBGSActionGroups()`
  `PermissionKit`
  `getByKitId(int permissionKitId)`
  `Role`
  `getByRoleId(int roleId)`
  `List<IdTitle>`
  `getKitItems()`
  `List<PermissionKitItem>`
  `getPermissionKitItems()`
  `List<RoleItem>`
  `getRoleItems(boolean initChilds, boolean sortByTitle)`
  `List<Role>`
  `getRoles()`
  `void`
  `recheckUnregRequestRecordList()`
  `SearchResult<RequestRecordLog>`
  `searchRequestRecordLogList()`
  `SearchResult<UnregRequestRecord>`
  `searchUnregRequestRecordList(Page page)`
  `void`
  `startRecordingActions(int userId, String title)`
  `RequestRecordLog`
  `stopRecordingActions(int userId)`
  `void`
  `updateBGSActionGroup(BGSActionGroup group)`
  `int`
  `updatePermissionKit(PermissionKit permissionKit)`
  `void`
  `updateRequestLog(RequestRecordLog requestRecordLog)`
  `void`
  `updateRole(Role role)`

- ## Method Details

  - ### getRoles

    List<Role> getRoles() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getRoleItems

    List<RoleItem> getRoleItems(boolean initChilds, boolean sortByTitle) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getByRoleId

    Role getByRoleId(int roleId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### updateRole

    void updateRole(Role role) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### deleteRole

    void deleteRole(Role role) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### deleteRoleById

    void deleteRoleById(int roleId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getBGSActionGroups

    List<BGSActionGroup> getBGSActionGroups() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### updateBGSActionGroup

    void updateBGSActionGroup(BGSActionGroup group) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### deleteBGSActionGroup

    void deleteBGSActionGroup(BGSActionGroup group) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getKitItems

    List<IdTitle> getKitItems() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getPermissionKitItems

    List<PermissionKitItem> getPermissionKitItems() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getByKitId

    PermissionKit getByKitId(int permissionKitId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### updatePermissionKit

    int updatePermissionKit(PermissionKit permissionKit) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### deletePermissionKit

    void deletePermissionKit(int permissionKitId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### checkRoleContainsKit

    int checkRoleContainsKit(int permissionKitId) throws ru.bitel.bgbilling.common.BGException
    Проверка, есть ли роль, которая содержит выбранный набор
    Parameters:
      `permissionKitId` - id проверяемого набора ограничений
    Returns:
      >0 - есть роль с данным набором. Само число - кол-во ролей с данным набором.
    Throws:
      `ru.bitel.bgbilling.common.BGException`
      `ru.bitel.bgbilling.common.BGMessageException`

  - ### searchUnregRequestRecordList

    SearchResult<UnregRequestRecord> searchUnregRequestRecordList(Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### clearUnregRequestRecordList

    void clearUnregRequestRecordList(List<String> recordIds) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### recheckUnregRequestRecordList

    void recheckUnregRequestRecordList() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### startRecordingActions

    void startRecordingActions(int userId, String title) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### stopRecordingActions

    RequestRecordLog stopRecordingActions(int userId) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### searchRequestRecordLogList

    SearchResult<RequestRecordLog> searchRequestRecordLogList() throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### updateRequestLog

    void updateRequestLog(RequestRecordLog requestRecordLog) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### deleteRequestRecordLog

    void deleteRequestRecordLog(RequestRecordLog log) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### actionExpressionDataList

    List<ActionExpressionData> actionExpressionDataList(String componentId, List<Integer> actionsIds) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### actionExpressionDataGet

    ActionExpressionData actionExpressionDataGet(int id) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### actionExpressionDataUpdate

    void actionExpressionDataUpdate(ActionExpressionData actionExpressionData) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### actionExpressionDataDelete

    void actionExpressionDataDelete(int id) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### actionDataRoot

    ActionData actionDataRoot(String componentName) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`