You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ch...@apache.org on 2015/10/13 14:26:28 UTC
svn commit: r1708368 -
/olingo/site/trunk/content/doc/odata4/tutorials/media/tutorial_media.mdtext
Author: chrish
Date: Tue Oct 13 12:26:28 2015
New Revision: 1708368
URL: http://svn.apache.org/viewvc?rev=1708368&view=rev
Log:
CMS commit to olingo by chrish
Modified:
olingo/site/trunk/content/doc/odata4/tutorials/media/tutorial_media.mdtext
Modified: olingo/site/trunk/content/doc/odata4/tutorials/media/tutorial_media.mdtext
URL: http://svn.apache.org/viewvc/olingo/site/trunk/content/doc/odata4/tutorials/media/tutorial_media.mdtext?rev=1708368&r1=1708367&r2=1708368&view=diff
==============================================================================
--- olingo/site/trunk/content/doc/odata4/tutorials/media/tutorial_media.mdtext (original)
+++ olingo/site/trunk/content/doc/odata4/tutorials/media/tutorial_media.mdtext Tue Oct 13 12:26:28 2015
@@ -244,7 +244,6 @@ Enable the regular entity set for CRUD o
throws ODataApplicationException {
EdmEntityType edmEntityType = edmEntitySet.getEntityType();
-
if (edmEntitySet.getName().equals(DemoEdmProvider.ES_PRODUCTS_NAME)) {
// ...
} else if(edmEntitySet.getName().equals(DemoEdmProvider.ES_ADVERTISMENTS_NAME)) {
@@ -257,7 +256,6 @@ Enable the regular entity set for CRUD o
public Entity createEntityData(EdmEntitySet edmEntitySet, Entity entityToCreate) {
EdmEntityType edmEntityType = edmEntitySet.getEntityType();
-
if (edmEntitySet.getName().equals(DemoEdmProvider.ES_PRODUCTS_NAME)) {
// ....
} else if(edmEntitySet.getName().equals(DemoEdmProvider.ES_CATEGORIES_NAME)) {
@@ -271,7 +269,6 @@ Enable the regular entity set for CRUD o
Entity updateEntity, HttpMethod httpMethod) throws ODataApplicationException {
EdmEntityType edmEntityType = edmEntitySet.getEntityType();
-
if (edmEntitySet.getName().equals(DemoEdmProvider.ES_PRODUCTS_NAME)) {
// ...
} else if(edmEntitySet.getName().equals(DemoEdmProvider.ES_ADVERTISMENTS_NAME)) {
@@ -283,7 +280,6 @@ Enable the regular entity set for CRUD o
throws ODataApplicationException {
EdmEntityType edmEntityType = edmEntitySet.getEntityType();
-
if (edmEntitySet.getName().equals(DemoEdmProvider.ES_PRODUCTS_NAME)) {
// ...
} else if(edmEntitySet.getName().equals(DemoEdmProvider.ES_ADVERTISMENTS_NAME)) {