|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.domain.dao.EvictionUtils
public class EvictionUtils
Convenience methods that support eviction of PersistableEntitys
from those objects that implement EvictionCapable.
| Constructor Summary | |
|---|---|
EvictionUtils()
|
|
| Method Summary | |
|---|---|
static void |
evictIfRequired(Object daoOrServices,
Collection<? extends Object> collection)
Evicts each PersistableEntity element of the passed
Collection using the passed Object (provided
that the passed Object implements
EvictionCapable). |
static void |
evictIfRequired(Object daoOrServices,
PersistableEntity entity)
Evicts the PersistableEntity using the passed
Object (provided that the passed Object
implements EvictionCapable). |
static void |
evictPopulatedIfRequired(Object daoOrServices,
PersistableEntity entity)
Evicts the PersistableEntity using the passed
Object (provided that the passed Object
implements EvictionCapable), along with expressly
evicting every PersistableEntity returned by the
PersistableEntity's getters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvictionUtils()
| Method Detail |
|---|
public static void evictIfRequired(Object daoOrServices,
PersistableEntity entity)
PersistableEntity using the passed
Object (provided that the passed Object
implements EvictionCapable).
daoOrServices - the potential source for
EvictionCapable services (never null)entity - to evict (can be null)
public static void evictPopulatedIfRequired(Object daoOrServices,
PersistableEntity entity)
PersistableEntity using the passed
Object (provided that the passed Object
implements EvictionCapable), along with expressly
evicting every PersistableEntity returned by the
PersistableEntity's getters.
daoOrServices - the potential source for
EvictionCapable services (never null)entity - to evict includnig its getter results (can be null)
public static void evictIfRequired(Object daoOrServices,
Collection<? extends Object> collection)
PersistableEntity element of the passed
Collection using the passed Object (provided
that the passed Object implements
EvictionCapable).
daoOrServices - the potential source for
EvictionCapable services (never null)collection - whose members to evict (never null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||