Commit Graph

17 Commits

Author SHA1 Message Date
Kulcsár Roland
82fb6ef9d2 #603 - Fix typos 2017-07-13 13:37:37 -05:00
Greg Turnquist
9f875b211b #562 - Clean up JavaDocs by removing references to downstream methods.
Putting in links to downstream methods (Spring Data Commons PagedResourcesAssembler.addPaginationLinks(…)) is not advisable.

Related ticket: #501.
2017-03-26 11:14:36 +02:00
Christoph Strobl
a16ea77c15 #536 - Remove references to Assert single-arg methods.
Remove usage of calls to single-argument assertion methods by providing message.

Original pull request: #537.
2017-01-31 17:56:14 +01:00
Oliver Gierke
32d7c9bf51 #309 - Fixed calculation of total pages in PageMetadata. 2015-02-27 14:56:31 +01:00
Oliver Gierke
8436e9ed4e #165 - Removed support for Jackson 1.x. 2014-03-21 17:45:58 +01:00
Oliver Gierke
fac6bbb2cc #124 - Fixed mapping annotations in ResourceSupport types.
Added @XmlAnyElement to Resource and moved annotations to accessors to avoid name clashes when overriding them using Jackson mixins.
2013-12-16 15:12:47 +01:00
Oliver Gierke
64d2554325 #89 - Tweaked assertions in PageMetadata.
PageMetadata doesn't reject empty pages anymore if they're used with 1-indexed Pageables. Also tweaked the assertions to only reject negative values for now.
2013-08-26 18:08:46 +02:00
ericbottard
9c4d6029cf #98, #97 - Fixed XML element name for PagedResources to allow deserialization.
We need to have a different XML element name for PagedResources as it can be used as root element and JAXB cannot tell the difference between Resource and PagedResource otherwise.
2013-07-16 18:06:20 +02:00
Oliver Gierke
a7baafc022 #92 - Removed obsolete annotations from PagedResources.
Removed JsonAutoDetect annotations from PagedResources as the reference to Visibility was causing compile errors in case one of the 2 Jackson variants was not on the classpath (which by design will usually be the case). Generally, the annotations weren't required anymore so that we could remove them.
2013-06-29 14:25:45 +02:00
Oliver Gierke
45c05a3203 Polishing in annotations of PagedResources. 2013-05-27 13:40:26 +02:00
Oliver Gierke
a9ccfc6782 #64 - Extended support for PagedResources.
Changed Relation type to identify previous links to standardized value of prev. Added integration tests for HAL rendering of PagedResources.
2013-05-16 00:07:57 +02:00
Oliver Gierke
c7396c24a9 Cleaned up hashCode() method in PagedResources. 2012-11-18 18:58:07 +01:00
Oliver Gierke
40b486cb43 #27 - Added support for Jackson 2.
Added Jackson 2 dependencies. Doubly annotated representation model classes with both Jackson 1 and Jackson 2 annotations. Added Integration tests for Jackson 2 marshaling provided by Jon. Polished template.mf.
2012-11-16 21:32:47 +01: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
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
bc09140769 #3 - Added PageableResources value object 2012-08-17 18:39:41 +02:00