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