You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/02/11 01:32:43 UTC
svn commit: r1566901 - in /isis/site/trunk/content:
how-tos/how-to-write-a-view-model.md reference/services/scratchpad.md
Author: danhaywood
Date: Tue Feb 11 00:32:43 2014
New Revision: 1566901
URL: http://svn.apache.org/r1566901
Log:
fixing links
Removed:
isis/site/trunk/content/how-tos/how-to-write-a-view-model.md
Modified:
isis/site/trunk/content/reference/services/scratchpad.md
Modified: isis/site/trunk/content/reference/services/scratchpad.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/reference/services/scratchpad.md?rev=1566901&r1=1566900&r2=1566901&view=diff
==============================================================================
--- isis/site/trunk/content/reference/services/scratchpad.md (original)
+++ isis/site/trunk/content/reference/services/scratchpad.md Tue Feb 11 00:32:43 2014
@@ -1,6 +1,6 @@
Title: Scratchpad [1.4.0-SNAPSHOT]
-The `Scratchpad` service is a [request-scoped](../../applib-guide/domain-services/how-to-09-020-How-to-write-a-typical-domain-service.html) service to allow objects to exchange information even if they do not directly call each other.
+The `Scratchpad` service is a [request-scoped](../../more-advanced-topics/how-to-09-020-How-to-write-a-typical-domain-service.html) service to allow objects to exchange information even if they do not directly call each other.
### API & Implementation
@@ -21,9 +21,9 @@ In fact, this is a concrete class:
### Usage
-The most common use-case is for [Bulk](../../applib-guide/reference/recognized-annotations/Bulk.html) actions that [act upon multiple objects in a list](../../applib-guide/how-tos/how-to-01-065-How-to-add-an-action-to-be-called-on-every-object-in-a-list.html). The (same) `Scratchpad` service is injected into each of these objects, and they can use pass information.
+The most common use-case is for [Bulk](../recognized-annotations/Bulk.html) actions that [act upon multiple objects in a list](../../how-tos/how-to-01-065-How-to-add-an-action-to-be-called-on-every-object-in-a-list.html). The (same) `Scratchpad` service is injected into each of these objects, and they can use pass information.
-For example, the [ToDo app](../../getting-started/quickstart-archetype.html) demonstrates how the `Scratchpad` service can be used to calculate the total cost of the selected `ToDoItem`s:
+For example, the [ToDo app](../../intro/getting-started/quickstart-archetype.html) demonstrates how the `Scratchpad` service can be used to calculate the total cost of the selected `ToDoItem`s:
@ActionSemantics(Of.SAFE)
@Bulk(AppliesTo.BULK_ONLY)
@@ -41,7 +41,7 @@ For example, the [ToDo app](../../gettin
this.scratchpad = scratchpad;
}
-A more complex example could use a [view model](../../applib-guide/how-tos/how-to-write-a-view-model.html) to enable bulk updates to a set of objects. The view model's job is to keep track of the items to be updated:
+A more complex example could use a [view model](../../more-advanced-topics/ViewModel.html) to enable bulk updates to a set of objects. The view model's job is to keep track of the items to be updated:
public class ToDoItemUpdateBulkUpdate extends AbstractViewModel {
...
@@ -88,7 +88,7 @@ Register like any other service in `isis
### Related Services
-The [Bulk.Interaction](./bulk-interaction.html) service allows [@Bulk](../../applib-guide/reference/recognized-annotations/Bulk.html) actions to co-ordinate with each other.
+The [Bulk.Interaction](./bulk-interaction.html) service allows [@Bulk](../recognized-annotations/Bulk.html) actions to co-ordinate with each other.
The [QueryResultsCache](./query-results-cache.html) is useful for caching the results of expensive method calls.