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

win.doyto.query.service.CrudService Maven / Gradle / Ivy

package win.doyto.query.service;

import win.doyto.query.entity.Persistable;

import java.io.Serializable;

/**
 * CrudService
 *
 * @author f0rb
 */
public interface CrudService, I extends Serializable, Q> extends CommonCrudService {

    E get(I id);

    /**
     * force to get a new entity object from database
     *
     * @param id entity id
     * @return a new entity object
     */
    E fetch(I id);

    E delete(I id);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy