Class GitSyncLogDaoImpl
Object
AbstractJPADao<GitSyncLog,Long>
GitSyncLogDaoImpl
- All Implemented Interfaces:
Dao<GitSyncLog,,Long> GitSyncLogDao
@Repository
public class GitSyncLogDaoImpl
extends AbstractJPADao<GitSyncLog,Long>
implements GitSyncLogDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<GitSyncLog> findRecentByRepo(String repoFullName, int limit) Returns the most recent log entries for the given repository, ordered newest first.findReposByArtifactKey(String keyword) Returns the distinct repo full names that have ever synced an artifact whose key contains the given keyword (case-insensitive).voidDeletes the oldest rows for the repository, keeping only thekeepCountmost recent.Methods inherited from class AbstractJPADao
findById, getEntityManager, read, read, remove, removeById, save, setEntityManager, update
-
Constructor Details
-
GitSyncLogDaoImpl
public GitSyncLogDaoImpl()
-
-
Method Details
-
findRecentByRepo
Description copied from interface:GitSyncLogDaoReturns the most recent log entries for the given repository, ordered newest first.- Specified by:
findRecentByRepoin interfaceGitSyncLogDao
-
findReposByArtifactKey
Description copied from interface:GitSyncLogDaoReturns the distinct repo full names that have ever synced an artifact whose key contains the given keyword (case-insensitive).- Specified by:
findReposByArtifactKeyin interfaceGitSyncLogDao
-
pruneRepo
Description copied from interface:GitSyncLogDaoDeletes the oldest rows for the repository, keeping only thekeepCountmost recent.- Specified by:
pruneRepoin interfaceGitSyncLogDao
-