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

io.ebeaninternal.server.persist.BeanPersister Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.persist;

import io.ebeaninternal.server.core.PersistRequestBean;

import javax.persistence.PersistenceException;

/**
 * Defines bean insert update and delete implementation.
 */
public interface BeanPersister {

  /**
   * execute the insert bean request.
   */
  void insert(PersistRequestBean request) throws PersistenceException;

  /**
   * execute the update bean request.
   */
  void update(PersistRequestBean request) throws PersistenceException;

  /**
   * execute the delete bean request.
   */
  int delete(PersistRequestBean request) throws PersistenceException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy