io.ebean.delegate.InterceptPublish Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean-mocker Show documentation
Show all versions of ebean-mocker Show documentation
Ability to set a Mockito mock EbeanServer as 'default' EbeanServer
package io.ebean.delegate;
import io.ebean.Query;
import io.ebean.Transaction;
import java.util.List;
public interface InterceptPublish {
T publish(Class beanType, Object id, Transaction transaction);
T publish(Class beanType, Object id);
List publish(Query query, Transaction transaction);
List publish(Query query);
T draftRestore(Class beanType, Object id, Transaction transaction);
T draftRestore(Class beanType, Object id);
List draftRestore(Query query, Transaction transaction);
List draftRestore(Query query);
}