All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.ddth.djs.bo.log.ITaskLogDao Maven / Gradle / Ivy

The newest version!
package com.github.ddth.djs.bo.log;

/**
 * DAO to interact with {@link TaskLogBo} storage.
 * 
 * @author Thanh Nguyen 
 * @since 0.1.0
 */
public interface ITaskLogDao {
	/**
	 * Persists a new taks log to storage.
	 * 
	 * @param taskLog
	 * @return
	 */
	public boolean create(TaskLogBo taskLog);

	/**
	 * Deletes an existing task log from storage.
	 * 
	 * @param taskLog
	 * @return
	 */
	public boolean delete(TaskLogBo taskLog);

	/**
	 * Updates an exiting task log.
	 * 
	 * @param taskLog
	 * @return
	 */
	public boolean update(TaskLogBo taskLog);

	/**
	 * Fetches an existing task log from storage.
	 * 
	 * @param id
	 * @return
	 */
	public TaskLogBo getTaskLog(String id);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy