You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ra...@apache.org on 2017/10/25 06:27:29 UTC
svn commit: r1813253 -
/olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_bound_action.mdtext
Author: ramyav
Date: Wed Oct 25 06:27:29 2017
New Revision: 1813253
URL: http://svn.apache.org/viewvc?rev=1813253&view=rev
Log:
Update Bound action tutorial
Modified:
olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_bound_action.mdtext
Modified: olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_bound_action.mdtext
URL: http://svn.apache.org/viewvc/olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_bound_action.mdtext?rev=1813253&r1=1813252&r2=1813253&view=diff
==============================================================================
--- olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_bound_action.mdtext (original)
+++ olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_bound_action.mdtext Wed Oct 25 06:27:29 2017
@@ -263,10 +263,10 @@ We need two methods in the data store to
return null;
}
-In the second method, we are returning a custom object DemoEntityActionResult. This holds the entity and the status as to whether the entity is created or just returned. This information is used to set the response status
+In the second method, we are returning a custom object DemoEntityActionResult. This holds the entity and the status as to whether the entity is created or just returned. This information is used to set the response status.
- ::::java
- public class DemoEntityActionResult {
+ ::::java
+ public class DemoEntityActionResult {
private Entity entity;
private boolean created = false;
@@ -287,8 +287,8 @@ In the second method, we are returning a
this.created = created;
return this;
}
-
}
+
### Implement an action processor