Interface ProjectRepositoryCustom

    • Method Detail

      • findProjectInfoByFilter

        java.util.List<ProjectInfo> findProjectInfoByFilter​(Queryable filter)
        Find projects info by filter
        Parameters:
        filter - Filter
        Returns:
        List of project info objects
      • findProjectInfoByFilter

        org.springframework.data.domain.Page<ProjectInfo> findProjectInfoByFilter​(Queryable filter,
                                                                                  org.springframework.data.domain.Pageable pageable)
        Find projects info by filter with paging
        Parameters:
        filter - Filter
        pageable - Paging
        Returns:
        Page of project info objects
      • findAllProjectNames

        java.util.List<java.lang.String> findAllProjectNames()
        Find all project names
        Returns:
        List of project names
      • findAllProjectNamesByTerm

        java.util.List<java.lang.String> findAllProjectNamesByTerm​(java.lang.String term)
        Find all project names, which contain provided term
        Returns:
        List of project names
      • deleteByTypeAndLastLaunchRunBefore

        int deleteByTypeAndLastLaunchRunBefore​(ProjectType projectType,
                                               java.time.LocalDateTime bound,
                                               int limit)
        Delete limit project with specified projectType and last launch run before bound
        Parameters:
        projectType -
        bound -
        limit -
        Returns:
        number of deleted projects