All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.camel.component.olingo2.Olingo2AppEndpointConfiguration Maven / Gradle / Ivy

There is a newer version: 4.8.1
Show newest version
/*
 * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
 */
package org.apache.camel.component.olingo2;

import org.apache.camel.spi.ApiMethod;
import org.apache.camel.spi.ApiParam;
import org.apache.camel.spi.ApiParams;
import org.apache.camel.spi.Configurer;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;

/**
 * Camel endpoint configuration for {@link org.apache.camel.component.olingo2.api.Olingo2App}.
 */
@ApiParams(apiName = "DEFAULT", 
           description = "Olingo2 Client Api Interface",
           apiMethods = {@ApiMethod(methodName = "batch", description="Executes a batch request", signatures={"void batch(org.apache.olingo.odata2.api.edm.Edm edm, java.util.Map endpointHttpHeaders, Object data, org.apache.camel.component.olingo2.api.Olingo2ResponseHandler> responseHandler)"}), @ApiMethod(methodName = "create", description="Creates a new OData resource", signatures={"void create(org.apache.olingo.odata2.api.edm.Edm edm, String resourcePath, java.util.Map endpointHttpHeaders, Object data, org.apache.camel.component.olingo2.api.Olingo2ResponseHandler responseHandler)"}), @ApiMethod(methodName = "delete", description="Deletes an OData resource and invokes callback with org", signatures={"void delete(String resourcePath, java.util.Map endpointHttpHeaders, org.apache.camel.component.olingo2.api.Olingo2ResponseHandler responseHandler)"}), @ApiMethod(methodName = "merge", description="Patches/merges an OData resource using HTTP MERGE", signatures={"void merge(org.apache.olingo.odata2.api.edm.Edm edm, String resourcePath, java.util.Map endpointHttpHeaders, Object data, org.apache.camel.component.olingo2.api.Olingo2ResponseHandler responseHandler)"}), @ApiMethod(methodName = "patch", description="Patches/merges an OData resource using HTTP PATCH", signatures={"void patch(org.apache.olingo.odata2.api.edm.Edm edm, String resourcePath, java.util.Map endpointHttpHeaders, Object data, org.apache.camel.component.olingo2.api.Olingo2ResponseHandler responseHandler)"}), @ApiMethod(methodName = "read", description="Reads an OData resource and invokes callback with appropriate result", signatures={"void read(org.apache.olingo.odata2.api.edm.Edm edm, String resourcePath, java.util.Map queryParams, java.util.Map endpointHttpHeaders, org.apache.camel.component.olingo2.api.Olingo2ResponseHandler responseHandler)"}), @ApiMethod(methodName = "update", description="Updates an OData resource", signatures={"void update(org.apache.olingo.odata2.api.edm.Edm edm, String resourcePath, java.util.Map endpointHttpHeaders, Object data, org.apache.camel.component.olingo2.api.Olingo2ResponseHandler responseHandler)"}), @ApiMethod(methodName = "uread", description="Reads an OData resource and invokes callback with the unparsed input stream", signatures={"void uread(org.apache.olingo.odata2.api.edm.Edm edm, String resourcePath, java.util.Map queryParams, java.util.Map endpointHttpHeaders, org.apache.camel.component.olingo2.api.Olingo2ResponseHandler responseHandler)"})}, aliases = {})
