Commit Graph

28 Commits

Author SHA1 Message Date
Oliver Gierke
c5ee47cce4 Resources - Make returned content Collection immutable. 2012-08-30 14:19:16 +02:00
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
Spring Buildmaster
f5f86dcbbc #6 - Prepare next development iteration. 2012-08-23 09:44:00 -07:00
Spring Buildmaster
bf8188c0dd #6 - Release 0.2.0.RELEASE. 2012-08-23 09:43:57 -07: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
cdc9ec9bfa Fixed broken code highlighting and typo. 2012-07-19 18:38:55 +03:00
Spring Buildmaster
4e25848d5f #2 - Prepare next development iteration. 2012-07-19 04:57:38 -07:00
Spring Buildmaster
34ff429a7f #2 - Release 0.1.0.RELEASE. 2012-07-19 04:57:36 -07:00
Oliver Gierke
187e1ff358 Polished pom.xml.
Added plugins to attach sources and JavaDoc. Added changelog and license files as well as JavaDoc CSS.
2012-07-19 13:55:52 +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
8b9c638869 Update to Spring 3.1.2.RELEASE. 2012-07-19 13:17:25 +02:00
Oliver Gierke
0b15928dd6 Javadoc polishing. 2012-07-19 13:17:12 +02:00
Oliver Gierke
7286b829f8 Polished build.
Set version number to 0.1.0.BUILD-SNAPSHOT to quickly allow releases while not doing an 1.0.0 release in the first place. Added Bundlor to generate an appropriate OSGi manifest.
2012-06-12 20:00:25 +02:00
Oliver Gierke
6326eb5642 Updated documentation.
Clarify how ControllerLinkBuilder actually works internally.
2012-05-11 18:14:51 +03:00
Oliver Gierke
e1cb5d6ae5 Fixed formatting.
Enabled syntax highlighting and fixed broken link.
2012-05-11 13:49:06 +03:00
Oliver Gierke
3abbea4a28 Minor fixes for glitches in readme.md. 2012-05-11 13:44:13 +03:00
Oliver Gierke
21b1a4ec8c Initial commit. 2012-05-10 20:25:31 +02:00