Class CrudRequest
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.persistence.AbstractRequest
-
- de.hybris.platform.odata2services.odata.persistence.CrudRequest
-
- Direct Known Subclasses:
ItemLookupRequest,StorageRequest
public abstract class CrudRequest extends AbstractRequest
Request for a CRUD operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCrudRequest.DataRequestBuilder<T extends CrudRequest.DataRequestBuilder,R extends CrudRequest>-
Nested classes/interfaces inherited from class de.hybris.platform.odata2services.odata.persistence.AbstractRequest
AbstractRequest.AbstractRequestBuilder<T extends AbstractRequest.AbstractRequestBuilder,R extends AbstractRequest>
-
-
Constructor Summary
Constructors Constructor Description CrudRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetContentType()IntegrationItemgetIntegrationItem()java.lang.StringgetIntegrationKey()org.apache.olingo.odata2.api.ep.entry.ODataEntrygetODataEntry()Deprecated, for removal: This API element is subject to removal in a future version.Since 1905.java.net.URIgetRequestUri()java.net.URIgetServiceRoot()protected voidsetContentType(java.lang.String contentType)protected voidsetIntegrationItem(IntegrationItem item)protected voidsetIntegrationKey(java.lang.String integrationKey)protected voidsetODataEntry(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry)Deprecated, for removal: This API element is subject to removal in a future version.Since 1905.protected voidsetRequestUri(java.net.URI requestUri)protected voidsetServiceRoot(java.net.URI serviceRoot)-
Methods inherited from class de.hybris.platform.odata2services.odata.persistence.AbstractRequest
getAcceptLocale, getEntitySet, getEntitySetReferencedByProperty, getEntityType, getIntegrationObjectCode, getPropertyTypeName, setAcceptLocale, setEntitySet, setEntityType, setIntegrationObjectCode
-
-
-
-
Method Detail
-
getIntegrationKey
public java.lang.String getIntegrationKey()
-
setIntegrationKey
protected void setIntegrationKey(java.lang.String integrationKey)
-
getODataEntry
@Deprecated(since="1905", forRemoval=true) public org.apache.olingo.odata2.api.ep.entry.ODataEntry getODataEntry()Deprecated, for removal: This API element is subject to removal in a future version.Since 1905. UsegetIntegrationItem()insteadRetrieves an OData entry associated with this request.- Returns:
- the entry being handled by this request
-
setODataEntry
@Deprecated(since="1905", forRemoval=true) protected void setODataEntry(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry)Deprecated, for removal: This API element is subject to removal in a future version.Since 1905. UsesetIntegrationItem(IntegrationItem)insteadSets the context OData entry for this request.- Parameters:
oDataEntry- an entry to associate with this request
-
getServiceRoot
public java.net.URI getServiceRoot()
-
setServiceRoot
protected void setServiceRoot(java.net.URI serviceRoot)
-
getContentType
public java.lang.String getContentType()
-
setContentType
protected void setContentType(java.lang.String contentType)
-
getRequestUri
public java.net.URI getRequestUri()
-
setRequestUri
protected void setRequestUri(java.net.URI requestUri)
-
getIntegrationItem
public IntegrationItem getIntegrationItem()
-
setIntegrationItem
protected void setIntegrationItem(IntegrationItem item)
-
-