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

com.xlrit.gears.base.repository.Repository Maven / Gradle / Ivy

There is a newer version: 1.17.5
Show newest version
package com.xlrit.gears.base.repository;

import java.util.Collection;
import java.util.List;

import com.xlrit.gears.base.execution.Execution;

public interface Repository {
	String LOADGRAPH = "jakarta.persistence.loadgraph";

	Class getEntityType();

	T findById(String id);
	List findAll();

	T create(Execution execution);
	List createCollection(Execution execution, List linkedElements);

	void remove(T instance, Execution execution);
	void removeAll(Collection instances, Execution execution);
	void publish(T instance, Execution execution);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy