Package systems.dennis.auth.service
Class AuthScopeService
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.service.AbstractPaginationService<DB_TYPE,Long>
systems.dennis.shared.postgres.service.PaginationService<systems.dennis.shared.scopes.model.ScopeModel>
systems.dennis.shared.scopes.service.ScopeService
systems.dennis.auth.service.AuthScopeService
- All Implemented Interfaces:
systems.dennis.shared.service.AbstractService<systems.dennis.shared.scopes.model.ScopeModel,,Long> systems.dennis.shared.service.DeleteObject<systems.dennis.shared.scopes.model.ScopeModel,Long>
@Service
@Primary
public class AuthScopeService
extends systems.dennis.shared.scopes.service.ScopeService
-
Field Summary
Fields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAP -
Constructor Summary
ConstructorsConstructorDescriptionAuthScopeService(systems.dennis.shared.config.WebContext holder, systems.dennis.shared.scopes.repository.ScopeRepo scopeRepo) -
Method Summary
Modifier and TypeMethodDescriptionsystems.dennis.shared.repository.AbstractDataFilter<systems.dennis.shared.scopes.model.ScopeModel>addSelfSpecWithUserScopes(Long userData) systems.dennis.shared.scopes.model.ScopeModelafterAdd(systems.dennis.shared.scopes.model.ScopeModel object) voidcheckRegistrationAllowed(systems.dennis.shared.scopes.model.ScopeModel scope) systems.dennis.shared.scopes.model.ScopeModelgenerateAndSaveUserScope(UserData userData) systems.dennis.shared.repository.AbstractDataFilter<systems.dennis.shared.scopes.model.ScopeModel>systems.dennis.shared.scopes.model.ScopeModelgetScopeFromRequest(jakarta.servlet.http.HttpServletRequest req, Long userId, boolean fullAccess) systems.dennis.shared.scopes.model.ScopeModelpreAdd(systems.dennis.shared.scopes.model.ScopeModel object) Methods inherited from class systems.dennis.shared.scopes.service.ScopeService
findByNameMethods 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, getRepository, 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
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, 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
-
getScopeFromRequest
public systems.dennis.shared.scopes.model.ScopeModel getScopeFromRequest(jakarta.servlet.http.HttpServletRequest req, Long userId, boolean fullAccess) -
addSelfSpecWithUserScopes
public systems.dennis.shared.repository.AbstractDataFilter<systems.dennis.shared.scopes.model.ScopeModel> addSelfSpecWithUserScopes(Long userData) - Overrides:
addSelfSpecWithUserScopesin classsystems.dennis.shared.scopes.service.ScopeService
-
getAdditionalSpecification
public systems.dennis.shared.repository.AbstractDataFilter<systems.dennis.shared.scopes.model.ScopeModel> getAdditionalSpecification() -
generateAndSaveUserScope