public interface IdsCoercerExtender
PreventConcurrents and BatchPreventConcurrent.
The coercing process is a two phase process :
- Retrieve the annotated (
Id and/or Ids}) arguments of the advised method and convert them to a list of ids. Done by an object realizing IdsCoercer.
- (Optional) Do some operation after. Example, make a db request to retrieve node container ids, as we often need to lock them with nodes
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Serializable> |
doCoerce(Collection<? extends Serializable> coercedIds)
Do some additional stuff to lock more or less entities, as needed by model and business logic.
|
Collection<? extends Serializable> doCoerce(Collection<? extends Serializable> coercedIds)
CoercerPathEdgeExtender#doCoerce(Collection)coercedIds - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.