Interface ItemLookupRequestFactory
-
- All Known Implementing Classes:
DefaultItemLookupRequestFactory
public interface ItemLookupRequestFactoryFactory to create anItemLookupRequest
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ItemLookupRequestcreate(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.api.edm.EdmEntitySet edmEntitySet, org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> attribute)Deprecated, for removal: This API element is subject to removal in a future version.ItemLookupRequestcreate(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.api.edm.EdmEntitySet edmEntitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, java.lang.String integrationKey)Creates anItemLookupRequestthat can be used to filter items matching the integration keyItemLookupRequestcreate(org.apache.olingo.odata2.api.uri.info.DeleteUriInfo uriInfo, org.apache.olingo.odata2.api.processor.ODataContext context)Creates anItemLookupRequestfrom the given parametersItemLookupRequestcreate(org.apache.olingo.odata2.api.uri.UriInfo uriInfo, org.apache.olingo.odata2.api.processor.ODataContext context, java.lang.String contentType)Creates anItemLookupRequestfrom the given parametersItemLookupRequestcreateFrom(ItemLookupRequest request, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry)Creates anItemLookupRequestfrom the given parameters@NotNull ItemLookupRequestcreateWithFilter(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, WhereClauseConditions filter)Creates anItemLookupRequestthat can be used to filter items matching a given attribute, e.g.
-
-
-
Method Detail
-
create
ItemLookupRequest create(org.apache.olingo.odata2.api.uri.UriInfo uriInfo, org.apache.olingo.odata2.api.processor.ODataContext context, java.lang.String contentType)
Creates anItemLookupRequestfrom the given parameters- Parameters:
uriInfo- Used to create the ItemLookupRequestcontext- Used to create the ItemLookupRequestcontentType- Used to create the ItemLookupRequest- Returns:
- ItemLookupRequest instance
-
create
ItemLookupRequest create(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.api.edm.EdmEntitySet edmEntitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, java.lang.String integrationKey) throws org.apache.olingo.odata2.api.edm.EdmException
Creates anItemLookupRequestthat can be used to filter items matching the integration key- Parameters:
context- Used to create the ItemLookupRequestedmEntitySet- Used to create the ItemLookupRequestoDataEntry- Used to create the ItemLookupRequestintegrationKey- Used to create the ItemLookupRequest- Returns:
- ItemLookupRequest instance
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- if OData problem
-
create
@Deprecated(since="1905.2002-CEP", forRemoval=true) ItemLookupRequest create(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.api.edm.EdmEntitySet edmEntitySet, org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String> attribute) throws org.apache.olingo.odata2.api.edm.EdmExceptionDeprecated, for removal: This API element is subject to removal in a future version.Creates anItemLookupRequestthat can be used to filter items matching the given attribute (e.g. version = 'Staged')- Parameters:
context- Used to create the ItemLookupRequestedmEntitySet- Used to create the ItemLookupRequestattribute- Used to create the ItemLookupRequest- Returns:
- ItemLookupRequest instance
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- if OData problem
-
createWithFilter
@NotNull @NotNull ItemLookupRequest createWithFilter(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, WhereClauseConditions filter) throws org.apache.olingo.odata2.api.edm.EdmException
Creates anItemLookupRequestthat can be used to filter items matching a given attribute, e.g.version = 'Staged'- Parameters:
context- HTTP request context that carries URL parameters, etcentitySet- requested entity setfilter- a filter based on the attribute values to be added to the produced request. These conditions replace conditions possibly existing in thecontext.- Returns:
- ItemLookupRequest instance new request instance
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- if OData problem
-
create
ItemLookupRequest create(org.apache.olingo.odata2.api.uri.info.DeleteUriInfo uriInfo, org.apache.olingo.odata2.api.processor.ODataContext context)
Creates anItemLookupRequestfrom the given parameters- Parameters:
uriInfo- Used to create the ItemLookupRequestcontext- Used to create the ItemLookupRequest- Returns:
- ItemLookupRequest instance
-
createFrom
ItemLookupRequest createFrom(ItemLookupRequest request, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry) throws org.apache.olingo.odata2.api.edm.EdmException
Creates anItemLookupRequestfrom the given parameters- Parameters:
request- base request to create new request fromentitySet- entity set of the new lookup requestoDataEntry- the new ODataEntry for the lookup request- Returns:
- ItemLookupRequest instance
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- if OData problem
-
-