@RestController
@RequestMapping(value="/api/core/entitytypes/{id}/relationshiptypes")
public class RelationshipTypeRestController
extends Object
| Constructor and Description |
|---|
RelationshipTypeRestController() |
| Modifier and Type | Method and Description |
|---|---|
RelationshipTypeResourceWrapper |
retrieve(Integer id,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
This method will retrieve all the RelationshipTypes that conform to the given EntityType by the given ID and
it will return this in a wrapped resource.
|
@RequestMapping(method=GET) public RelationshipTypeResourceWrapper retrieve(@PathVariable Integer id, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request) throws SQLException
id - The ID of the EntityType objects that we'll use to retrieve the RelationshipTypesresponse - The response objectrequest - The request objectSQLException - If something goes wrongCopyright © 2019 DuraSpace. All rights reserved.