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

com.avaje.ebeaninternal.server.persist.BeanPersister Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebeaninternal.server.persist;

import javax.persistence.PersistenceException;

import com.avaje.ebeaninternal.server.core.PersistRequestBean;

/**
 * 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