Package systems.dennis.auth.service
Class RoleServiceImpl
- All Implemented Interfaces:
systems.dennis.shared.service.AbstractService<UserRole,,Long> systems.dennis.shared.service.DeleteObject<UserRole,Long>
@Service
public class RoleServiceImpl
extends systems.dennis.shared.postgres.service.PaginationService<UserRole>
-
Field Summary
Fields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAP -
Constructor Summary
ConstructorsConstructorDescriptionRoleServiceImpl(systems.dennis.shared.config.WebContext context, RoleToUserService roleToUserService) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyRolesToUser(LoginPassword lp, systems.dennis.shared.scopes.model.ScopeModel scope) assignRole(Long roleId, String login) booleandeAssignRole(Long roleId, Long passwordId) booleandeAssignRole(Long roleId, String login) booleanexistsByName(String value) findFirstByName(String value, Long id) generateAdminRole(systems.dennis.shared.scopes.model.ScopeModel scope) systems.dennis.shared.repository.AbstractDataFilter<UserRole>getMyRoles(systems.dennis.shared.scopes.model.ScopeModel scope) booleanisRelationExist(String role, systems.dennis.shared.scopes.model.ScopeModel scope) usersByRole(Long roleId) Methods inherited from class systems.dennis.shared.postgres.service.PaginationService
updateId, updateIdsMethods inherited from class systems.dennis.shared.service.AbstractPaginationService
afterEdit, deleteItems, edit, editField, exists, find, find, getAdditionalCases, getLogger, getUtils, isIdSet, preFetchOriginal, saveMethods inherited from class systems.dennis.shared.utils.ApplicationContext
canEqual, equals, getBean, getContext, getCurrentUser, getDefaultLogger, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface systems.dennis.shared.service.AbstractService
afterAdd, afterDelete, checkMy, count, count, createFromRequest, delete, download, exists, find, find, findById, findById, findById, findByIdClone, findByIdOrThrow, getByIdAndUserDataId, getContext, getFieldOrder, getFilterImpl, getForm, getInterNalResource, getItemFavoriteType, getModel, getSearchRequestAbstractDataFilter, getSelfCreatedItems, getSelfCreatedItems, getSelfCreatedItemsQuery, getSelfCreatedItemsQuery, isEmpty, isEmpty, isIdSet, isObjectDeleted, isPublicSearchEnabled, modifyQuery, preAdd, preDelete, preEdit, prepareAbstractDataFilter, preSearch, saveVersionIfRequired, search, searchMethods inherited from interface systems.dennis.shared.service.DeleteObject
delete, getDeleteField, getDeleteStrategy, getNotDeletedQuery, getSelfOnly, getStoreHistoryRequired, saveDeleteHistoryIfRequired
-
Constructor Details
-
Method Details
-
existsByName
-
findFirstByName
-
getRepository
-
deAssignRole
-
deAssignRole
-
usersByRole
-
assignRole
-
getAdditionalSpecification
-