
io.mosip.registration.dao.SyncJobConfigDAO Maven / Gradle / Ivy
package io.mosip.registration.dao;
import java.util.List;
import io.mosip.registration.entity.SyncJobDef;
/**
* DAO class for all the Sync Job related details
*
* @author Dinesh Ashokan
*
*/
public interface SyncJobConfigDAO {
/**
* To get all jobs in the List of {@link SyncJobDef}
*
* @return list of sync jobs
*/
List getAll();
/**
* To get a job in the List of {@link SyncJobDef}
*
* @return sync job
*/
SyncJobDef getSyncJob(String jobId);
/**
* To get all the List of active {@link SyncJobDef}
*
* @return list active sync jobs
*/
List getActiveJobs();
/**
* Update all the Syncjobs available in the {@link SyncJobDef} list
*
* @param syncJobDefs
* list
* @return updated syncJobs
*/
List updateAll(List syncJobDefs);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy