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

com.orientechnologies.orient.core.record.OIdentityChangeListener Maven / Gradle / Ivy

package com.orientechnologies.orient.core.record;

/**
 * Listener, which is called when record identity is changed. Identity is changed if new record is saved or if transaction is
 * committed and new record created inside of transaction.
 */
public interface OIdentityChangeListener {

  /**
   * Called before the change of the identity is made.
   * 
   * @param record
   */
  void onBeforeIdentityChange(ORecord record);

  /**
   * called afer the change of the identity is made.
   * 
   * @param record
   */
  void onAfterIdentityChange(ORecord record);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy