Commit Graph

316 Commits

Author SHA1 Message Date
Oliver Gierke
dab25f25fc Resources - Switched from Collection to Iterable for source content. 2012-08-30 14:19:16 +02:00
Oliver Gierke
b33231ffaa Polished Javadoc of ControllerLinkBuilder. 2012-08-30 14:19:09 +02:00
Oliver Gierke
91a6e99e3f Renamed ResourceProcessor.{enrich(…) -> process(…)}. 2012-08-27 19:08:11 +02:00
Oliver Gierke
15a2092cf7 Moved back to Resource{Enricher -> Processor} to allow exchanging the Resource. 2012-08-24 21:46:17 +02:00
Oliver Gierke
5bc711ee9b #11 - Moved from List to Set for Links in ResourceSupport. 2012-08-24 21:29:02 +02:00
Oliver Gierke
ee515f6f04 #10 - Renamed fromEntities(…) to wrap(…). 2012-08-23 23:59:29 +02:00
Oliver Gierke
a4bf7fb4bf #9 - Added constructors taking Iterable<Link> to resource abstractions. 2012-08-23 23:57:13 +02:00
Oliver Gierke
7646e11a26 #7 - Added @JsonIgnore to ResourceSupport.getId().
Added integration tests for the JSON marshaling.
2012-08-23 23:56:25 +02:00
Oliver Gierke
1bb4669828 Polished Resources abstraction.
Added correct equals(…)/hashCode() methods to PagedResource, PageMetadata. Polished toString() methods of ResourceSupport, Resource, Resources and PagedResources. Added factory method to PagedResources to easily create a plain instance from a set of entities.
2012-08-23 18:34:21 +02:00
Oliver Gierke
2c5dfc12f6 Replaced Resource(s)Processor with ResourceEnricher. 2012-08-23 00:08:51 +02:00
Oliver Gierke
6c368faa0e #5 - Added equals(…) / hashCode() to Resource/Resources. 2012-08-22 18:37:52 +02:00
Oliver Gierke
bc09140769 #3 - Added PageableResources value object 2012-08-17 18:39:41 +02:00
Oliver Gierke
ca57ed440d Enhancements of Resource abstraction.
Introduced Resource and Resources value objects. The former captures single entity instances but adds links to it. The latter does the same for a collection of entities. Added SPI interfaces ResourcePostProcessor and ResourcesPostProcessor to allow manipulating Resource and Resources instances.
2012-08-07 19:17:51 +02:00
Oliver Gierke
cd3e433d98 Incorporate feedback from @rstoyanchev.
Improve ResourceAssemblerSupport by introducing a dedicated method instead of an overload. Got rid of EntityId in the course. ControllerLinkBuilder now inspects type hierarchy for @RequestMapping annotations instead of the class only. Made links list in ResourceSupport final. Polished variable names and JavaDoc.
2012-07-19 13:32:02 +02:00
Oliver Gierke
0b15928dd6 Javadoc polishing. 2012-07-19 13:17:12 +02:00
Oliver Gierke
21b1a4ec8c Initial commit. 2012-05-10 20:25:31 +02:00