add some missing (since="6.0")

This commit is contained in:
Gavin King 2022-01-29 08:57:25 +01:00
parent cd7417e815
commit 232ad00f5c
2 changed files with 10 additions and 10 deletions

View File

@ -62,7 +62,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #onLoad(Object, Object, Object[], String[], Type[])} * @deprecated use {@link #onLoad(Object, Object, Object[], String[], Type[])}
*/ */
@Deprecated @Deprecated(since = "6.0")
default boolean onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) default boolean onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
throws CallbackException { throws CallbackException {
return false; return false;
@ -116,7 +116,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #onFlushDirty(Object, Object, Object[], Object[], String[], Type[])} * @deprecated use {@link #onFlushDirty(Object, Object, Object[], Object[], String[], Type[])}
*/ */
@Deprecated @Deprecated(since = "6.0")
default boolean onFlushDirty( default boolean onFlushDirty(
Object entity, Object entity,
Serializable id, Serializable id,
@ -177,7 +177,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #onSave(Object, Object, Object[], String[], Type[])} * @deprecated use {@link #onSave(Object, Object, Object[], String[], Type[])}
*/ */
@Deprecated @Deprecated(since = "6.0")
default boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) default boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
throws CallbackException { throws CallbackException {
return false; return false;
@ -217,7 +217,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #onDelete(Object, Object, Object[], String[], Type[])} * @deprecated use {@link #onDelete(Object, Object, Object[], String[], Type[])}
*/ */
@Deprecated @Deprecated(since = "6.0")
default void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) default void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
throws CallbackException {} throws CallbackException {}
@ -249,7 +249,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #onCollectionRecreate(Object, Object)} * @deprecated use {@link #onCollectionRecreate(Object, Object)}
*/ */
@Deprecated @Deprecated(since = "6.0")
default void onCollectionRecreate(Object collection, Serializable key) throws CallbackException {} default void onCollectionRecreate(Object collection, Serializable key) throws CallbackException {}
/** /**
@ -276,7 +276,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #onCollectionRemove(Object, Object)} * @deprecated use {@link #onCollectionRemove(Object, Object)}
*/ */
@Deprecated @Deprecated(since = "6.0")
default void onCollectionRemove(Object collection, Serializable key) throws CallbackException {} default void onCollectionRemove(Object collection, Serializable key) throws CallbackException {}
/** /**
@ -303,7 +303,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #onCollectionUpdate(Object, Object)} * @deprecated use {@link #onCollectionUpdate(Object, Object)}
*/ */
@Deprecated @Deprecated(since = "6.0")
default void onCollectionUpdate(Object collection, Serializable key) throws CallbackException {} default void onCollectionUpdate(Object collection, Serializable key) throws CallbackException {}
/** /**
@ -375,7 +375,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #findDirty(Object, Object, Object[], Object[], String[], Type[])} * @deprecated use {@link #findDirty(Object, Object, Object[], Object[], String[], Type[])}
*/ */
@Deprecated @Deprecated(since = "6.0")
default int[] findDirty( default int[] findDirty(
Object entity, Object entity,
Serializable id, Serializable id,
@ -467,7 +467,7 @@ public interface Interceptor {
* *
* @deprecated use {@link #getEntity(String, Object)} * @deprecated use {@link #getEntity(String, Object)}
*/ */
@Deprecated @Deprecated(since = "6.0")
default Object getEntity(String entityName, Serializable id) throws CallbackException { default Object getEntity(String entityName, Serializable id) throws CallbackException {
return null; return null;
} }

View File

@ -122,6 +122,6 @@ public interface Lifecycle {
* *
* @deprecated use {@link #onLoad(Session, Object)} * @deprecated use {@link #onLoad(Session, Object)}
*/ */
@Deprecated @Deprecated(since = "6.0")
default void onLoad(Session s, Serializable id) {} default void onLoad(Session s, Serializable id) {}
} }