This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 79a59b4  ISIS-2964: site: recreate index
79a59b4 is described below

commit 79a59b4d73e2dcc7c1db5e97ac69cfe0d7680f15
Author: Andi Huber <[email protected]>
AuthorDate: Fri Feb 25 12:40:35 2022 +0100

    ISIS-2964: site: recreate index
---
 .../pages/index/RecreatableDomainObject.adoc       | 44 ----------------------
 .../modules/applib/pages/index/ViewModel.adoc      |  2 +-
 .../applib/pages/index/annotation/Nature.adoc      |  3 ++
 3 files changed, 4 insertions(+), 45 deletions(-)

diff --git 
a/antora/components/refguide-index/modules/applib/pages/index/RecreatableDomainObject.adoc
 
b/antora/components/refguide-index/modules/applib/pages/index/RecreatableDomainObject.adoc
deleted file mode 100644
index 7fd2123..0000000
--- 
a/antora/components/refguide-index/modules/applib/pages/index/RecreatableDomainObject.adoc
+++ /dev/null
@@ -1,44 +0,0 @@
-= RecreatableDomainObject _(interface)_
-: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 ag [...]
-
-Indicates that the domain object can be recreated from a string.
-
-Objects that are view models (logically belonging to the UI/application layer) 
should instead implement xref:refguide:applib:index/ViewModel.adoc[ViewModel] .
-
-== API
-
-[source,java]
-.RecreatableDomainObject.java
-----
-interface RecreatableDomainObject {
-  String __isis_memento()     // <.>
-  void __isis_recreate(String memento)     // <.>
-}
-----
-
-<.> xref:#__isis_memento__[__isis_memento()]
-+
---
-Obtain a memento of the recreatable object.
---
-<.> xref:#__isis_recreate__String[__isis_recreate(String)]
-+
---
-Used to recreate a recreatable object with a memento obtained from 
_#__isis_recreate(String)_ .
---
-
-== Members
-
-[#__isis_memento__]
-=== __isis_memento()
-
-Obtain a memento of the recreatable object.
-
-Typically this will be the identifier of a backing domain entity, but it could 
also be an arbitrary string, for example a bunch of JSON.
-
-This method is called by the framework in order that the view model may be 
recreated subsequently through _#__isis_recreate(String)_ .
-
-[#__isis_recreate__String]
-=== __isis_recreate(String)
-
-Used to recreate a recreatable object with a memento obtained from 
_#__isis_recreate(String)_ .
diff --git 
a/antora/components/refguide-index/modules/applib/pages/index/ViewModel.adoc 
b/antora/components/refguide-index/modules/applib/pages/index/ViewModel.adoc
index f76c05b..76620e1 100644
--- a/antora/components/refguide-index/modules/applib/pages/index/ViewModel.adoc
+++ b/antora/components/refguide-index/modules/applib/pages/index/ViewModel.adoc
@@ -3,7 +3,7 @@
 
 Indicates that an object belongs to the UI/application layer, and is intended 
to be used as a view model.
 
-Objects that are part of the domain object layer should instead implement 
xref:refguide:applib:index/RecreatableDomainObject.adoc[RecreatableDomainObject]
 .
+Objects that are part of the domain object layer should instead implement 
_RecreatableDomainObject_ .
 
 == API
 
diff --git 
a/antora/components/refguide-index/modules/applib/pages/index/annotation/Nature.adoc
 
b/antora/components/refguide-index/modules/applib/pages/index/annotation/Nature.adoc
index fc34c23..70c0ed7 100644
--- 
a/antora/components/refguide-index/modules/applib/pages/index/annotation/Nature.adoc
+++ 
b/antora/components/refguide-index/modules/applib/pages/index/annotation/Nature.adoc
@@ -14,8 +14,11 @@ enum Nature {
   VIEW_MODEL     // <.>
   MIXIN     // <.>
   BEAN     // <.>
+  boolean isNotSpecified()
   boolean isEntity()
   boolean isMixin()
+  boolean isViewModel()
+  boolean isBean()
 }
 ----
 

Reply via email to