Class CommunityResource
- 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>
-
- org.dspace.app.rest.model.hateoas.DSpaceResource<CommunityRest>
-
- org.dspace.app.rest.model.hateoas.CommunityResource
-
@RelNameDSpaceResource("community") public class CommunityResource extends DSpaceResource<CommunityRest>
Item Rest HAL Resource. The HAL Resource wraps the REST Resource adding support for the links and embedded resources- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
-
-
Field Summary
-
Fields inherited from class org.dspace.app.rest.model.hateoas.HALResource
embedded
-
-
Constructor Summary
Constructors Constructor Description CommunityResource(CommunityRest community, Utils utils)
-
Method Summary
-
Methods inherited from class org.dspace.app.rest.model.hateoas.DSpaceResource
getContent
-
Methods inherited from class org.dspace.app.rest.model.hateoas.HALResource
add, embedResource, getEmbeddedResources, setPageHeader
-
-
-
-
Constructor Detail
-
CommunityResource
public CommunityResource(CommunityRest community, Utils utils)
-
-