Class ScopeService

java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.service.PaginationService<ScopeModel>
systems.dennis.shared.scopes.service.ScopeService
All Implemented Interfaces:
systems.dennis.shared.service.AbstractService<ScopeModel>, systems.dennis.shared.service.DeleteObject<ScopeModel>

@Service public class ScopeService extends systems.dennis.shared.service.PaginationService<ScopeModel>
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    org.springframework.data.jpa.domain.Specification<ScopeModel>
     
    findByName(String name, Long userData, boolean fullAccess)
     
     

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

    afterEdit, deleteItems, edit, editField, exists, find, find, getAdditionalCases, getLogger, getRepository, getUtils, 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

    afterAdd, afterDelete, assignUser, assignUser, checkMy, count, count, createFromRequest, delete, download, find, find, find, findById, findById, findById, findByIdClone, findByIdOrThrow, getAdditionalSpecification, getByIdAndUserDataId, getContext, getFieldOrder, getForm, getInterNalResource, getItemFavoriteType, getModel, getSearchRequestSpecification, getSelfCreatedItems, getSelfCreatedItems, getSelfCreatedItemsQuery, getSelfCreatedItemsQuery, isEmpty, isEmpty, isObjectDeleted, isPublicSearchEnabled, modifyQuery, preDelete, preEdit, prepareSpecification, preSearch, saveVersionIfRequired, search, search

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

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

    • ScopeService

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

    • preAdd

      public ScopeModel preAdd(ScopeModel object) throws systems.dennis.shared.exceptions.ItemForAddContainsIdException
      Throws:
      systems.dennis.shared.exceptions.ItemForAddContainsIdException
    • findByName

      public ScopeModel findByName(String name, Long userData, boolean fullAccess)
    • addSelfSpecWithUserScopes

      public org.springframework.data.jpa.domain.Specification<ScopeModel> addSelfSpecWithUserScopes(Long userData)