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 2015/12/03 19:15:50 UTC

[32/51] [abbrv] isis git commit: ISIS-1243: renamed rg.adoc to rgcms.adoc

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-ActionDomainEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-ActionDomainEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-ActionDomainEvent.adoc
new file mode 100644
index 0000000..cf74368
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-ActionDomainEvent.adoc
@@ -0,0 +1,20 @@
+[[_rgcms_classes_domainevent_manpage-ActionDomainEvent]]
+= `ActionDomainEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_domainevent_manpage-AbstractDomainEvent[`AbstractDomainEvent`] for actions.
+
+The class has a number of responsibilities (in addition to those it inherits):
+
+* capture the target object being interacted with
+
+* capture the arguments for each of the action's parameters
+
+* provide selected metadata about the action parameters from the metamodel (names, types)
+
+* link back to the xref:rgsvc.adoc#_rgsvc-api_CommandContext[`CommandContext`] service's `Command` object
+
+The class itself is instantiated automatically by the framework whenever interacting with a rendered object's action.

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-CollectionDomainEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-CollectionDomainEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-CollectionDomainEvent.adoc
new file mode 100644
index 0000000..05f2157
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-CollectionDomainEvent.adoc
@@ -0,0 +1,21 @@
+[[_rgcms_classes_domainevent_manpage-CollectionDomainEvent]]
+= `CollectionDomainEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_domainevent_manpage-AbstractDomainEvent[`AbstractDomainEvent`] for collections.
+
+The class has a couple of responsibilities (in addition to those it inherits):
+
+* capture the target object being interacted with
+
+* indicate whether the interaction is to add or remove an object from the collection (or simply to indicate that the collection is being accessed/read)
+
+* capture the object reference being added or removed
+
+
+The class itself is instantiated automatically by the framework whenever interacting with a rendered object's collection.
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-PropertyDomainEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-PropertyDomainEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-PropertyDomainEvent.adoc
new file mode 100644
index 0000000..0878ee1
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_domainevent_manpage-PropertyDomainEvent.adoc
@@ -0,0 +1,17 @@
+[[_rgcms_classes_domainevent_manpage-PropertyDomainEvent]]
+= `PropertyDomainEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_domainevent_manpage-AbstractDomainEvent[`AbstractDomainEvent`] for properties.
+
+The class has a couple of responsibilities (in addition to those it inherits):
+
+* capture the target object being interacted with
+
+* capture the old and new values of the property
+
+
+The class itself is instantiated automatically by the framework whenever interacting with a rendered object's property.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_i18n.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_i18n.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_i18n.adoc
new file mode 100644
index 0000000..c6c2fcf
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_i18n.adoc
@@ -0,0 +1,11 @@
+[[_rgcms_classes_i18n]]
+= i18n support
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+The `org.apache.isis.applib.services.i18n` package contains a single class to support i18n.
+
+
+include::_rgcms_classes_i18n_manpage-TranslatableString.adoc[leveloffset=+1]

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_i18n_manpage-TranslatableString.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_i18n_manpage-TranslatableString.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_i18n_manpage-TranslatableString.adoc
new file mode 100644
index 0000000..9611a1e
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_i18n_manpage-TranslatableString.adoc
@@ -0,0 +1,13 @@
+[[_rgcms_classes_i18n_manpage-TranslatableString]]
+= `TranslatableString`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+IMPORTANT: TODO - see xref:ugbtb.adoc#_ugbtb_more-advanced_i18n[user guide, i18n].
+
+The `TranslatableString` utility class ...
+
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent.adoc
new file mode 100644
index 0000000..cd99543
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent.adoc
@@ -0,0 +1,130 @@
+[[_rgcms_classes_lifecycleevent]]
+= Lifecycle Events
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This section catalogues the various lifecycle event classes defined by Apache Isis.  These events
+are fired automatically when a domain object is loaded, created, updated and so forth.
+
+The lifecycle event classes are listed in the table below:
+
+
+.Lifecycle Event Classes
+[cols="2,4a,1,1", options="header"]
+|===
+
+|API
+|Maven Module +
+Impl'n (g: a:)
+|Implementation
+|Notes
+
+
+|xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent[`o.a.i.applib.` +
+`AbstractLifecycleEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class)
+|Superclass of the other lifecycle events, listed below in this table.
+
+
+|xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectCreatedDomainEvent[`o.a.i.applib.` +
+`ObjectCreatedEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`ObjectCreatedEvent.Default` is the concrete implementation that is used.
+|Broadcast when an object is first instantiated
+using the xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-creation-api[`DomainObjectContainer`]'s
+`#newTransientInstance(...)` method.
+
+
+|xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectLoadedDomainEvent[`o.a.i.applib.` +
+`ObjectLoadedEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`ObjectLoadedEvent.Default` is the concrete implementation that is  used.
+|Broadcast when an object is retrieved from the database.
+
+
+|xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectPersistedDomainEvent[`o.a.i.applib.` +
+`ObjectPersistedEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`ObjectPersistedEvent.Default` is the concrete implementation that is used.
+|Broadcast when an object is first saved (inserted) into the database using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#persist(...)` method.
+
+
+|xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectPersistingDomainEvent[`o.a.i.applib.` +
+`ObjectPersistingEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`ObjectPersistingEvent.Default` is the concrete implementation that is used.
+|Broadcast when an object is about to be saved (inserted) into the database using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#persist(...)` method.
+
+
+|xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectRemovingDomainEvent[`o.a.i.applib.` +
+`ObjectRemovingEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`ObjectRemovingEvent.Default` is the concrete implementation that is used.
+|Broadcast when an object is about to be deleted from the database using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#remove(...)` method.
+
+
+|xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectUpdatedDomainEvent[`o.a.i.applib.` +
+`ObjectUpdatedEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`ObjectUpdatedEvent.Default` is the concrete implementation that is used.
+|Broadcast when an object has just been updated in the database.  This is done either explicitly when the current
+transaction is flushed using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#flush(...)` method, else is done implicitly when the transaction commits at the end of the user request.
+
+
+|xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectUpdatingDomainEvent[`o.a.i.applib.` +
+`ObjectUpdatingEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`ObjectUpdatingEvent.Default` is the concrete implementation that is used.
+|Broadcast when an object is about to be updated in the database.  This is done either explicitly when the current
+transaction is flushed using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#flush(...)` method, else is done implicitly when the transaction commits at the end of the user request.
+
+
+|===
+
+
+
+include::_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_lifecycleevent_manpage-ObjectCreatedEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_lifecycleevent_manpage-ObjectLoadedEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_lifecycleevent_manpage-ObjectPersistedEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_lifecycleevent_manpage-ObjectPersistingEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_lifecycleevent_manpage-ObjectRemovingEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_lifecycleevent_manpage-ObjectUpdatedEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_lifecycleevent_manpage-ObjectUpdatingEvent.adoc[leveloffset=+1]
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent.adoc
new file mode 100644
index 0000000..590c85c
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent.adoc
@@ -0,0 +1,27 @@
+[[_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent]]
+= `AbstractLifecycleEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This class is the superclass for all lifecycle events that are raised by the framework when loading, saving, updating
+or deleting objects from the database.
+
+Its immediate subclasses are:
+
+* xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectCreatedEvent[`ObjectCreatedEvent`]
+
+* xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectLoadedEvent[`ObjectLoadedEvent`]
+
+* xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectPersistedEvent[`ObjectPersistedEvent`]
+
+* xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectPersistingEvent[`ObjectPersistingEvent`]
+
+* xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectRemovingEvent[`ObjectRemovingEvent`]
+
+* xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectUpdatedEvent[`ObjectUpdatedEvent`]
+
+* xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-ObjectUpdatingEvent[`ObjectUpdatingEvent`]
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectCreatedEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectCreatedEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectCreatedEvent.adoc
new file mode 100644
index 0000000..788a628
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectCreatedEvent.adoc
@@ -0,0 +1,20 @@
+[[_rgcms_classes_lifecycleevent_manpage-ObjectCreatedEvent]]
+= `ObjectCreatedEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent[`AbstractLifecycleEvent`], broadcast
+when an object is first instantiated using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-creation-api[`DomainObjectContainer`]'s
+`#newTransientInstance(...)` method.
+
+`ObjectCreatedEvent.Default` is the concrete implementation that is used.
+
+[NOTE]
+====
+In the future this may be generalized to allow arbitrary subclasses to be broadcast, see ISIS-803.
+====
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectLoadedEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectLoadedEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectLoadedEvent.adoc
new file mode 100644
index 0000000..7d65cf7
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectLoadedEvent.adoc
@@ -0,0 +1,17 @@
+[[_rgcms_classes_lifecycleevent_manpage-ObjectLoadedEvent]]
+= `ObjectLoadedEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent[`AbstractLifecycleEvent`], broadcast
+when an object is retrieved from the database.
+
+`ObjectLoadedEvent.Default` is the concrete implementation that is used.
+
+[NOTE]
+====
+In the future this may be generalized to allow arbitrary subclasses to be broadcast, see ISIS-803.
+====

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectPersistedEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectPersistedEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectPersistedEvent.adoc
new file mode 100644
index 0000000..95bd2e8
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectPersistedEvent.adoc
@@ -0,0 +1,19 @@
+[[_rgcms_classes_lifecycleevent_manpage-ObjectPersistedEvent]]
+= `ObjectPersistedEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent[`AbstractLifecycleEvent`], broadcast
+when an object is first saved (inserted) into the database using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#persist(...)` method.
+
+
+`ObjectPersistedEvent.Default` is the concrete implementation that is used.
+
+[NOTE]
+====
+In the future this may be generalized to allow arbitrary subclasses to be broadcast, see ISIS-803.
+====

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectPersistingEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectPersistingEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectPersistingEvent.adoc
new file mode 100644
index 0000000..376bc25
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectPersistingEvent.adoc
@@ -0,0 +1,21 @@
+[[_rgcms_classes_lifecycleevent_manpage-ObjectPersistingEvent]]
+= `ObjectPersistingEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent[`AbstractLifecycleEvent`], broadcast
+when an object is about to be saved (inserted) into the database using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#persist(...)` method.
+
+
+`ObjectPersistingEvent.Default` is the concrete implementation that is used.
+
+[NOTE]
+====
+In the future this may be generalized to allow arbitrary subclasses to be broadcast, see ISIS-803.
+====
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectRemovingEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectRemovingEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectRemovingEvent.adoc
new file mode 100644
index 0000000..0235513
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectRemovingEvent.adoc
@@ -0,0 +1,20 @@
+[[_rgcms_classes_lifecycleevent_manpage-ObjectRemovingEvent]]
+= `ObjectRemovingEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent[`AbstractLifecycleEvent`], broadcast
+when an object is about to be deleted from the database using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#remove(...)` method.
+
+
+`ObjectRemovingEvent.Default` is the concrete implementation that is used.
+
+[NOTE]
+====
+In the future this may be generalized to allow arbitrary subclasses to be broadcast, see ISIS-803.
+====
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectUpdatedEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectUpdatedEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectUpdatedEvent.adoc
new file mode 100644
index 0000000..58695e5
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectUpdatedEvent.adoc
@@ -0,0 +1,21 @@
+[[_rgcms_classes_lifecycleevent_manpage-ObjectUpdatedEvent]]
+= `ObjectUpdatedEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent[`AbstractLifecycleEvent`], broadcast
+when an object has just been updated in the database.  This is done either explicitly when the current
+transaction is flushed using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#flush(...)` method, else is done implicitly when the transaction commits at the end of the user request.
+
+`ObjectUpdatedEvent.Default` is the concrete implementation that is used.
+
+[NOTE]
+====
+In the future this may be generalized to allow arbitrary subclasses to be broadcast, see ISIS-803.
+====
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectUpdatingEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectUpdatingEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectUpdatingEvent.adoc
new file mode 100644
index 0000000..e78c649
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_lifecycleevent_manpage-ObjectUpdatingEvent.adoc
@@ -0,0 +1,22 @@
+[[_rgcms_classes_lifecycleevent_manpage-ObjectUpdatingEvent]]
+= `ObjectUpdatingEvent`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+
+Subclass of xref:rgcms.adoc#_rgcms_classes_lifecycleevent_manpage-AbstractLifecycleEvent[`AbstractLifecycleEvent`], broadcast
+when an object is about to be updated in the database.  This is done either explicitly when the current
+transaction is flushed using the
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer_object-persistence-api[`DomainObjectContainer`]'s
+`#flush(...)` method, else is done implicitly when the transaction commits at the end of the user request.
+
+
+`ObjectUpdatingEvent.Default` is the concrete implementation that is used.
+
+[NOTE]
+====
+In the future this may be generalized to allow arbitrary subclasses to be broadcast, see ISIS-803.
+====
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles.adoc
new file mode 100644
index 0000000..6277ec5
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles.adoc
@@ -0,0 +1,18 @@
+[[_rgcms_classes_roles]]
+= Roles
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+The interfaces listed in this chapter are role interfaces; they define a contract for the framework
+ to interact with those domain objects that implement these interfaces.
+
+
+include::_rgcms_classes_roles_manpage-HoldsUpdatedAt.adoc[leveloffset=+1]
+include::_rgcms_classes_roles_manpage-HoldsUpdatedBy.adoc[leveloffset=+1]
+include::_rgcms_classes_roles_manpage-Timestampable.adoc[leveloffset=+1]
+include::_rgcms_classes_roles_manpage-Dto.adoc[leveloffset=+1]
+include::_rgcms_classes_roles_manpage-Persistable.adoc[leveloffset=+1]
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Dto.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Dto.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Dto.adoc
new file mode 100644
index 0000000..b7e4790
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Dto.adoc
@@ -0,0 +1,61 @@
+[[_rgcms_classes_mixins_Dto]]
+= `Dto` (`1.11.0-SNAPSHOT`)
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+The `Dto` role interface (`1.11.0-SNAPSHOT`) is intended to be implemented by JAXB-annotated view models, that is, annotated using
+xref:rgant.adoc#_rgant-XmlRootElement[`@XmlRootElement`].  It enables the ability to download the XML and
+XSD schema of those objects using two xref:ugbtb.adoc#_ugbtb_more-advanced_decoupling_mixins[mixins],
+`Dto_downloadXml` and `Dto_downloadXsd`.
+
+The interface is just a marker interface (with no members), and is defined as:
+
+[source,java]
+----
+public interface Dto { }
+----
+
+The `Dto_downloadXml` mixin defines the following action:
+
+[source,java]
+----
+@Mixin
+public class Dto_downloadXml {
+    public Dto_downloadXml(final Dto dto) { ... }     // <1>
+    public Object downloadXml(final String fileName) { ... }   // <2>
+    ...
+}
+----
+<1> provided as an action to any class that (trivially) implements the `Dto` interface
+<2> actually this is '$$' in the code, a "special case" that means to use the derive the action name from the class name.
+
+This will return the XML text wrapped up in a xref:rgcms.adoc#_rgcms_classes_value-types_manpage-Clob[`Clob`].
+
+The `Dto_downloadXsd` mixin is similar:
+
+[source,java]
+----
+@Mixin
+public class Dto_downloadXsd {
+    public Dto_downloadXsd(final Dto dto) { ... }                                             // <1>
+    public Object downloadXsd(final String fileName, final IsisSchemes isisSchemas) { ... }   // <2>
+}
+----
+<1> provided as an action to any class that (trivially) implements the `Dto` interface
+<2> actually this is '$$' in the code, a "special case" that means to use the derive the action name from the class name.
+
+If the domain object's JAXB annotations reference only a single XSD schema then this will return that XML text as
+a xref:rgcms.adoc#_rgcms_classes_value-types_manpage-Clob[`Clob`] of that XSD.  If there are multiple XSD schemas referenced
+then the action will return a zip of those schemas, wrapped up in a
+xref:rgcms.adoc#_rgcms_classes_value-types_manpage-Blob[`Blob`].  The `IsisSchemas` parameter to the action can be used to
+optionally ignore the common xref:rgcms.adoc#_rgcms_schema[Apache Isis schemas] (useful if there is only one other XSD schema
+referenced by the DTO).
+
+
+
+== Related Services
+
+The `Dto_downloadXml` and `Dto_downloadXsd` delegate to the
+xref:rgsvc.adoc#_rgsvc-api_JaxbService[`JaxbService`] to actually generate the XML/XSD.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-HoldsUpdatedAt.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-HoldsUpdatedAt.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-HoldsUpdatedAt.adoc
new file mode 100644
index 0000000..d286c5d
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-HoldsUpdatedAt.adoc
@@ -0,0 +1,44 @@
+[[_rgcms_classes_roles_manpage-HoldsUpdatedAt]]
+= `HoldsUpdatedAt`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+The `HoldsUpdatedAt` role interface allows the (framework-provided) `TimestampService` to update each object with
+the current timestamp whenever it is modified in a transaction.
+
+The interface is defined as:
+
+[source,java]
+----
+public interface HoldsUpdatedAt {
+    void setUpdatedAt(java.sql.Timestamp updatedAt);
+}
+----
+
+The current time is obtained from the xref:rgsvc.adoc#_rgsvc-api_ClockService[`ClockService`].
+
+Entities that implement this interface often also implement xref:rgcms.adoc#_rgcms_classes_roles_manpage-HoldsUpdatedBy[`HoldsUpdatedBy`] role interface; as a convenience the xref:rgcms.adoc#_rgcms_classes_roles_manpage-Timestampable[`Timestampable`] interface combines the two roles.
+
+
+
+== Alternative approaches
+
+An alternative way to maintain a timestamp is to use JDO's `@Version` annotation.  With this approach, it is the JDO/DataNucleus that maintains the version, rather than the framework's `TimestampService`.
+
+For example:
+
+[source,java]
+----
+@javax.jdo.annotations.Version(
+        strategy=VersionStrategy.DATE_TIME,
+        column="version")
+public class Customer {
+    ...
+    public java.sql.Timestamp getVersionSequence() {
+        return (java.sql.Timestamp) JDOHelper.getVersion(this);
+    }
+}
+----
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-HoldsUpdatedBy.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-HoldsUpdatedBy.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-HoldsUpdatedBy.adoc
new file mode 100644
index 0000000..9552043
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-HoldsUpdatedBy.adoc
@@ -0,0 +1,19 @@
+[[_rgcms_classes_roles_manpage-HoldsUpdatedBy]]
+= `HoldsUpdatedBy`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+The `HoldsUpdatedBy` role interface ...
+
+[source,java]
+----
+public interface HoldsUpdatedBy {
+    void setUpdatedBy(String updatedBy);
+}
+----
+
+Entities that implement this interface often also implement xref:rgcms.adoc#_rgcms_classes_roles_manpage-HoldsUpdatedAt[`HoldsUpdatedAt`] role interface; as a convenience the xref:rgcms.adoc#_rgcms_classes_roles_manpage-Timestampable[`Timestampable`] interface combines the two roles.
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Persistable.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Persistable.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Persistable.adoc
new file mode 100644
index 0000000..757cade
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Persistable.adoc
@@ -0,0 +1,34 @@
+[[_rgcms_classes_mixins_Persistable]]
+= `Persistable` (`1.11.0-SNAPSHOT`)
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+All domain entities automatically implement the DataNucleus `Persistable` role interface as a result of the enhancer
+process (the fully qualified class name is `org.datanucleus.enhancement.Persistable`).  So as a developer you do not
+need to write any code for this role interface.
+
+Nevertheless, the `Persistable_downloadJdoMetadata` mixin (`1.11.0-SNAPSHOT`) provides the ability to download the
+JDO link:http://www.datanucleus.org/products/datanucleus/jdo/metadata_xml.html[class metadata in XML] form.  The mixin
+defines the following action:
+
+[source,java]
+----
+@Mixin
+public class Persistable_downloadJdoMetadata {
+    public Persistable_downloadJdoMetadata(final Persistable persistable) { ... }   // <1>
+    public Object downloadJdoMetadata(final String fileName) { ... }                // <2>
+    ...
+}
+----
+<1> provided as an action to any domain entity
+<2> actually this is '$$' in the code, a "special case" that means to use the derive the action name from the class name.
+
+This will return the XML text wrapped up in a xref:rgcms.adoc#_rgcms_classes_value-types_manpage-Clob[`Clob`].
+
+
+== Related Services
+
+The mixin delegates to the xref:rgsvc.adoc#_rgsvc-api_IsisJdoSupport[`IsisJdoSupport`] service to obtain
+a reference to the JDO `PersistenceManagerFactory`.

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Timestampable.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Timestampable.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Timestampable.adoc
new file mode 100644
index 0000000..a69d213
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_roles_manpage-Timestampable.adoc
@@ -0,0 +1,23 @@
+[[_rgcms_classes_roles_manpage-Timestampable]]
+= `Timestampable`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+The `Timestampable` role interface is a convenience that combines the xref:rgcms.adoc#_rgcms_classes_roles_manpage-HoldsUpdatedAt[`HoldsUpdatedAt`] and xref:rgcms.adoc#_rgcms_classes_roles_manpage-HoldsUpdatedBy[`HoldsUpdatedBy`] interfaces.  It is defined as:
+
+[source,java]
+----
+public interface Timestampable
+    extends HoldsUpdatedAt, HoldsUpdatedBy {
+}
+----
+
+The interface no additional methods of its own.
+
+
+
+== Alternatives
+
+An alternative way to maintain a timestamp is to use JDO's `@Version` annotation.  With this approach, it is the JDO/DataNucleus that maintains the version, rather than the framework's `TimestampService`.  See xref:rgcms.adoc#_rgcms_classes_roles_manpage-HoldsUpdatedBy[`HoldsUpdatedBy`] for further details.

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_spec.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_spec.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_spec.adoc
new file mode 100644
index 0000000..01b5745
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_spec.adoc
@@ -0,0 +1,108 @@
+[[_rgcms_classes_spec]]
+= Specification pattern
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+The interfaces and classes listed in this chapter provide support for the  `Specification` pattern, as described in Eric Evans' book _Domain Driven Design_, p224.
+
+Apache Isis will automatically apply such specifications as validation rules on properties (as per xref:rgant.adoc#_rgant-Property_mustSatisfy[`@Property#mustSatisfy()`]) and on action parameters (as per xref:rgant.adoc#_rgant-Parameter_mustSatisfy[`@Parameter#mustSatisfy()`]).
+
+
+
+[_rgcms_classes_spec-Specification]
+== `Specification`
+
+The heart of the support for this pattern is the `Specification` interface:
+
+[source,java]
+----
+public interface Specification {
+    public String satisfies(Object obj);  // <1>
+}
+----
+<1> if returns `null`, then the constraint is satisfies; otherwise returns the reason why the constraint has not been satisfied.
+
+
+For example:
+
+[source,java]
+----
+public class StartWithCapitalLetterSpecification implements Specification {
+    public String satisfies(Object proposedObj) {
+        String proposed = (String)proposedObj;               // <1>
+        return "".equals(proposed)
+            ? "Empty string"
+            : !Character.isUpperCase(proposed.charAt(0))
+                ? "Does not start with a capital letter"
+                : null;
+    }
+}
+public class Customer {
+    @Property(mustSatisfy=StartWithCapitalLetterSpecification.class)
+    public String getFirstName() { ... }
+    ...
+}
+----
+<1> this ugly cast can be avoided using some of the other classes available; see below.
+
+
+
+[_rgcms_classes_spec-Specification2]
+== `Specification2`
+
+The `Specification2` interface extends the `Specification` API to add support for i18n.  This is done by defining an additional method that returns a xref:rgcms.adoc#_rgcms_classes_i18n_manpage-TranslatableString[translatable string]:
+
+[source,java]
+----
+public interface Specification2 extends Specification {
+    public TranslatableString satisfiesTranslatable(Object obj);  // <1>
+}
+----
+<1> if returns `null`, then the constraint is satisfies; otherwise returns the reason why the constraint has not been satisfied.
+
+
+Note that if implementing `Specification2` then there is no need to also provide an implementation of the inherited `satisfies(Object)` method; this will never be called by the framework for `Specification2` instances.
+
+
+
+
+[_rgcms_classes_spec-adapter_classes]
+== Adapter classes
+
+The `AbstractSpecification` and `AbstractSpecification2` adapter classes provide a partial implementation of the respective interfaces, providing type-safety.  (Their design is modelled on the `TypesafeMatcher` class within link:http://hamcrest.org/JavaHamcrest/[Hamcrest]).
+
+For example:
+
+[source,java]
+----
+public class StartWithCapitalLetterSpecification extends AbstractSpecification<String> {
+    public String satisfiesSafely(String proposed) {
+        return "".equals(proposed)
+            ? "Empty string"
+            : !Character.isUpperCase(proposed.charAt(0))
+                ? "Does not start with a capital letter"
+                : null;
+    }
+}
+public class Customer {
+    @Property(mustSatisfy=StartWithCapitalLetterSpecification.class)
+    public String getFirstName() { ... }
+    ...
+}
+----
+
+The `AbstractSpecification2` class is almost identical; its type-safe method is `satisfiesTranslatableSafely(T)` instead.
+
+
+[_rgcms_classes_spec-combining_specifications]
+== Combining specifications
+
+There are also adapter classes that can be inherited from to combine specifications:
+
+* `SpecificationAnd` - all provided specifications' constraints must be met
+* `SpecificationOr` - at least one provided specifications' constraints must be met
+* `SpecificationNot` - its constraints are met if-and-only-if the provided specification's constraint was _not_ met.
+
+Note that these adapter classes inherit `Specification` but do not inherit `Specification2`; in other words they do not support i18n.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super.adoc
new file mode 100644
index 0000000..71ea4a4
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super.adoc
@@ -0,0 +1,105 @@
+[[_rgcms_classes_super]]
+= Superclasses
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This section catalogues the various convenience (non event) superclasses defined by Apache Isis.  These are listed in the table below.
+
+
+.Convenience Superclasses
+[cols="2,4a,1,1", options="header"]
+|===
+
+|API
+|Maven Module +
+Impl'n (g: a:)
+|Implementation
+|Notes
+
+
+|xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractContainedObject[`o.a.i.applib.` +
+`AbstractContainedObject`]
+|``o.a.i.core`` +
+``isis-core-applib``
+|(abstract class)
+|
+
+
+|xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractDomainObject[`o.a.i.applib.` +
+`AbstractDomainObject`]
+|``o.a.i.core`` +
+``isis-core-applib``
+|(abstract class)
+|
+
+
+|xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractFactoryAndRepository[`o.a.i.applib.` +
+`AbstractFactoryAndRepository`]
+|``o.a.i.core`` +
+``isis-core-applib``
+|(abstract class)
+|
+
+
+|xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractService[`o.a.i.applib.` +
+`AbstractService`]
+|``o.a.i.core`` +
+``isis-core-applib``
+|(abstract class)
+|
+
+
+|xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractSubscriber[`o.a.i.applib.` +
+`AbstractSubscriber`]
+|``o.a.i.core`` +
+``isis-core-applib``
+|(abstract class)
+|
+
+
+|xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractViewModel[`o.a.i.applib.` +
+`AbstractViewModel`]
+|``o.a.i.core`` +
+``isis-core-applib``
+|(abstract class)
+|
+
+
+|xref:rgcms.adoc#_rgcms_classes_super_manpage-FixtureScript[`o.a.i.applib.` +
+`fixturescript` +
+`FixtureScript`]
+|``o.a.i.core`` +
+``isis-core-applib``
+|(abstract class)
+|
+
+
+|xref:rgcms.adoc#_rgcms_classes_super_manpage-FixtureScripts[`o.a.i.applib.` +
+`fixturescripts` +
+`FixtureScripts`]
+|``o.a.i.core`` +
+``isis-core-applib``
+|(abstract class). +
+`FixtureScriptsDefault` is a default implementation that is used when the alternative xref:rgsvc.adoc#_rgsvc-api_FixtureScriptsSpecificationProvider[`FixtureScriptsSpecificationProvider`] is provided
+  (and no other implementation of `FixtureScripts` was found).
+|depends on: +
+`ClassDiscoveryService`
+
+
+|===
+
+
+
+
+include::_rgcms_classes_super_manpage-AbstractContainedObject.adoc[leveloffset=+1]
+include::_rgcms_classes_super_manpage-AbstractDomainObject.adoc[leveloffset=+1]
+include::_rgcms_classes_super_manpage-AbstractFactoryAndRepository.adoc[leveloffset=+1]
+include::_rgcms_classes_super_manpage-AbstractService.adoc[leveloffset=+1]
+include::_rgcms_classes_super_manpage-AbstractSubscriber.adoc[leveloffset=+1]
+include::_rgcms_classes_super_manpage-AbstractViewModel.adoc[leveloffset=+1]
+include::_rgcms_classes_super_manpage-FixtureScript.adoc[leveloffset=+1]
+include::_rgcms_classes_super_manpage-FixtureScripts.adoc[leveloffset=+1]
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractContainedObject.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractContainedObject.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractContainedObject.adoc
new file mode 100644
index 0000000..df8aaf9
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractContainedObject.adoc
@@ -0,0 +1,32 @@
+[[_rgcms_classes_super_manpage-AbstractContainedObject]]
+= `AbstractContainedObject`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This class is a convenience superclass for domain objects and services, providing general purpose methods for interacting with the framework.  These include:
+
+* `allMatches(Query)` - search for all objects matching the specified `Query`. +
++
++ Note that this, and other similar methods (eg `firstMatch(...)`, `uniqueMatch(...)`) will automatically flush the
+current transactoin.
+
+* `newTransientInstance(Class)` - to create a new instance of an object, with any services injected into it
+
+* `persistIfNotAlready(Object)` - to persist an object +
++
+In fact, the object is queued up to be persisted, and is only actually persisted either when the transaction commits, or
+when the transaction is flushed (typically when a query is performed).
+
+* `warnUser(String)` - generate a warning to the user
+
+* `getContainer()` - which returns the `DomainObjectContainer`
+
+Each of these methods simply delegates to an equivalent method in xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer[`DomainObjectContainer`].
+
+[TIP]
+====
+In practice we find that there's little to gain from subclassing; it's easier/less obscure to simply inject xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer[`DomainObjectContainer`] into a simple pojo class.
+====
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractDomainObject.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractDomainObject.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractDomainObject.adoc
new file mode 100644
index 0000000..064b3ed
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractDomainObject.adoc
@@ -0,0 +1,14 @@
+[[_rgcms_classes_super_manpage-AbstractDomainObject]]
+= `AbstractDomainObject`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This class extends xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractContainedObject[`AbstractContainedObject`], adding
+in convenience methods for managing the persistence lifecycle of the object instance.
+
+Each of these methods, eg `isPersistent(...)`, delegates to an equivalent method in
+xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer[`DomainObjectContainer`].
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractFactoryAndRepository.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractFactoryAndRepository.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractFactoryAndRepository.adoc
new file mode 100644
index 0000000..3403756
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractFactoryAndRepository.adoc
@@ -0,0 +1,15 @@
+[[_rgcms_classes_super_manpage-AbstractFactoryAndRepository]]
+= `AbstractFactoryAndRepository`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This class extends xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractContainedObject[`AbstractContainedObject`].  Its
+intent was to be a convenience subclass for services acting as either a repository or a factory, however note that
+ all of the methods that it defines are now deprecated.
+
+Instead, indicate that a service is repository using the xref:rgant.adoc#_rgant-DomainService_repositoryFor[`@DomainService#repositoryFor()`] attribute.
+
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractService.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractService.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractService.adoc
new file mode 100644
index 0000000..fa9207a
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractService.adoc
@@ -0,0 +1,10 @@
+[[_rgcms_classes_super_manpage-AbstractService]]
+= `AbstractService`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+This class extends xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractContainedObject[`AbstractContainedObject`], adding
+in an implementation of `getId()` based upon the classes name.
+
+In practice there is little to gain from subclassing; simply inject xref:rgsvc.adoc#_rgsvc-api_DomainObjectContainer[`DomainObjectContainer`] for broadly equivalent functionality.

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractSubscriber.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractSubscriber.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractSubscriber.adoc
new file mode 100644
index 0000000..4a715e4
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractSubscriber.adoc
@@ -0,0 +1,18 @@
+[[_rgcms_classes_super_manpage-AbstractSubscriber]]
+= `AbstractSubscriber`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This is a convenience superclass for creating subscriber domain services on the xref:rgsvc.adoc#_rgsvc-api_EventBusService[`EventBusService`].  It uses xref:rgant.adoc#_rgant-PostConstruct[`@PostConstruct`] and
+xref:rgant.adoc#_rgant-PreDestroy[`@PreDestroy`] callbacks to automatically register/unregister itself
+with the `EventBusService`.
+
+It's important that subscribers register before any domain services that might emit events on the
+xref:rgsvc.adoc#_rgsvc-api_EventBusService[`EventBusService`].  For example, the (non-ASF) http://github.com/isisaddons/isis-module-security[Isis addons' security] module provides a domain service that automatically
+seeds certain domain entities; these will generate xref:rgcms.adoc#_rgcms_classes_lifecycleevent[lifecycle events] and so
+any subscribers must be registered before such seed services.  The easiest way to do this is to use the
+xref:rgant.adoc#_rgant-DomainServiceLayout_menuOrder[`@DomainServiceLayout#menuOrder()`] attribute.
+
+As a convenience, (as of `1.11.0-SNAPSHOT`) the `AbstractSubscriber` specifies this attribute.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractViewModel.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractViewModel.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractViewModel.adoc
new file mode 100644
index 0000000..b77460d
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-AbstractViewModel.adoc
@@ -0,0 +1,15 @@
+[[_rgcms_classes_super_manpage-AbstractViewModel]]
+= `AbstractViewModel`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This class extends xref:rgcms.adoc#_rgcms_classes_super_manpage-AbstractContainedObject[`AbstractContainedObject`], also
+implementing the xref:rgcms.adoc#_rgcms_classes_super_manpage-ViewModel[`ViewModel`] interface.  In and of itself it provides no new behaviour.
+
+[TIP]
+====
+As an alternative, consider simply annotating the view model class with {@link org.apache.isis.applib.annotation.ViewModel}.
+====
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-FixtureScript.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-FixtureScript.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-FixtureScript.adoc
new file mode 100644
index 0000000..d4cf98a
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-FixtureScript.adoc
@@ -0,0 +1,21 @@
+[[_rgcms_classes_super_manpage-FixtureScript]]
+= `FixtureScript`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+The `FixtureScript` class is an abstract class defining an API to set up data within the object store, either for integration tests or while demoing/prototyping.
+
+The primary method that subclasses must implement is:
+
+[source,java]
+----
+protected abstract void execute(final ExecutionContext executionContext);
+----
+
+In this method the fixture script can in theory do anything, but in practice it is recommended that it uses injected
+domain services to set up data.  The provided `ExecutionContext` is used to invoke child fixture scripts, and alsocan be used to store references to any created objects (so that the calling test can access these objects/so that they are rendered in the view model).
+
+See the see the xref:ugtst.adoc#_ugtst_fixture-scripts[user guide's testing chapter] for further discussion on the use of fixture scripts, in particular xref:ugtst.adoc#_ugtst_fixture-scripts_api-and-usage[fixture scripts' API and usage].
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-FixtureScripts.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-FixtureScripts.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-FixtureScripts.adoc
new file mode 100644
index 0000000..a562aea
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_super_manpage-FixtureScripts.adoc
@@ -0,0 +1,12 @@
+[[_rgcms_classes_super_manpage-FixtureScripts]]
+= `FixtureScripts`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+This abstract class is intended to allow a domain service that can execute xref:rgcms.adoc#_rgcms_classes_super_manpage-FixtureScript[`FixtureScript`]s to be easily written.
+
+However, it has now been deprecated; instead we recommend that the xref:rgsvc.adoc#_rgsvc-spi_FixtureScriptsSpecificationProvider[`FixtureScriptsSpecificationProvider`] service is
+implemented instead.  The framework will then automatically use xref:rgsvc.adoc#_rgsvc-api_FixtureScriptsDefault[`FixtureScriptsDefault`] as a fallback implementation of this class.
+
+See the see the xref:ugtst.adoc#_ugtst_fixture-scripts[user guide's testing chapter] for further discussion on the use of fixture scripts, in particular xref:ugtst.adoc#_ugtst_fixture-scripts_api-and-usage[fixture scripts' API and usage].

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent.adoc
new file mode 100644
index 0000000..91ade0f
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent.adoc
@@ -0,0 +1,62 @@
+[[_rgcms_classes_uievent]]
+= UI Event Classes (`1.11.0-SNAPSHOT`)
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This section catalogues the various UI event classes defined by Apache Isis.
+
+These events are broadcast on the xref:rgsvc.adoc#_rgsvc-api_EventBusService[`EventBusService`].  The domain
+events are broadcast as a result of being specified in the xref:rgant.adoc#_rgant-DomainObjectLayout_titleUiEvent[`@DomainObjectLayout#titleUiEvent()`],  xref:rgant.adoc#_rgant-DomainObjectLayout_iconUiEvent[`@DomainObjectLayout#iconUiEvent()`] or xref:rgant.adoc#_rgant-DomainObjectLayout_cssClassUiEvent[`@DomainObjectLayout#cssClassUiEvent()`] attributes.
+
+They are listed in the table below.
+
+.UI Event Classes
+[cols="2,4a,1,1", options="header"]
+|===
+
+|API
+|Maven Module +
+Impl'n (g: a:)
+|Implementation
+|Notes
+
+
+|xref:rgcms.adoc#_rgcms_classes_uievent_manpage-TitleUiEvent[`o.a.i.applib.` +
+`TitleUiEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`TitleUiEvent.Default` is the concrete implementation used if no `@DomainObjectLayout#titleUiEvent` attribute is specified
+|Broadcast whenever there is a requirement to obtain a title for a domain object.  Note that if the domain object defines its own xref:rgcms.adoc#_rgcms_methods_reserved_manpage-title[`title()`] supporting method, or has xref:rgant.adoc#_rgant-Title[`@Title`] annotation(s) on its properties, then these will take precedence.
+
+|xref:rgcms.adoc#_rgcms_classes_uievent_manpage-IconUiEvent[`o.a.i.applib.` +
+`IconUiEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`IconUiEvent.Default` is the concrete implementation used if no `@DomainObjectLayout#iconUiEvent` attribute is specified
+|Broadcast whenever there is a requirement to obtain an icon (or rather, the name of an icon) for a domain object.  Note that if the domain object defines its own xref:rgcms.adoc#_rgcms_methods_reserved_manpage-iconName[`iconName()`] supporting method, or if it has the xref:rgant.adoc#_rgant-DomainObjectLayout#cssClassFa[`@DomainObjectLayout#cssClassFa()`] attribute, then these will take precedence.
+
+|xref:rgcms.adoc#_rgcms_classes_uievent_manpage-CssClassUiEvent[`o.a.i.applib.` +
+`CssClassUiEvent`]
+|``o.a.i.core`` +
+``services.eventbus`` +
+``isis-core-applib``
+|(abstract class). +
+`CssClassUiEvent.Default` is the concrete implementation used if no `@DomainObjectLayout#cssClassUiEvent` attribute is specified
+|Broadcast whenever there is a requirement to obtain a CSS class hint for a domain object.  Note that if the domain object defines its own xref:rgcms.adoc#_rgcms_methods_reserved_manpage-cssClass[`cssClass()`] supporting method then this
+will take precedence.
+
+|===
+
+
+
+
+include::_rgcms_classes_uievent_manpage-TitleUiEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_uievent_manpage-IconUiEvent.adoc[leveloffset=+1]
+include::_rgcms_classes_uievent_manpage-CssClassUiEvent.adoc[leveloffset=+1]
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-CssClassUiEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-CssClassUiEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-CssClassUiEvent.adoc
new file mode 100644
index 0000000..30b8f5b
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-CssClassUiEvent.adoc
@@ -0,0 +1,22 @@
+[[_rgcms_classes_uievent_manpage-CssClassUiEvent]]
+= `CssClassUiEvent`  (`1.11.0-SNAPSHOT`)
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This event class represents a request to obtain the a CSS class hint of a domain object.  The class has a number of
+responsibilities:
+
+* capture the target object being interacted with
+
+* capture the CSS class, if any, as specified to one of the subscribers
+
+The class itself is instantiated automatically by the framework whenever interacting with a rendered object's action.
+
+
+[NOTE]
+====
+if the domain object defines its own xref:rgcms.adoc#_rgcms_methods_reserved_manpage-cssClass[`cssClass()`] supporting
+method then this will take precedence.
+====

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-IconUiEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-IconUiEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-IconUiEvent.adoc
new file mode 100644
index 0000000..20fdbbc
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-IconUiEvent.adoc
@@ -0,0 +1,23 @@
+[[_rgcms_classes_uievent_manpage-IconUiEvent]]
+= `TitleUiEvent` (`1.11.0-SNAPSHOT`)
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This event class represents a request to obtain the icon (or rather, name of icon) of a domain object.  The class has a number of responsibilities:
+
+* capture the target object being interacted with
+
+* capture the icon (name), if any, as specified to one of the subscribers
+
+The class itself is instantiated automatically by the framework whenever interacting with a rendered object's action.
+
+
+[NOTE]
+====
+If the domain object defines its own xref:rgcms.adoc#_rgcms_methods_reserved_manpage-iconName[`iconName()`] supporting method,
+or if it has the
+xref:rgant.adoc#_rgant-DomainObjectLayout#cssClassFa[`@DomainObjectLayout#cssClassFa()`] attribute, then
+these will take precedence.
+====

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-TitleUiEvent.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-TitleUiEvent.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-TitleUiEvent.adoc
new file mode 100644
index 0000000..8b76b05
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_uievent_manpage-TitleUiEvent.adoc
@@ -0,0 +1,22 @@
+[[_rgcms_classes_uievent_manpage-TitleUiEvent]]
+= `TitleUiEvent`  (`1.11.0-SNAPSHOT`)
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+This event class represents a request to obtain the title of a domain object.  The class has a number of responsibilities:
+
+* capture the target object being interacted with
+
+* capture the title, if any, as specified to one of the subscribers
+
+The class itself is instantiated automatically by the framework whenever interacting with a rendered object's action.
+
+
+[NOTE]
+====
+If the domain object defines its own xref:rgcms.adoc#_rgcms_methods_reserved_manpage-title[`title()`] supporting method, or
+has xref:rgant.adoc#_rgant-Title[`@Title`] annotation(s) on its properties, then these will take
+precedence.
+====

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_utility.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_utility.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_utility.adoc
new file mode 100644
index 0000000..fd35ffc
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_utility.adoc
@@ -0,0 +1,16 @@
+[[_rgcms_classes_utility]]
+= Applib Utility Classes
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+The `org.apache.isis.applib.util` package has a number of simple utility
+classes designed to simplify the coding of some common tasks.
+
+
+include::_rgcms_classes_utility_manpage-Enums.adoc[leveloffset=+1]
+include::_rgcms_classes_utility_manpage-ObjectContracts.adoc[leveloffset=+1]
+include::_rgcms_classes_utility_manpage-Reasons.adoc[leveloffset=+1]
+include::_rgcms_classes_utility_manpage-TitleBuffer.adoc[leveloffset=+1]
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/d0539e43/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_utility_manpage-Enums.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_utility_manpage-Enums.adoc b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_utility_manpage-Enums.adoc
new file mode 100644
index 0000000..064b423
--- /dev/null
+++ b/adocs/documentation/src/main/asciidoc/guides/_rgcms_classes_utility_manpage-Enums.adoc
@@ -0,0 +1,8 @@
+[[_rgcms_classes_utility_manpage-Enums]]
+= `Enums`
+:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+:_basedir: ../
+:_imagesdir: images/
+
+
+NOTE: TODO