info.unterrainer.commons.httpserver.daos.CoreDao Maven / Gradle / Ivy
package info.unterrainer.commons.httpserver.daos;
import java.util.Set;
import info.unterrainer.commons.httpserver.jsons.ListJson;
import info.unterrainer.commons.rdbutils.entities.BasicJpa;
public interface CoreDao {
TenantData getTenantData();
DaoTransactionManager getTransactionManager();
P create(E manager, P mappedJpa, final Set tenantIds);
P getById(E manager, Long id, final Set tenantIds);
ListJson getList(E manager, Long offset, Long size, String selectClause, String joinClause, String whereClause,
ParamMap params, String orderByClause, final Set tenantIds);
void delete(E manager, Long id, final Set tenantIds);
P update(E manager, P mappedJpa, final Set tenantIds);
}