eu.scasefp7.assetregistry.service.db.BaseCrudDbService Maven / Gradle / Ivy
The newest version!
package eu.scasefp7.assetregistry.service.db;
import eu.scasefp7.assetregistry.data.BaseEntity;
import java.util.List;
/**
* Created by missler on 09/04/15.
*/
public interface BaseCrudDbService {
E create(E entity);
E update(E entity);
void delete(E entity);
void delete(long entityId);
E find(long id);
List findAll();
Long countUsed(E e);
E createOrUpdate(E e);
void validateVersion(E loaded, E external);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy