Class HALResource<T>
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<org.springframework.hateoas.EntityModel<T>>
-
- org.springframework.hateoas.EntityModel<T>
-
- org.dspace.app.rest.model.hateoas.HALResource<T>
-
- Direct Known Subclasses:
AuthenticationTokenResource,BrowseEntryResource,DSpaceResource,ExternalSourceEntryResource,FacetConfigurationResource,FacetResultsResource,FacetsResource,HarvestedCollectionResource,LicenseResource,ProcessFileTypesResource,RegistrationResource,RootResource,SearchConfigurationResource,SearchFacetEntryResource,SearchFacetValueResource,SearchResultEntryResource,SearchResultsResource,SearchSupportResource,StatisticsSupportResource,VocabularyEntryResource
public abstract class HALResource<T> extends org.springframework.hateoas.EntityModel<T>The abstract, generic class for the HalResources
-
-
Constructor Summary
Constructors Constructor Description HALResource(T content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.hateoas.EntityModel<T>add(org.springframework.hateoas.Link link)voidembedResource(String rel, Object object)Map<String,Object>getEmbeddedResources()voidsetPageHeader(EmbeddedPageHeader page)-
Methods inherited from class org.springframework.hateoas.EntityModel
equals, getContent, hashCode, toString
-
-
-
-
Constructor Detail
-
HALResource
public HALResource(T content)
-
-
Method Detail
-
setPageHeader
public void setPageHeader(EmbeddedPageHeader page)
-
-