Class ServerConfigService

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

@Service public class ServerConfigService extends systems.dennis.shared.postgres.service.PaginationService<ServerConfig>
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
     
    findByType(Long type, boolean silent)
    Find first server withing the config type

    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

    afterAdd, afterDelete, assignUser, assignUser, checkMy, count, count, createFromRequest, delete, download, 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

    • ServerConfigService

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

    • checkActiveTypeExists

      public void checkActiveTypeExists(ServerConfigForm element)
    • findByType

      public ServerConfig findByType(Long type, boolean silent)
      Find first server withing the config type
      Parameters:
      type - - a config type to look for types are : ServerTypeProvider
      silent - returns null of true, if false on null throws ItemNotFound exception
      Returns:
      according to the #silent parameter returns server