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.RepresentationModelRestResourceController. 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.PagedModel<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, org.springframework.util.MultiValueMap<String,Object> parameters)Find all<T extends RestAddressableModel>
org.springframework.http.ResponseEntity<org.springframework.hateoas.RepresentationModel<?>>RestResourceController. upload(javax.servlet.http.HttpServletRequest request, String apiCategory, String model, List<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 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 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.classAuthenticationTokenRestThe authentication token REST HAL Resource.classAuthnRestRoot rest object for the /api/authn endpointclassAuthorizationFeatureRestThe Authorization Feature REST Resource, shortly feature.classAuthorizationRestThe Authorization REST Resource.classBaseObjectRest<T extends Serializable>Base class for any REST resource that need to be addressable and identifiable (via an ID)classBitstreamFormatRestThe 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 ResourceclassProcessFileTypesRestThis class provides a way to list the filetypes present in a given Process by showing them as a list of Strings It'll be used byProcessFileTypesLinkRepositoryclassProcessRestThis class serves as a REST representation for theProcessclassclassPropertyRestThis class acts as the REST representation of a DSpace configuration property.classRegistrationRestThis class acts as the REST representation of the RegistrationData model class.classRelationshipRestThis 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 ResourceclassStatisticsSupportRestclassSubmissionCCLicenseRestThis class is the REST representation of the CCLicense model object and acts as a data object for the SubmissionCCLicenseResource class.classSubmissionCCLicenseUrlRestThis class is the REST representation of the CCLicense URL String object and acts as a data object for the SubmissionCCLicenseUrlRest class.classSubmissionDefinitionRestThe Submission Definition REST ResourceclassSubmissionFormRestThe Submission Form REST ResourceclassSubmissionSectionRestThe SubmissionPanel REST Resource.classSubmissionUploadRestThe Upload Section Configuration REST ResourceclassTemplateItemRestThe TemplateItem REST ResourceclassUsageReportPointCityRestThis class serves as a REST representation of a City data Point of aUsageReportRestfrom the DSpace statisticsclassUsageReportPointCountryRestThis class serves as a REST representation of a Country data Point of aUsageReportRestfrom the DSpace statistics.classUsageReportPointDateRestThis class serves as a REST representation of a Date (month) data Point of aUsageReportRestfrom the DSpace statisticsclassUsageReportPointDsoTotalVisitsRestThis class serves as a REST representation of a TotalVisit data Point of a DSO'sUsageReportRestfrom the DSpace statisticsclassUsageReportPointRestThis class serves as a REST representation of a Point of aUsageReportRestfrom the DSpace statisticsclassUsageReportRestThis class serves as a REST representation of a Usage Report from the DSpace statisticsclassVersionHistoryRestThe REST object for theVersionHistoryobjectclassVersionRestThe REST object for theVersionobjectsclassViewEventRestThis class acts as a REST representation for a ViewEvent in DSpaceclassVocabularyEntryDetailsRestThe Vocabulary Entry Details REST ResourceclassVocabularyRestThe vocabulary REST resourceclassWorkflowActionRestThe 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.projection
Method parameters in org.dspace.app.rest.projection with type arguments of type RestAddressableModel 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)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 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)Create a HAL Link to a single resourceorg.springframework.hateoas.LinkUtils. linkToSubResource(RestAddressableModel data, String rel)Create a HAL Link to a subresource of given resource.org.springframework.hateoas.LinkUtils. linkToSubResource(RestAddressableModel data, String rel, String path)Create a HAL Link to a subresource of given resource using given path name and link nameMethod 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, org.springframework.hateoas.Link... oldLinks)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)
-