Refactor tidy PersistRequestBean

This commit is contained in:
rob bygrave
2019-10-10 21:51:31 +13:00
parent c2faf0e0a7
commit 4bc2559e8e
2 changed files with 7 additions and 9 deletions
@@ -427,6 +427,7 @@ public final class PersistRequestBean<T> extends PersistRequest implements BeanP
/**
* Return the dirty properties on this request.
*/
@Override
public boolean[] getDirtyProperties() {
return dirtyProperties;
}
@@ -485,7 +486,7 @@ public final class PersistRequestBean<T> extends PersistRequest implements BeanP
/**
* Collect L2 cache changes to be applied after the transaction has successfully committed.
*/
public void notifyCache(CacheChangeSet changeSet) {
private void notifyCache(CacheChangeSet changeSet) {
if (notifyCache) {
switch (type) {
case INSERT:
@@ -740,14 +741,6 @@ public final class PersistRequestBean<T> extends PersistRequest implements BeanP
return parentBean;
}
/**
* Return the controller if there is one associated with this type of bean. This returns null if
* there is no controller associated.
*/
public BeanPersistController getBeanController() {
return controller;
}
/**
* Return the intercept if there is one.
*/