public interface EntityLinksProcessor extends ODataProcessor
Modifier and Type | Method and Description |
---|---|
ODataResponse |
countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo,
String contentType)
Counts the number of target entities of a navigation property.
|
ODataResponse |
createEntityLink(PostUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Creates a new link to a target entity of a navigation property.
|
ODataResponse |
readEntityLinks(GetEntitySetLinksUriInfo uriInfo,
String contentType)
Reads the URIs of the target entities of a navigation property.
|
getContext, setContext
ODataResponse readEntityLinks(GetEntitySetLinksUriInfo uriInfo, String contentType) throws ODataException
uriInfo
- information about the request URIcontentType
- the content type of the responseODataException
ODataResponse countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo, String contentType) throws ODataException
uriInfo
- information about the request URIcontentType
- the content type of the responseODataException
ODataResponse createEntityLink(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException
uriInfo
- information about the request URIcontent
- the content of the request, containing the link datarequestContentType
- the content type of the request bodycontentType
- the content type of the responseODataException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.