Package org.springframework.data.support

Interface Summary
IsNewStrategy Strategy interface to determine whether a given entity is to be considered new.
IsNewStrategyFactory Factory interface to create IsNewStrategy instances for a given class.
 

Class Summary
CachingIsNewStrategyFactory IsNewStrategyFactory that caches resolved IsNewStrategy instances per type to avoid re-resolving them on each and every request.
IsNewStrategyFactorySupport IsNewStrategyFactory that handles Persistable implementations directly by retuning a PersistableIsNewStrategy and delegating to IsNewStrategyFactorySupport.doGetIsNewStrategy(Class) for all other types.
 

Enum Summary
PersistableIsNewStrategy IsNewStrategy that invokes Persistable.isNew() on the given object.
 



Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.