Class AlfrescoPagedResourcesAssembler<T>
- java.lang.Object
-
- org.springframework.data.web.PagedResourcesAssembler<T>
-
- org.activiti.cloud.alfresco.data.domain.AlfrescoPagedResourcesAssembler<T>
-
- All Implemented Interfaces:
org.springframework.hateoas.ResourceAssembler<org.springframework.data.domain.Page<T>,org.springframework.hateoas.PagedResources<org.springframework.hateoas.Resource<T>>>
public class AlfrescoPagedResourcesAssembler<T> extends org.springframework.data.web.PagedResourcesAssembler<T>
-
-
Constructor Summary
Constructors Constructor Description AlfrescoPagedResourcesAssembler(org.springframework.data.web.HateoasPageableHandlerMethodArgumentResolver resolver, org.springframework.web.util.UriComponents baseUri, ExtendedPageMetadataConverter extendedPageMetadataConverter)Creates a newPagedResourcesAssemblerusing the givenPageableHandlerMethodArgumentResolverand base URI.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R extends org.springframework.hateoas.ResourceSupport>
org.springframework.hateoas.PagedResources<R>toResource(org.springframework.data.domain.Pageable pageable, org.springframework.data.domain.Page<T> page, org.springframework.hateoas.ResourceAssembler<T,R> assembler)
-
-
-
Constructor Detail
-
AlfrescoPagedResourcesAssembler
public AlfrescoPagedResourcesAssembler(@Nullable org.springframework.data.web.HateoasPageableHandlerMethodArgumentResolver resolver, @Nullable org.springframework.web.util.UriComponents baseUri, ExtendedPageMetadataConverter extendedPageMetadataConverter)Creates a newPagedResourcesAssemblerusing the givenPageableHandlerMethodArgumentResolverand base URI. If the former is null, a default one will be created. If the latter is null, calls toPagedResourcesAssembler.toResource(Page)will use the current request's URI to build the relevant previous and next links.- Parameters:
resolver- can be null.baseUri- can be null.
-
-