Interface ItemLookupRequestFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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)
      Creates an ItemLookupRequest that can be used to filter items matching the given attribute (e.g.
      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)
      Creates an ItemLookupRequest that can be used to filter items matching the integration key
      ItemLookupRequest create​(org.apache.olingo.odata2.api.uri.info.DeleteUriInfo uriInfo, org.apache.olingo.odata2.api.processor.ODataContext context)
      Creates an ItemLookupRequest from the given parameters
      ItemLookupRequest create​(org.apache.olingo.odata2.api.uri.UriInfo uriInfo, org.apache.olingo.odata2.api.processor.ODataContext context, java.lang.String contentType)
      Creates an ItemLookupRequest from the given parameters
      ItemLookupRequest createFrom​(ItemLookupRequest request, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry)
      Creates an ItemLookupRequest from the given parameters
    • 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 an ItemLookupRequest from the given parameters
        Parameters:
        uriInfo - Used to create the ItemLookupRequest
        context - Used to create the ItemLookupRequest
        contentType - 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 an ItemLookupRequest that can be used to filter items matching the integration key
        Parameters:
        context - Used to create the ItemLookupRequest
        edmEntitySet - Used to create the ItemLookupRequest
        oDataEntry - Used to create the ItemLookupRequest
        integrationKey - Used to create the ItemLookupRequest
        Returns:
        ItemLookupRequest instance
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException - if OData problem
      • create

        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.EdmException
        Creates an ItemLookupRequest that can be used to filter items matching the given attribute (e.g. version = 'Staged')
        Parameters:
        context - Used to create the ItemLookupRequest
        edmEntitySet - Used to create the ItemLookupRequest
        attribute - Used to create the ItemLookupRequest
        Returns:
        ItemLookupRequest 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 an ItemLookupRequest from the given parameters
        Parameters:
        uriInfo - Used to create the ItemLookupRequest
        context - 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 an ItemLookupRequest from the given parameters
        Parameters:
        request - base request to create new request from
        entitySet - entity set of the new lookup request
        oDataEntry - the new ODataEntry for the lookup request
        Returns:
        ItemLookupRequest instance
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException - if OData problem