anchor.diff:  	private @Id @GeneratedValue Long id;
   
   	// Spring Content managed attributes
  -	private @ContentId UUID contentId;  	
  -	private @ContentLength Long contentLen;	
  +	private @ContentId UUID contentId;
  +	private @ContentLength Long contentLen;
   }
   
   public interface DvdRepository extends CrudRepository<Dvd, Long> {}
  
positive.code: [[content-repositories]]
  = Working with Spring Stores
  
  The goal of the Spring Content is to significantly reduce the amount of boilerplate code required to implement handling of rich-content resources and other media by providing content access, metadata association, search and transformation capabilities for various implementations of Content Store.
  
  [IMPORTANT]
  ====
  This chapter explains the core concepts and interfaces for Spring Content stores. The information in this chapter is pulled from the Spring Content Commons.  It uses the configuration and code samples for the S3 module.  Adapt the Java configuration and the types to be extended to the equivalents of the particular module that you are using.
  ====
  
  [[content-repositories.core-concepts]]
  == Core concepts
  The central interface in the Spring Content is the `ContentStore` abstraction.  This interface provides CRUD functionality and metadata association for content.  It is typed to the Spring Data domain class to which the content is associated, and to the type of the content ID attribute on that domain class. 
  
  [[content-repositories.repository]]
  
  
negative.code: }
  ----
  ====
  The down-side of this approach is that it does not filter events based on Entity.
  
  ==== Writing an Annotated StoreEventHandler ====
  
  Another approach is to use an annotated handler, which does filter events based on Entity.
  
  To declare a handler, create a POJO and annotate it as `@StoreEventHandler`. This tells
  Spring Content that this class needs to be inspected for handler methods.  It
  iterates over the class's methods and looks for annotations that correspond to the
  event.  There are 6 handler annotations:
  
  * HandleBeforeSetContent
  
  * HandleAfterSetContent
  
  * HandleBeforeGetContent
  