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 2013/06/08 10:42:04 UTC

svn commit: r1490934 - in /isis/site/trunk/content: components/objectstores/jdo/settings-services-jdo.md core/services/about.md core/services/settings-services.md

Author: danhaywood
Date: Sat Jun  8 08:42:04 2013
New Revision: 1490934

URL: http://svn.apache.org/r1490934
Log:
settings services

Modified:
    isis/site/trunk/content/components/objectstores/jdo/settings-services-jdo.md
    isis/site/trunk/content/core/services/about.md
    isis/site/trunk/content/core/services/settings-services.md

Modified: isis/site/trunk/content/components/objectstores/jdo/settings-services-jdo.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/components/objectstores/jdo/settings-services-jdo.md?rev=1490934&r1=1490933&r2=1490934&view=diff
==============================================================================
--- isis/site/trunk/content/components/objectstores/jdo/settings-services-jdo.md (original)
+++ isis/site/trunk/content/components/objectstores/jdo/settings-services-jdo.md Sat Jun  8 08:42:04 2013
@@ -1,10 +1,10 @@
 Title: Settings Services using JDO [jdo-1.2.0-SNAPSHOT]
 
-The JDO objectstore provides simple implementations of the two applib [SettingsServices](../../../core/services/settings-services.html).
+The JDO objectstore provides simple implementations of the two applib [Settings Services](../../../core/services/settings-services.html).
 
 ## Application Settings
 
-In the case of `ApplicationSettingsService`, the service is implemented by `ApplicationSettingsServiceJdo`, with the `ApplicationSetting` interface is implemented by a `ApplicationSettingsJdo` entity.
+In the case of `ApplicationSettingsService`, the service is implemented by `ApplicationSettingsServiceJdo`, with the `ApplicationSetting` interface implemented by a `ApplicationSettingsJdo` entity.
 
 The service also provides the ability to create list all existing settings, create new settings (of whichever datatype), update settings, and to delete settings.
 
@@ -13,7 +13,7 @@ These actions can be hidden using securi
 
 ## User Settings
 
-In the case of `UserSettingsService`, the service is implemented by `UserSettingsServiceJdo`, with the `UserSetting` interface is implemented by a `UserSettingsJdo` entity.
+In the case of `UserSettingsService`, the service is implemented by `UserSettingsServiceJdo`, with the `UserSetting` interface implemented by a `UserSettingsJdo` entity.
 
 As for application settings, the user settings service also provides the ability to create list all existing settings, create new settings (of whichever datatype), update settings, and to delete settings.
 
@@ -27,7 +27,7 @@ Register the services as any other servi
 <pre>
 isis.services=<i>...other services...</i>,\
               org.apache.isis.objectstore.jdo.applib.service.settings.ApplicationSettingsServiceJdo,\
-org.apache.isis.objectstore.jdo.applib.service.settings.UserSettingsServiceJdo,\
+             org.apache.isis.objectstore.jdo.applib.service.settings.UserSettingsServiceJdo,\
               ...
 </pre>
 

Modified: isis/site/trunk/content/core/services/about.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/core/services/about.md?rev=1490934&r1=1490933&r2=1490934&view=diff
==============================================================================
--- isis/site/trunk/content/core/services/about.md (original)
+++ isis/site/trunk/content/core/services/about.md Sat Jun  8 08:42:04 2013
@@ -8,4 +8,5 @@ Title: Applib Services
 - [Bookmark Service](bookmark-service.html)
 - [Exception Recognizers](exception-recognizers.html)
 - [Publishing Service](publishing-service.html)
+- [Settings Services](settings-services.html) [1.3.0-SNAPSHOT]
 

Modified: isis/site/trunk/content/core/services/settings-services.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/core/services/settings-services.md?rev=1490934&r1=1490933&r2=1490934&view=diff
==============================================================================
--- isis/site/trunk/content/core/services/settings-services.md (original)
+++ isis/site/trunk/content/core/services/settings-services.md Sat Jun  8 08:42:04 2013
@@ -2,7 +2,7 @@ Title: Settings Services
 
 The `ApplicationSettingsService` and the `UserSettingsService` are two similar services that provide the ability to store either configuration settings.  With `ApplicationSettingsService` these settings have global scope; for the `UserSettingsService` the settings are stored per user.
 
-The core applib defines only interfaces and some convenience abstract classes.  The JDO objectstore provides an [implementation](../../components/objectstores/jdo/, alternatively you could write your own implementation.
+The core applib defines only interfaces and some convenience abstract classes.  The JDO objectstore provides an [implementation](../../components/objectstores/jdo/settings-services-jdo.html), alternatively you could write your own implementation.
 
 
 ## ApplicationSettingsService
@@ -38,9 +38,7 @@ The intention is for implementations to 
 The API defined by `UserSettingsService` is:
 
     public interface UserSettingsService {
-        UserSetting find(
-            @Named("User") String user, 
-            @Named("Key") String key);
+        UserSetting find(@Named("User") String user, @Named("Key") String key);
     }
 
 where `UserSetting` in turn is defined as:
@@ -62,4 +60,4 @@ where `UserSetting` in turn is defined a
         Boolean valueAsBoolean();
     }
 
-This is typesafe following the same pattern as `ApplicationSetting`, discussed above.
\ No newline at end of file
+This is typesafe following the same pattern as `ApplicationSetting`, discussed above.