Uses of Interface
com.smeup.kokos.sdk.entity.repository.EntityRepository
Packages that use EntityRepository
-
Uses of EntityRepository in com.smeup.kokos.sdk.entity
Methods in com.smeup.kokos.sdk.entity that return EntityRepositoryModifier and TypeMethodDescription<T extends AbstractEntity>
EntityRepository<T> EntityManager.getRepository(Class<T> entityClass) Returns the repository registered for the given entity class.Methods in com.smeup.kokos.sdk.entity with parameters of type EntityRepositoryModifier and TypeMethodDescription<T extends AbstractEntity>
EntityManagerConfigEntityManagerConfig.register(Class<T> entityClass, EntityRepository<T> repository) Explicitly registers a repository instance for the given entity class. -
Uses of EntityRepository in com.smeup.kokos.service.utils
Methods in com.smeup.kokos.service.utils that return EntityRepositoryModifier and TypeMethodDescriptionEntityServiceSupport.ClassAndRepository.repository()Returns the value of therepositoryrecord component.static EntityRepository<?> EntityServiceSupport.resolveRepository(EntityServiceSupport.ResolvedObj obj) Resolves the repository associated with the provided resolved object coordinates.static EntityRepository<?> EntityServiceSupport.resolveRepository(String entityType, String entityParameter) Resolves the repository associated with the provided type and parameter.Methods in com.smeup.kokos.service.utils with parameters of type EntityRepositoryModifier and TypeMethodDescriptionstatic Iterator<AbstractEntity> EntityServiceSupport.findAll(EntityRepository<?> repository) Returns an iterator over all entities in the given repository.static Optional<AbstractEntity> EntityServiceSupport.findById(EntityRepository<?> repository, String id) Finds an entity by id using the provided repository, suppressing unchecked warningsConstructors in com.smeup.kokos.service.utils with parameters of type EntityRepositoryModifierConstructorDescriptionClassAndRepository(Class<? extends AbstractEntity> entityClass, EntityRepository<?> repository) Creates an instance of aClassAndRepositoryrecord class.