Uses of Class
org.dspace.app.rest.model.hateoas.HALResource
-
Packages that use HALResource Package Description org.dspace.app.rest org.dspace.app.rest.converter org.dspace.app.rest.link org.dspace.app.rest.model.hateoas org.dspace.app.rest.projection org.dspace.app.rest.utils -
-
Uses of HALResource in org.dspace.app.rest
Methods in org.dspace.app.rest that return HALResource Modifier and Type Method Description HALResource<RestAddressableModel>RestResourceController. findOne(String apiCategory, String model, Integer id)Called in GET is used to retrieve the single resource by identifier; Note that the regular expression in the request mapping accept a number as identifier; Please seeRestResourceController.findOne(String, String, String)for findOne with string as identifier and seeRestResourceController.findOne(String, String, UUID)for uuid as identifierHALResource<RestAddressableModel>RestResourceController. findOne(String apiCategory, String model, String id)Called in GET is used to retrieve the single resource by identifier; Note that the regular expression in the request mapping accept a string as identifier but not the other kind of identifier; http:///api/{apiCategory}/{model}/{id} Example: HALResource<RestAddressableModel>RestResourceController. findOne(String apiCategory, String model, UUID uuid)Called in GET is used to retrieve the single resource by identifier; Note that the regular expression in the request mapping accept a UUID as identifier; Please seeRestResourceController.findOne(String, String, Integer)for findOne with number as identifier and seeRestResourceController.findOne(String, String, String)for string as identifier -
Uses of HALResource in org.dspace.app.rest.converter
Methods in org.dspace.app.rest.converter with type parameters of type HALResource Modifier and Type Method Description <T extends HALResource>
TConverterService. toResource(RestModel restObject)Converts the given rest object to aHALResourceobject.<T extends HALResource>
TConverterService. toResource(RestModel restObject, org.springframework.hateoas.Link... oldLinks)Converts the given rest object to aHALResourceobject. -
Uses of HALResource in org.dspace.app.rest.link
Methods in org.dspace.app.rest.link that return HALResource Modifier and Type Method Description HALResourceHalLinkService. addLinks(HALResource halResource)Methods in org.dspace.app.rest.link with parameters of type HALResource Modifier and Type Method Description HALResourceHalLinkService. addLinks(HALResource halResource)voidHalLinkService. addLinks(HALResource halResource, org.springframework.data.domain.Pageable pageable)List<org.springframework.hateoas.Link>HalLinkFactory. getLinksFor(HALResource halResource, org.springframework.data.domain.Pageable pageable) -
Uses of HALResource in org.dspace.app.rest.model.hateoas
Subclasses of HALResource in org.dspace.app.rest.model.hateoas Modifier and Type Class Description classAuthenticationStatusResourceStatus Resource, wraps the status object and the authenticated EPersonclassAuthenticationTokenResourceToken resource, wraps the AuthenticationToken objectclassAuthnResourceAuthn Rest Resource, used to link to login, logout, status, ...classAuthorizationFeatureResourceAuthorization Feature Rest HAL Resource.classAuthorizationResourceAuthorization Rest HAL Resource.classBitstreamFormatResourceBitstreamFormat Rest HAL Resource.classBitstreamResourceBitstream Rest HAL Resource.classBrowseEntryResourceBrowse Entry Rest HAL Resource.classBrowseIndexResourceBrowse Index Rest HAL Resource.classBundleResourceBunde Rest HAL Resource.classClaimedTaskResourceClaimedTask Rest HAL Resource.classCollectionResourceCollection Rest HAL Resource.classCommunityResourceItem Rest HAL Resource.classDSpaceResource<T extends RestAddressableModel>A base class for DSpace Rest HAL Resource.classEntityTypeResourceEntityType HAL Resource.classEPersonResourceEPerson Rest HAL Resource.classExternalSourceEntryResourceThis class serves as the HAL Resource for an ExternalSourceEntryRest objectclassExternalSourceResourceThis class serves as the HAL Resource for the ExternalSourceRest objectclassFacetConfigurationResourceThis class' purpose is to provide a resource with the information, links and embeds for the /facet endpointclassFacetResultsResourceThis class contains links, embeds and information (FacetResultsRest) to be shown in the endpoint /facet/author for example.classFacetsResourceclassGroupResourceGroup Rest HAL Resource.classHarvestedCollectionResourceHarvestedCollection Rest HAL Resource.classHarvesterMetadataResourceHarvesterMetadata Rest HAL Resource.classItemResourceItem Rest HAL Resource.classLicenseResourceLicense Rest HAL Resource.classMetadataFieldResourceMetadataField Rest HAL Resource.classMetadataSchemaResourceMetadataSchema Rest HAL Resource.classPoolTaskResourcePooledTask Rest HAL Resource.classProcessFileTypesResourceResource object forProcessFileTypesRestclassProcessResourceThe Resource representation of aProcessobjectclassPropertyResourceThe purpose of this class is to wrap the information of the PropertyRest into a HAL resourceclassRegistrationResourceRegistration HAL Resource.classRelationshipResourceRelationship HAL Resource.classRelationshipTypeResourceRelationshipType HAL Resource.classResourcePolicyResourceAccess Condition Rest HAL Resource.classRootResourceThe purpose of this class is to wrap the information of the RootRest into a HAL resourceclassScriptResourceThe Resource representation of a Script objectclassSearchConfigurationResourceThis class serves as a wrapper class to wrap the SearchConfigurationRest into a HAL resourceclassSearchEventResourceclassSearchFacetEntryResourceThis class' purpose is to create a container with the information, links and embeds for the different facets on various endpointsclassSearchFacetValueResourceThis class' purpose is to create a container for the information, links and embeds for the facet values on various endpointsclassSearchResultEntryResourceThis class' purpose is to create a container for the information, links and embeds for the search results entriesclassSearchResultsResourceThis class' purpose is to create a container with a list of the SearchResultEntryResourcesclassSearchSupportResourceThis class' purpose is to wrap the SearchSupportRest into a HAL resourceclassSiteResourceItem Rest HAL Resource.classStatisticsSupportResourceclassSubmissionCCLicenseResourceCCLicense HAL Resource.classSubmissionCCLicenseUrlResourceSubmissionCCLicenseUrl HAL Resource.classSubmissionDefinitionResourceSubmissionDefinition Rest HAL Resource.classSubmissionFormResourceInputFrom Rest HAL Resource.classSubmissionSectionResourceSubmissionPanel Rest HAL Resource.classSubmissionUploadResourceUpload configuration section HAL Resource.classTemplateItemResourceTemplateItem Rest HAL Resource.classUsageReportResourceThe Resource representation of aUsageReportRestobjectclassVersionHistoryResourceThe HALResource object for theVersionHistoryRestobjectclassVersionResourceThe HALResource object for theVersionRestobjectclassViewEventResourceclassVocabularyEntryDetailsResourceVocabulary Entry Details Rest HAL Resource.classVocabularyEntryResourceVocabulary Entry Rest HAL Resource.classVocabularyResourceAuthority Rest HAL Resource.classWorkflowActionResourceWorkflowActionRestHAL Resource.classWorkflowDefinitionResourceWorkflowDefinition Rest HAL Resource.classWorkflowItemResourceWorkflowItem Rest HAL Resource.classWorkflowStepResourceWorkflowStepRestHAL Resource.classWorkspaceItemResourceWorkspaceItem Rest HAL Resource. -
Uses of HALResource in org.dspace.app.rest.projection
Methods in org.dspace.app.rest.projection with type parameters of type HALResource Modifier and Type Method Description <T extends HALResource>
TAbstractProjection. transformResource(T halResource)<T extends HALResource>
TCompositeProjection. transformResource(T halResource)<T extends HALResource>
TProjection. transformResource(T halResource)Transforms the resource object after it has been constructed and any constructor or annotation-based links and embeds have been added.Methods in org.dspace.app.rest.projection with parameters of type HALResource Modifier and Type Method Description booleanAbstractProjection. allowEmbedding(HALResource<? extends RestAddressableModel> halResource, LinkRest linkRest, org.springframework.hateoas.Link... oldLinks)booleanCompositeProjection. allowEmbedding(HALResource<? extends RestAddressableModel> halResource, LinkRest linkRest, org.springframework.hateoas.Link... oldLinks)booleanEmbedRelsProjection. allowEmbedding(HALResource<? extends RestAddressableModel> halResource, LinkRest linkRest, org.springframework.hateoas.Link... oldLinks)booleanFullProjection. allowEmbedding(HALResource<? extends RestAddressableModel> halResource, LinkRest linkRest, org.springframework.hateoas.Link... oldLinks)booleanProjection. allowEmbedding(HALResource<? extends RestAddressableModel> halResource, LinkRest linkRest, org.springframework.hateoas.Link... oldLinks)Tells whether this projection permits the embedding of a particular embeddable subresource.booleanSpecificLevelProjection. allowEmbedding(HALResource<? extends RestAddressableModel> halResource, LinkRest linkRest, org.springframework.hateoas.Link... oldLinks)booleanAbstractProjection. allowLinking(HALResource halResource, LinkRest linkRest)booleanCompositeProjection. allowLinking(HALResource halResource, LinkRest linkRest)booleanFullProjection. allowLinking(HALResource halResource, LinkRest linkRest)booleanProjection. allowLinking(HALResource halResource, LinkRest linkRest)Tells whether this projection permits the linking of a particular linkable subresource.booleanSpecificLevelProjection. allowLinking(HALResource halResource, LinkRest linkRest)org.springframework.data.domain.PageRequestAbstractProjection. getPagingOptions(String rel, HALResource<? extends RestAddressableModel> resource, org.springframework.hateoas.Link... oldLinks)org.springframework.data.domain.PageRequestEmbedRelsProjection. getPagingOptions(String rel, HALResource<? extends RestAddressableModel> resource, org.springframework.hateoas.Link... oldLinks)org.springframework.data.domain.PageRequestProjection. getPagingOptions(String rel, HALResource<? extends RestAddressableModel> resource, org.springframework.hateoas.Link... oldLinks)This method will return thePageRequestobject for a specific given rel -
Uses of HALResource in org.dspace.app.rest.utils
Methods in org.dspace.app.rest.utils with type parameters of type HALResource Modifier and Type Method Description <T extends HALResource>
TUtils. toResource(RestModel restObject)Methods in org.dspace.app.rest.utils with parameters of type HALResource Modifier and Type Method Description voidUtils. embedMethodLevelRels(HALResource<? extends RestAddressableModel> resource)Adds embeds (if the maximum embed level has not been exceeded yet) for all properties annotated with@LinkRelor whose return types areRestAddressableModelsubclasses.voidUtils. embedOrLinkClassLevelRels(HALResource<RestAddressableModel> halResource, org.springframework.hateoas.Link... oldLinks)Adds embeds or links for all class-level LinkRel annotations for which embeds or links are allowed.
-