Class ServerConfigService
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.service.PaginationService<ServerConfig>
systems.dennis.shared.servers.service.ServerConfigService
- All Implemented Interfaces:
systems.dennis.shared.service.AbstractService<ServerConfig>,systems.dennis.shared.service.DeleteObject<ServerConfig>
@Service
public class ServerConfigService
extends systems.dennis.shared.service.PaginationService<ServerConfig>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckActiveTypeExists(ServerConfigForm element) findByType(Long type, boolean silent) Find first server withing the config typeMethods inherited from class systems.dennis.shared.service.PaginationService
afterEdit, deleteItems, edit, editField, exists, find, find, getAdditionalCases, getLogger, getRepository, getUtils, 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, 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, preAdd, preDelete, preEdit, prepareSpecification, preSearch, saveVersionIfRequired, search, searchMethods inherited from interface systems.dennis.shared.service.DeleteObject
delete, getDeleteField, getDeleteStrategy, getNotDeletedQuery, getSelfOnly, getStoreHistoryRequired, saveDeleteHistoryIfRequired
-
Constructor Details
-
Method Details
-
findByType
Find first server withing the config type- Parameters:
type- - a config type to look for types are :ServerTypeProvidersilent- returns null of true, if false on null throws ItemNotFound exception- Returns:
- according to the #silent parameter returns server