/** * <p>Updates a single data object identified by the specified entity set and key fields of * the data object.</p> * @param entitySet the {@link EdmEntitySet} the object must correspond to * @param data the data object of the new entity * @return updated data object instance * @throws org.apache.olingo.odata2.api.exception.ODataNotImplementedException * @throws org.apache.olingo.odata2.api.edm.EdmException * @throws org.apache.olingo.odata2.api.exception.ODataApplicationException */ public Object updateData(final EdmEntitySet entitySet, final Object data) throws ODataNotImplementedException, EdmException, ODataApplicationException { DataStore<Object> dataStore = getDataStore(entitySet); return dataStore.update(data); }
/** * <p>Updates a single data object identified by the specified entity set and key fields of * the data object.</p> * @param entitySet the {@link EdmEntitySet} the object must correspond to * @param data the data object of the new entity * @return updated data object instance * @throws org.apache.olingo.odata2.api.exception.ODataNotImplementedException * @throws org.apache.olingo.odata2.api.edm.EdmException * @throws org.apache.olingo.odata2.api.exception.ODataApplicationException */ public Object updateData(final EdmEntitySet entitySet, final Object data) throws ODataNotImplementedException, EdmException, ODataApplicationException { DataStore<Object> dataStore = getDataStore(entitySet); return dataStore.update(data); }
/** * <p>Updates a single data object identified by the specified entity set and key fields of * the data object.</p> * @param entitySet the {@link EdmEntitySet} the object must correspond to * @param data the data object of the new entity * @return updated data object instance * @throws org.apache.olingo.odata2.api.exception.ODataNotImplementedException * @throws org.apache.olingo.odata2.api.edm.EdmException * @throws org.apache.olingo.odata2.api.exception.ODataApplicationException */ public Object updateData(final EdmEntitySet entitySet, final Object data) throws ODataNotImplementedException, EdmException, ODataApplicationException { DataStore<Object> dataStore = getDataStore(entitySet); return dataStore.update(data); }