com.emc.documentum.springdata.repository.DctmRepository Maven / Gradle / Ivy
The newest version!
package com.emc.documentum.springdata.repository;
import java.io.Serializable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.NoRepositoryBean;
/*
* Copyright (c) 2015 EMC Corporation. All Rights Reserved.
* EMC Confidential: Restricted Internal Distribution
*/
@NoRepositoryBean
public interface DctmRepository extends CrudRepository {
S save(S entity);
Iterable save(Iterable entities);
T findOne(ID id);
boolean exists(ID id);
Iterable findAll();
Iterable findAll(Iterable ids);
long count();
void delete(ID id);
void delete(T entity);
void delete(Iterable extends T> entities);
void deleteAll();
//TODO void update(T entity);
}