Class UserInScopeService

java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.service.AbstractPaginationService<DB_TYPE,Long>
systems.dennis.shared.postgres.service.PaginationService<UserInScopeModel>
systems.dennis.auth.service.UserInScopeService
All Implemented Interfaces:
systems.dennis.shared.service.AbstractService<UserInScopeModel,Long>, systems.dennis.shared.service.DeleteObject<UserInScopeModel,Long>

@Service public class UserInScopeService extends systems.dennis.shared.postgres.service.PaginationService<UserInScopeModel>
  • Field Summary

    Fields inherited from class systems.dennis.shared.utils.ApplicationContext

    CREATED_FIELDS_MAP
  • Constructor Summary

    Constructors
    Constructor
    Description
    UserInScopeService(systems.dennis.shared.config.WebContext holder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    generateAndSave(UserData user, systems.dennis.shared.scopes.model.ScopeModel scope)
     
    getByUser(Long userId)
     
    getByUserAndScope(UserData user, systems.dennis.shared.scopes.model.ScopeModel scope)
     
    boolean
    isRelationExist(UserData user, systems.dennis.shared.scopes.model.ScopeModel scope)
     
    void
    sendVerificationEmail(systems.dennis.shared.scopes.model.ScopeModel scope, UserData userData)
     

    Methods inherited from class systems.dennis.shared.postgres.service.PaginationService

    updateId, updateIds

    Methods inherited from class systems.dennis.shared.service.AbstractPaginationService

    afterEdit, deleteItems, edit, editField, exists, find, find, getAdditionalCases, getLogger, getRepository, getUtils, isIdSet, preFetchOriginal, save

    Methods inherited from class systems.dennis.shared.utils.ApplicationContext

    canEqual, equals, getBean, getContext, getCurrentUser, getDefaultLogger, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface systems.dennis.shared.service.AbstractService

    afterDelete, checkMy, count, count, createFromRequest, delete, download, exists, find, find, findById, findById, findById, findByIdClone, findByIdOrThrow, getAdditionalSpecification, 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, search

    Methods inherited from interface systems.dennis.shared.service.DeleteObject

    delete, getDeleteField, getDeleteStrategy, getNotDeletedQuery, getSelfOnly, getStoreHistoryRequired, saveDeleteHistoryIfRequired
  • Constructor Details

    • UserInScopeService

      public UserInScopeService(systems.dennis.shared.config.WebContext holder)
  • Method Details

    • afterAdd

      public UserInScopeModel afterAdd(UserInScopeModel object)
    • sendVerificationEmail

      public void sendVerificationEmail(systems.dennis.shared.scopes.model.ScopeModel scope, UserData userData)
    • isRelationExist

      public boolean isRelationExist(UserData user, systems.dennis.shared.scopes.model.ScopeModel scope)
    • generateAndSave

      public UserInScopeModel generateAndSave(UserData user, systems.dennis.shared.scopes.model.ScopeModel scope)
    • getByUser

      public List<UserInScopeModel> getByUser(Long userId)
    • getByUserAndScope

      public UserInScopeModel getByUserAndScope(UserData user, systems.dennis.shared.scopes.model.ScopeModel scope)