@Override public ODataResponse createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException { throw new ODataNotAcceptableException(ODataNotAcceptableException.NOT_SUPPORTED_CONTENT_TYPE .addContent(contentType)); }
/** * @see EntitySimplePropertyValueProcessor */ @Override public ODataResponse readEntitySimplePropertyValue(final GetSimplePropertyUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
public static MessageReference getMessageReference(final MessageReference messageReference) { if (EdmSimpleTypeException.VALUE_NULL_NOT_ALLOWED.equals(messageReference)) { return EdmSimpleTypeException.PROPERTY_VALUE_NULL_NOT_ALLOWED; } else if (EdmSimpleTypeException.VALUE_FACETS_NOT_MATCHED.equals(messageReference)) { return EdmSimpleTypeException.PROPERTY_VALUE_FACETS_NOT_MATCHED; } return messageReference; } }
/** * Search for and return first (from top) {@link ODataHttpException} in the cause hierarchy. * If there is no {@link ODataHttpException} in the cause hierarchy, <code>NULL</code> is returned. * * @return the first found {@link ODataHttpException} in the cause exception hierarchy * or <code>NULL</code> if no {@link ODataHttpException} is found in the cause hierarchy */ public ODataHttpException getHttpExceptionCause() { return getSpecificCause(ODataHttpException.class); }
/** * @see EntitySimplePropertyProcessor */ @Override public ODataResponse updateEntitySimpleProperty(final PutMergePatchUriInfo uriInfo, final InputStream content, final String requestContentType, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
@Override public ODataResponse countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType) throws ODataException { throw new ODataNotAcceptableException(ODataNotAcceptableException.NOT_SUPPORTED_CONTENT_TYPE .addContent(contentType)); }
/** * Search for and return first (from top) {@link ODataHttpException} in the cause hierarchy. * If there is no {@link ODataHttpException} in the cause hierarchy, <code>NULL</code> is returned. * * @return the first found {@link ODataHttpException} in the cause exception hierarchy * or <code>NULL</code> if no {@link ODataHttpException} is found in the cause hierarchy */ public ODataHttpException getHttpExceptionCause() { return getSpecificCause(ODataHttpException.class); }
/** * @see EntityMediaProcessor */ @Override public ODataResponse readEntityMedia(final GetMediaResourceUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * Search for and return first (from top) {@link ODataApplicationException} in the cause hierarchy. * If there is no {@link ODataApplicationException} in the cause hierarchy <code>NULL</code> is returned. * * @return the first found {@link ODataApplicationException} in the cause exception hierarchy * or <code>NULL</code> if no {@link ODataApplicationException} is found in the cause hierarchy */ public ODataApplicationException getApplicationExceptionCause() { return getSpecificCause(ODataApplicationException.class); }
/** * @see FunctionImportValueProcessor */ @Override public ODataResponse executeFunctionImportValue(final GetFunctionImportUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntitySimplePropertyValueProcessor */ @Override public ODataResponse updateEntitySimplePropertyValue(final PutMergePatchUriInfo uriInfo, final InputStream content, final String requestContentType, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityMediaProcessor */ @Override public ODataResponse deleteEntityMedia(final DeleteUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityLinkProcessor */ @Override public ODataResponse readEntityLink(final GetEntityLinkUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityProcessor */ @Override public ODataResponse readEntity(final GetEntityUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see FunctionImportValueProcessor */ @Override public ODataResponse executeFunctionImportValue(final GetFunctionImportUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntitySimplePropertyValueProcessor */ @Override public ODataResponse updateEntitySimplePropertyValue(final PutMergePatchUriInfo uriInfo, final InputStream content, final String requestContentType, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntitySimplePropertyProcessor */ @Override public ODataResponse readEntitySimpleProperty(final GetSimplePropertyUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityProcessor */ @Override public ODataResponse deleteEntity(final DeleteUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityLinksProcessor */ @Override public ODataResponse readEntityLinks(final GetEntitySetLinksUriInfo uriInfo, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }
/** * @see EntityProcessor */ @Override public ODataResponse updateEntity(final PutMergePatchUriInfo uriInfo, final InputStream content, final String requestContentType, final boolean merge, final String contentType) throws ODataException { throw new ODataNotImplementedException(); }