Interface ModelEntityService

All Known Implementing Classes:
DefaultModelEntityService

public interface ModelEntityService
Service to create or update platform items based on an ODataEntry
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    count(ItemLookupRequest lookupRequest)
    Counts how many items in the platform match the provided request conditions.
    org.apache.olingo.odata2.api.ep.entry.ODataEntry
    Converts an itemModel into a ODataEntry
  • Method Details

    • getODataEntry

      org.apache.olingo.odata2.api.ep.entry.ODataEntry getODataEntry(ItemConversionRequest conversionRequest) throws org.apache.olingo.odata2.api.edm.EdmException
      Converts an itemModel into a ODataEntry
      Parameters:
      conversionRequest - Parameter object that holds values for getting an ODataEntry
      Returns:
      The ODataEntry representation
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException - in case there is an OData related issue
    • count

      int count(ItemLookupRequest lookupRequest) throws org.apache.olingo.odata2.api.edm.EdmException
      Counts how many items in the platform match the provided request conditions.
      Parameters:
      lookupRequest - a request specifying an item type, at a minimum, and possibly other conditions. For example, the request may point to the objects nested in the request's base item type and referred by the navigation segments.
      Returns:
      number of items in the platform matching the request conditions.
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException - in case there is an OData related issue