Package systems.dennis.auth.service
Class RoleToUserService
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.service.AbstractPaginationService<DB_TYPE,Long>
systems.dennis.shared.postgres.service.PaginationService<RolesToUser>
systems.dennis.auth.service.RoleToUserService
- All Implemented Interfaces:
systems.dennis.shared.service.AbstractService<RolesToUser,,Long> systems.dennis.shared.service.DeleteObject<RolesToUser,Long>
@Service
public class RoleToUserService
extends systems.dennis.shared.postgres.service.PaginationService<RolesToUser>
-
Field Summary
Fields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyRole(UserRole role, LoginPassword lp) findByOwner(LoginPassword password, systems.dennis.shared.scopes.model.ScopeModel scope) findByRoleAndUser(UserRole roleId, LoginPassword password) systems.dennis.shared.repository.AbstractDataFilter<RolesToUser>preAdd(RolesToUser object) preDelete(RolesToUser object) booleanremoveRole(UserRole role, LoginPassword lp) 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, 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
-
getRepository
- Specified by:
getRepositoryin interfacesystems.dennis.shared.service.AbstractService<RolesToUser,Long> - Overrides:
getRepositoryin classsystems.dennis.shared.service.AbstractPaginationService<RolesToUser,Long>
-
applyRole
-
preAdd
public RolesToUser preAdd(RolesToUser object) throws systems.dennis.shared.exceptions.ItemForAddContainsIdException - Throws:
systems.dennis.shared.exceptions.ItemForAddContainsIdException
-
preDelete
-
removeRole
-
findByRoleAndUser
-
getAdditionalSpecification
public systems.dennis.shared.repository.AbstractDataFilter<RolesToUser> getAdditionalSpecification()
-