@UriParams
@Configurer(extended = true)
public final class Olingo2AppEndpointConfiguration extends Olingo2Configuration {
    @UriParam
    @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "batch", description="Ordered org.apache.camel.component.olingo2.api.batch.Olingo2BatchRequest list"), @ApiMethod(methodName = "create", description="Request data"), @ApiMethod(methodName = "merge", description="Patch/merge data"), @ApiMethod(methodName = "patch", description="Patch/merge data"), @ApiMethod(methodName = "update", description="Updated data")})
    private Object data;
    @UriParam
    @ApiParam(optional = true, apiMethods = {@ApiMethod(methodName = "batch", description="Service Edm"), @ApiMethod(methodName = "create", description="Service Edm"), @ApiMethod(methodName = "merge", description="Service Edm"), @ApiMethod(methodName = "patch", description="Service Edm"), @ApiMethod(methodName = "read", description="Service Edm, read from calling read(null, $metdata, null, responseHandler)"), @ApiMethod(methodName = "update", description="Service Edm"), @ApiMethod(methodName = "uread", description="Service Edm, read from calling read(null, $metdata, null, responseHandler)")})
    private org.apache.olingo.odata2.api.edm.Edm edm;
    @UriParam
    @ApiParam(optional = true, apiMethods = {@ApiMethod(methodName = "batch", description="HTTP Headers to add/override the component versions"), @ApiMethod(methodName = "create", description="HTTP Headers to add/override the component versions"), @ApiMethod(methodName = "delete", description="HTTP Headers to add/override the component versions"), @ApiMethod(methodName = "merge", description="HTTP Headers to add/override the component versions"), @ApiMethod(methodName = "patch", description="HTTP Headers to add/override the component versions"), @ApiMethod(methodName = "read", description="HTTP Headers to add/override the component versions"), @ApiMethod(methodName = "update", description="HTTP Headers to add/override the component versions"), @ApiMethod(methodName = "uread", description="HTTP Headers to add/override the component versions")})
    private java.util.Map endpointHttpHeaders;
    @UriParam
    @ApiParam(optional = false, apiMethods = {})
    private java.lang.String keyPredicate;
    @UriParam
    @ApiParam(optional = true, apiMethods = {@ApiMethod(methodName = "read", description="OData query params from http://www.odata.org/documentation/odata-version-2-0/uri-conventions#SystemQueryOptions"), @ApiMethod(methodName = "uread", description="OData query params from http://www.odata.org/documentation/odata-version-2-0/uri-conventions#SystemQueryOptions")})
    private java.util.Map queryParams;
    @UriParam
    @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "create", description="Resource path to create"), @ApiMethod(methodName = "delete", description="Resource path for Entry"), @ApiMethod(methodName = "merge", description="Resource path to update"), @ApiMethod(methodName = "patch", description="Resource path to update"), @ApiMethod(methodName = "read", description="OData Resource path"), @ApiMethod(methodName = "update", description="Resource path to update"), @ApiMethod(methodName = "uread", description="OData Resource path")})
    private String resourcePath;
    @UriParam
    @ApiParam(optional = true, apiMethods = {@ApiMethod(methodName = "batch", description="Callback handler"), @ApiMethod(methodName = "create", description="Callback handler"), @ApiMethod(methodName = "delete", description="Org.apache.olingo.odata2.api.commons.HttpStatusCodes callback handler"), @ApiMethod(methodName = "merge", description="Org.apache.olingo.odata2.api.ep.entry.ODataEntry callback handler"), @ApiMethod(methodName = "patch", description="Org.apache.olingo.odata2.api.ep.entry.ODataEntry callback handler"), @ApiMethod(methodName = "read", description="Callback handler"), @ApiMethod(methodName = "update", description="Org.apache.olingo.odata2.api.ep.entry.ODataEntry callback handler"), @ApiMethod(methodName = "uread", description="Callback handler")})
    private org.apache.camel.component.olingo2.api.Olingo2ResponseHandler> responseHandler;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public org.apache.olingo.odata2.api.edm.Edm getEdm() {
        return edm;
    }

    public void setEdm(org.apache.olingo.odata2.api.edm.Edm edm) {
        this.edm = edm;
    }

    public java.util.Map getEndpointHttpHeaders() {
        return endpointHttpHeaders;
    }

    public void setEndpointHttpHeaders(java.util.Map endpointHttpHeaders) {
        this.endpointHttpHeaders = endpointHttpHeaders;
    }

    public java.lang.String getKeyPredicate() {
        return keyPredicate;
    }

    public void setKeyPredicate(java.lang.String keyPredicate) {
        this.keyPredicate = keyPredicate;
    }

    public java.util.Map getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(java.util.Map queryParams) {
        this.queryParams = queryParams;
    }

    public String getResourcePath() {
        return resourcePath;
    }

    public void setResourcePath(String resourcePath) {
        this.resourcePath = resourcePath;
    }

    public org.apache.camel.component.olingo2.api.Olingo2ResponseHandler> getResponseHandler() {
        return responseHandler;
    }

    public void setResponseHandler(org.apache.camel.component.olingo2.api.Olingo2ResponseHandler> responseHandler) {
        this.responseHandler = responseHandler;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy