Interface RoleService
public interface RoleService
-
Method Summary
Modifier and TypeMethodDescriptionactionDataRoot
(String componentName) void
actionExpressionDataDelete
(int id) actionExpressionDataGet
(int id) actionExpressionDataList
(String componentId, List<Integer> actionsIds) void
actionExpressionDataUpdate
(ActionExpressionData actionExpressionData) int
checkRoleContainsKit
(int permissionKitId) Проверка, есть ли роль, которая содержит выбранный наборvoid
clearUnregRequestRecordList
(List<String> recordIds) void
void
deletePermissionKit
(int permissionKitId) void
void
deleteRole
(Role role) void
deleteRoleById
(int roleId) getByKitId
(int permissionKitId) getByRoleId
(int roleId) getRoleItems
(boolean initChilds, boolean sortByTitle) getRoles()
void
void
startRecordingActions
(int userId, String title) stopRecordingActions
(int userId) void
int
updatePermissionKit
(PermissionKit permissionKit) void
updateRequestLog
(RequestRecordLog requestRecordLog) void
updateRole
(Role role)
-
Method Details
-
getRoles
- Throws:
Exception
-
getRoleItems
- Throws:
Exception
-
getByRoleId
- Throws:
Exception
-
updateRole
- Throws:
Exception
-
deleteRole
- Throws:
Exception
-
deleteRoleById
- Throws:
Exception
-
getBGSActionGroups
- Throws:
Exception
-
updateBGSActionGroup
- Throws:
Exception
-
deleteBGSActionGroup
- Throws:
Exception
-
getKitItems
- Throws:
Exception
-
getPermissionKitItems
- Throws:
Exception
-
getByKitId
- Throws:
Exception
-
updatePermissionKit
- Throws:
Exception
-
deletePermissionKit
- Throws:
Exception
-
checkRoleContainsKit
Проверка, есть ли роль, которая содержит выбранный набор- Parameters:
permissionKitId
- id проверяемого набора ограничений- Returns:
- >0 - есть роль с данным набором. Само число - кол-во ролей с данным набором.
- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
Exception
-
searchUnregRequestRecordList
- Throws:
Exception
-
clearUnregRequestRecordList
- Throws:
Exception
-
recheckUnregRequestRecordList
- Throws:
Exception
-
startRecordingActions
- Throws:
Exception
-
stopRecordingActions
- Throws:
Exception
-
searchRequestRecordLogList
- Throws:
Exception
-
updateRequestLog
- Throws:
Exception
-
deleteRequestRecordLog
- Throws:
Exception
-
actionExpressionDataList
List<ActionExpressionData> actionExpressionDataList(String componentId, List<Integer> actionsIds) throws Exception - Throws:
Exception
-
actionExpressionDataGet
- Throws:
Exception
-
actionExpressionDataUpdate
- Throws:
Exception
-
actionExpressionDataDelete
- Throws:
Exception
-
actionDataRoot
- Throws:
Exception
-