Package io.kestra.core.repositories
Interface FlowRepositoryInterface
public interface FlowRepositoryInterface
-
Method Summary
Modifier and TypeMethodDescriptionfind(io.micronaut.data.model.Pageable pageable, String query, String tenantId, String namespace, Map<String, String> labels) default FlowfindByExecution(Execution execution) findById(String tenantId, String namespace, String id, Optional<Integer> revision, Boolean allowDeleted) default Optional<FlowWithSource>findByIdWithSource(String tenantId, String namespace, String id) default Optional<FlowWithSource>findByIdWithSource(String tenantId, String namespace, String id, Optional<Integer> revision, Boolean allowDelete) findByNamespace(String tenantId, String namespace) findDistinctNamespace(String tenantId) findRevisions(String tenantId, String namespace, String id) findSourceCode(io.micronaut.data.model.Pageable pageable, String query, String tenantId, String namespace)
-
Method Details
-
findById
-
findById
-
findByExecution
-
findById
-
findByIdWithSource
-
findByIdWithSource
-
findByIdWithSource
-
findRevisions
-
findAll
-
findAllForAllTenants
-
findByNamespace
-
find
-
findWithSource
-
findSourceCode
ArrayListTotal<SearchResult<Flow>> findSourceCode(io.micronaut.data.model.Pageable pageable, @Nullable String query, @Nullable String tenantId, @Nullable String namespace) -
findDistinctNamespace
-
create
-
update
FlowWithSource update(Flow flow, Flow previous, String flowSource, Flow flowWithDefaults) throws javax.validation.ConstraintViolationException - Throws:
javax.validation.ConstraintViolationException
-
delete
-