Class ScopedDbService<E extends ScopedEntity>

java.lang.Object
org.graylog2.database.PaginatedDbService<E>
org.graylog2.database.entities.ScopedDbService<E>
Type Parameters:
E - type parameter for a ScopedEntity's subclass.
Direct Known Subclasses:
DBCacheService, DBDataAdapterService, DBEventDefinitionService, DBLookupTableService

public abstract class ScopedDbService<E extends ScopedEntity> extends PaginatedDbService<E>
A base database service to handle persistence and deletion of ScopedEntity instance. Persistence and deletion is performed by the parent class, PaginatedDbService, this service simply performs mutability checks.

A EntityScopeService is used to perform the actual mutability checks based on the entity's scope.