java.lang.Object
io.ebeaninternal.server.deploy.ChainedBeanPersistController
- All Implemented Interfaces:
BeanPersistController
Chains multiple BeanPersistController's together.
Used when multiple BeanPersistController register for the same bean type.
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct adding 2 BeanPersistController's.Construct given the list of BeanPersistController's. -
Method Summary
Modifier and TypeMethodDescriptionDe-register a BeanPersistController and return the resulting chain.intAlways returns 0 (not used for this object).booleanisRegisterFor(Class<?> cls) Always returns false (not used for this object).voidpostDelete(BeanPersistRequest<?> request) voidpostInsert(BeanPersistRequest<?> request) voidpostSoftDelete(BeanPersistRequest<?> request) voidpostUpdate(BeanPersistRequest<?> request) voidpreDelete(BeanDeleteIdRequest request) booleanpreDelete(BeanPersistRequest<?> request) booleanpreInsert(BeanPersistRequest<?> request) booleanpreSoftDelete(BeanPersistRequest<?> request) booleanpreUpdate(BeanPersistRequest<?> request) Register a new BeanPersistController and return the resulting chain.
-
Constructor Details
-
ChainedBeanPersistController
Construct adding 2 BeanPersistController's. -
ChainedBeanPersistController
Construct given the list of BeanPersistController's.
-
-
Method Details
-
register
Register a new BeanPersistController and return the resulting chain. -
deregister
De-register a BeanPersistController and return the resulting chain. -
getExecutionOrder
public int getExecutionOrder()Always returns 0 (not used for this object).- Specified by:
getExecutionOrderin interfaceBeanPersistController
-
isRegisterFor
Always returns false (not used for this object).- Specified by:
isRegisterForin interfaceBeanPersistController
-
postDelete
- Specified by:
postDeletein interfaceBeanPersistController
-
postInsert
- Specified by:
postInsertin interfaceBeanPersistController
-
postUpdate
- Specified by:
postUpdatein interfaceBeanPersistController
-
postSoftDelete
- Specified by:
postSoftDeletein interfaceBeanPersistController
-
preDelete
- Specified by:
preDeletein interfaceBeanPersistController
-
preSoftDelete
- Specified by:
preSoftDeletein interfaceBeanPersistController
-
preDelete
- Specified by:
preDeletein interfaceBeanPersistController
-
preInsert
- Specified by:
preInsertin interfaceBeanPersistController
-
preUpdate
- Specified by:
preUpdatein interfaceBeanPersistController
-