Uses of Class
org.dspace.app.rest.model.RestAddressableModel
-
-
Uses of RestAddressableModel in org.dspace.app.rest
Methods in org.dspace.app.rest with type parameters of type RestAddressableModel Modifier and Type Method Description <T extends RestAddressableModel>
org.springframework.hateoas.ResourceSupportRestResourceController. executeSearchMethods(String apiCategory, String model, String searchMethodName, javax.servlet.http.HttpServletResponse response, org.springframework.data.domain.Pageable pageable, org.springframework.data.domain.Sort sort, org.springframework.data.web.PagedResourcesAssembler assembler, org.springframework.util.MultiValueMap<String,Object> parameters)<T extends RestAddressableModel>
org.springframework.hateoas.PagedResources<DSpaceResource<T>>RestResourceController. findAll(String apiCategory, String model, org.springframework.data.domain.Pageable page, org.springframework.data.web.PagedResourcesAssembler assembler, javax.servlet.http.HttpServletResponse response)Find all<T extends RestAddressableModel>
org.springframework.http.ResponseEntity<org.springframework.hateoas.ResourceSupport>RestResourceController. upload(javax.servlet.http.HttpServletRequest request, String apiCategory, String model, org.springframework.web.multipart.MultipartFile uploadfile)Upload a file against the collection resource endpoint.Methods in org.dspace.app.rest that return types with arguments of type RestAddressableModel Modifier and Type Method Description DSpaceResource<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 identifierDSpaceResource<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: DSpaceResource<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 identifierDSpaceResource<RestAddressableModel>RestResourceController. put(javax.servlet.http.HttpServletRequest request, String apiCategory, String model, Integer id)Execute a PUT request for an entity with id of type Integer; curl -X PUT -H "Content-Type:text/uri-list" http:///api/{apiCategory}/{model}/{id} Example: DSpaceResource<RestAddressableModel>RestResourceController. put(javax.servlet.http.HttpServletRequest request, String apiCategory, String model, Integer id, com.fasterxml.jackson.databind.JsonNode jsonNode)Execute a PUT request for an entity with id of type Integer; curl -X PUT -H "Content-Type:application/json" http:///api/{apiCategory}/{model}/{id} Example: DSpaceResource<RestAddressableModel>RestResourceController. put(javax.servlet.http.HttpServletRequest request, String apiCategory, String model, UUID uuid, com.fasterxml.jackson.databind.JsonNode jsonNode)Execute a PUT request for an entity with id of type UUID; curl -X PUT http:///api/{apiCategory}/{model}/{uuid} Example: -
Uses of RestAddressableModel in org.dspace.app.rest.converter
Classes in org.dspace.app.rest.converter with type parameters of type RestAddressableModel Modifier and Type Interface Description interfaceIndexableObjectConverter<M,R extends RestAddressableModel>This is the base converter from/to objects in the DSpace API data model and the REST data model that can be indexed -
Uses of RestAddressableModel in org.dspace.app.rest.model
Subclasses of RestAddressableModel in org.dspace.app.rest.model Modifier and Type Class Description classAInprogressSubmissionRestAbstract class to share common aspects between the REST representation of inprogressSubmissionclassAuthenticationStatusRestFind out your authentication status.classAuthnRestRoot rest object for the /api/authn endpointclassAuthorityEntryRestThe Authority Entry REST ResourceclassAuthorityRestThe authority REST resourceclassBaseObjectRest<T extends Serializable>Base class for any REST resource that need to be addressableclassBitstreamFormatRestThe BitstreamFormat REST ResourceclassBitstreamRestThe Bitstream REST ResourceclassBrowseIndexRestThe Browse Index REST ResourceclassBundleRestThe Bundle REST ResourceclassClaimedTaskRestThe ClaimedTask REST ResourceclassCollectionRestThe Collection REST ResourceclassCommunityRestThe Community REST ResourceclassDiscoveryResultsRestThis class provides a container for the information to be used in the DiscoveryResultsResourceclassDSpaceObjectRestBase REST representation for all the DSpaceObjectsclassEntityTypeRestThis class is the REST representation of the EntityType model object and acts as a data object for the EntityTypeResource class.classEPersonRestThe EPerson REST ResourceclassExternalSourceEntryRestThis class serves as a REST representation for an entry of external dataclassExternalSourceRestThis class serves as a REST representation for an External SourceclassFacetConfigurationRestThis class' purpose is to give information about the FacetConfiguration to be displayed on the /facets endpointclassFacetResultsRestThis class provides a container for the information to be used in the FacetResultsResourceclassGroupRestThe Group REST ResourceclassHarvestedCollectionRestThe HarvestCollection REST ResourceclassHarvesterMetadataRestThe rest resource used for harvester metadataclassItemRestThe Item REST ResourceclassMetadataFieldRestThe MetadataField REST ResourceclassMetadataSchemaRestThe MetadataSchema REST ResourceclassPoolTaskRestThe PoolTask REST ResourceclassProcessRestThis class serves as a REST representation for theProcessclassclassRelationshipRestThis class acts as the REST representation of the Relationship model class.classRelationshipTypeRestThis class is the REST representation of the RelationshipType model class.classResourcePolicyRestThe Access Condition REST Resource.classRootRestThe purpose of this class is to show the representation of information on the home/root page of the REST APIclassScriptRestThis class serves as a REST representation of a ScriptclassSearchConfigurationRestThis class' purpose is to store the information that'll be shown on the /search endpoint.classSearchEventRestThis class acts as a REST representation for a SearchEvent in DSpaceclassSearchFacetEntryRestThis class' purpose is to create a container for the information used in the SearchFacetEntryResourceclassSearchFacetValueRestThis class' purpose is to create a container for the information used in the SearchFacetValueResourceclassSearchResultEntryRestThis class' purpose is to create a container for the information in the SearchResultEntryResourceclassSearchResultsRestThis class' purpose is to create a container for the information used in the SearchResultsResourceclassSearchSupportRestThis class' purpose is to give information about the api/discover endpointclassSiteRestThe Collection REST ResourceclassStatisticsSupportRestclassSubmissionDefinitionRestThe Submission Definition REST ResourceclassSubmissionFormRestThe Submission Form REST ResourceclassSubmissionSectionRestThe SubmissionPanel REST Resource.classSubmissionUploadRestThe Upload Section Configuration REST ResourceclassTemplateItemRestThe TemplateItem REST ResourceclassViewEventRestThis class acts as a REST representation for a ViewEvent in DSpaceclassWorkflowActionRestThe rest resource used for workflow actionsclassWorkflowDefinitionRestThe rest resource used for workflow definitionsclassWorkflowItemRestThe WorkflowItem REST ResourceclassWorkflowStepRestThe rest resource used for workflow stepsclassWorkspaceItemRestThe WorkspaceItem REST ResourceMethods in org.dspace.app.rest.model that return RestAddressableModel Modifier and Type Method Description RestAddressableModelSearchResultEntryRest. getIndexableObject()Methods in org.dspace.app.rest.model with parameters of type RestAddressableModel Modifier and Type Method Description voidSearchResultEntryRest. setIndexableObject(RestAddressableModel indexableObject) -
Uses of RestAddressableModel in org.dspace.app.rest.model.hateoas
Classes in org.dspace.app.rest.model.hateoas with type parameters of type RestAddressableModel Modifier and Type Class Description classDSpaceResource<T extends RestAddressableModel>A base class for DSpace Rest HAL Resource. -
Uses of RestAddressableModel in org.dspace.app.rest.repository
Classes in org.dspace.app.rest.repository with type parameters of type RestAddressableModel Modifier and Type Class Description classDSpaceRestRepository<T extends RestAddressableModel,ID extends Serializable>Base class for any Rest Repository. -
Uses of RestAddressableModel in org.dspace.app.rest.utils
Methods in org.dspace.app.rest.utils with parameters of type RestAddressableModel Modifier and Type Method Description org.springframework.hateoas.LinkUtils. linkToSingleResource(RestAddressableModel data, String rel)org.springframework.hateoas.LinkUtils. linkToSubResource(RestAddressableModel data, String rel)org.springframework.hateoas.LinkUtils. linkToSubResource(RestAddressableModel data, String rel, String path)Method parameters in org.dspace.app.rest.utils with type arguments of type RestAddressableModel 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)Adds embeds or links for all class-level LinkRel annotations for which embeds or links are allowed.LinkRestUtils. getClassLevelLinkRest(String rel, Class<? extends RestAddressableModel> restClass)
-