You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/10/25 12:22:42 UTC
svn commit: r1634203 -
/isis/site/trunk/content/reference/recognized-annotations/about.md
Author: danhaywood
Date: Sat Oct 25 10:22:41 2014
New Revision: 1634203
URL: http://svn.apache.org/r1634203
Log:
more on recognized annotations
Modified:
isis/site/trunk/content/reference/recognized-annotations/about.md
Modified: isis/site/trunk/content/reference/recognized-annotations/about.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/reference/recognized-annotations/about.md?rev=1634203&r1=1634202&r2=1634203&view=diff
==============================================================================
--- isis/site/trunk/content/reference/recognized-annotations/about.md (original)
+++ isis/site/trunk/content/reference/recognized-annotations/about.md Sat Oct 25 10:22:41 2014
@@ -5,12 +5,14 @@ go back to: [documentation](../../docume
<table class="table table-bordered table-condensed table-hover">
<tr>
<th>Annotation</th>
+ <th>Layer</th>
<th>Purpose</th>
<th><a href="../../components/viewers/wicket/dynamic-layouts.html">.layout.json</a> ?</th>
<th>Deprecated?</th>
</tr>
<tr>
<td><a href="./ActionInteraction.html">@ActionInteraction</a></td>
+ <th>Domain</th>
<td>Enable subscribers to either veto, validate or take further steps before/after an action has been invoked.
</td>
<td></td>
@@ -18,13 +20,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./ActionOrder-deprecated.html">@ActionOrder</a></td>
- <td>UI hint for buttons, menu items
+ <th>UI</th>
+ <td>Order of buttons and menu items representing actions.
</td>
<td></td>
<td>Y</td>
</tr>
<tr>
<td><a href="./ActionSemantics.html">@ActionSemantics</a></td>
+ <th>Domain</th>
<td>Query-only, idempotent or non-idempotent.
</td>
<td></td>
@@ -32,6 +36,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Aggregated.html">@Aggregated</a></td>
+ <th>Domain, persistence</th>
<td>Part of an aggregate root (only partly supported)
</td>
<td></td>
@@ -39,6 +44,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Audited.html">@Audited</a></td>
+ <th>Domain</th>
<td>Audit changes to an object
</td>
<td></td>
@@ -46,6 +52,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./AutoComplete.html">@AutoComplete</a></td>
+ <th>UI</th>
<td>Repository method to search for entities
</td>
<td></td>
@@ -53,13 +60,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Bookmarkable.html">@Bookmarkable</a></td>
- <td>UI hint: whether (and how) to create a bookmark for visited object.
+ <th>UI</th>
+ <td>Whether (and how) to create a bookmark for visited object.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./Bounded.html">@Bounded</a></td>
+ <th>Domain</th>
<td>Bounded (and limited) number of instances of an entity type, translates into a drop-down for any property of
that type.
</td>
@@ -68,6 +77,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Bulk.html">@Bulk</a></td>
+ <th>UI, Domain</th>
<td>Indicates an action is a bulk action, can be applied to multiple instances.
</td>
<td></td>
@@ -75,6 +85,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./CollectionInteraction.html">@CollectionInteraction</a></td>
+ <th>Domain</th>
<td>Enable subscribers to either veto, validate or take further steps before/after a collection has been added to or
removed from.
</td>
@@ -83,6 +94,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Command.html">@Command</a></td>
+ <th>Domain</th>
<td>Action invocation should be reified as a command object, optionally persistable for profiling and enhanced
auditing, and background/async support.
</td>
@@ -91,20 +103,23 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./CssClass.html">@CssClass</a></td>
- <td>UI hint to allow individual objects or object members layout to be customized by application-specific CSS.
+ <th>UI</th>
+ <td>Allow visual representation of individual objects or object members layout to be customized by application-specific CSS.
</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td><a href="./CssClassFa.html">@CssClassFa</a></td>
- <td>UI hint to use font awesome icons for action buttons/menu items and optionally as an object icon.
+ <th>UI</th>
+ <td>So that font awesome icons can be applied to action buttons/menu items and optionally as an object icon.
</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td><a href="./Debug-deprecated.html">@Debug</a></td>
+ <th>UI</th>
<td>Action only invocable in debug mode.
</td>
<td></td>
@@ -112,6 +127,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Defaulted.html">@Defaulted</a></td>
+ <th>Domain</th>
<td>Indicates that a (value) class has a default value.
</td>
<td></td>
@@ -119,18 +135,23 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./DescribedAs.html">@DescribedAs</a></td>
- <td>UI hint to provide a description of an object or object member.
+ <th>UI</th>
+ <td>Provide a longer description/tool-tip of an object or object member.
</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td><a href="./Digits.html">@javax.validation.constraints.Digits</a></td>
+ <th>Domain</th>
<td>Precision/scale for BigDecimal values.
</td>
+ <td></td>
+ <td></td>
<tr>
<td><a href="./Disabled.html">@Disabled</a></td>
- <td>UI hint that object property cannot be edited, an object collection cannot be added to/removed from, or an
+ <th>UI/domain</th>
+ <td>Object property cannot be edited, an object collection cannot be added to/removed from, or an
object action cannot be invoked.
</td>
<td>Y</td>
@@ -138,6 +159,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Encodable.html">@Encodable</a></td>
+ <th>Persistence</th>
<td>Indicates that a (value) class can be serialized/encoded.
</td>
<td></td>
@@ -145,6 +167,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./EqualByContent.html">@EqualByContent</a></td>
+ <th>Domain</th>
<td>Indicates that a value class has equality semantics.
</td>
<td></td>
@@ -152,6 +175,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Exploration-deprecated.html">@Exploration</a></td>
+ <th>UI</th>
<td>Action available in special 'exploration' mode.
</td>
<td></td>
@@ -159,6 +183,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Facets.html">@Facets</a></td>
+ <th>(any)</th>
<td>Install arbitrary facets within the Isis metamodel.
</td>
<td></td>
@@ -166,20 +191,23 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./FieldOrder-deprecated.html">@FieldOrder</a></td>
- <td>UI hint for property/collection order
+ <th>UI</th>
+ <td>Order of properties and collections
</td>
<td></td>
<td>Y</td>
</tr>
<tr>
<td><a href="./Hidden.html">@Hidden</a></td>
- <td>UI hint that object member not visible.
+ <th>UI/domain</th>
+ <td>Object member is not visible.
</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td><a href="./HomePage.html">@HomePage</a></td>
+ <th>UI</th>
<td>Query-only action (on domain service) to be invoked, result of which is
rendered as the user's home page.
</td>
@@ -188,6 +216,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Idempotent-deprecated.html">@Idempotent</a></td>
+ <th>Domain</th>
<td>Replaced by @ActionSemantics.
</td>
<td></td>
@@ -195,6 +224,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Ignore-deprecated.html">@Ignore</a></td>
+ <th>Domain</th>
<td>Replaced by @Programmatic.
</td>
<td></td>
@@ -202,6 +232,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Immutable.html">@Immutable</a></td>
+ <th>Domain</th>
<td>An object's state cannot be changed (properties cannot be edited, collections cannot be added to or removed
from). Actions <i>can</i> still be invoked.
</td>
@@ -210,6 +241,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Inject.html">@javax.inject.Inject</a></td>
+ <th>Domain</th>
<td>Inject domain service into a domain object (entity or view model) or another domain service.
</td>
<td></td>
@@ -217,6 +249,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Mask.html">@Mask</a></td>
+ <th>UI/domain</th>
<td>How to parse/render values (not properly supported)
</td>
<td></td>
@@ -224,13 +257,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./LabelAt.html">@LabelAt</a></td>
- <td>UI hint for positioning of property or action parmaeter label either to top or the left.
+ <th>UI</th>
+ <td>Positioning of property or action parmaeter label either to top or the left.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./MaxLength.html">@MaxLength</a></td>
+ <th>Domain</th>
<td>Maximum length of a property value (strings).
</td>
<td></td>
@@ -238,13 +273,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./MemberGroupLayout.html">@MemberGroupLayout</a></td>
- <td>UI hint grouping of properties into groups, and organizing of properties, collections into columns.
+ <th>UI</th>
+ <td>Grouping of properties into groups, and organizing of properties, collections into columns.
</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td><a href="./MemberGroups.html">@MemberGroups</a></td>
+ <th>UI</th>
<td>Replaced by @MemberGroupLayout
</td>
<td>Y</td>
@@ -252,7 +289,8 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./MemberOrder.html">@MemberOrder</a></td>
- <td>UI hint ordering properties, collections and actions, and associating actions with either a property or a
+ <th>UI</th>
+ <td>Ordering of properties, collections and actions, and also associating actions with either a property or a
collection.
</td>
<td>Y</td>
@@ -260,6 +298,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./MinLength.html">@MinLength</a></td>
+ <th>UI</th>
<td>Minimum number of characters required for an auto-complete search argument.
</td>
<td></td>
@@ -267,13 +306,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./MultiLine.html">@MultiLine</a></td>
- <td>UI hint to render string property over multiple lines (a textarea rather than a textbox)
+ <th>UI</th>
+ <td>Render string property over multiple lines (a textarea rather than a textbox)
</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td><a href="./MustSatisfy.html">@MustSatisfy</a></td>
+ <th>Domain</th>
<td>Specify arbitrary specification constraints on a class member, action parameter or object.
</td>
<td></td>
@@ -281,14 +322,16 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Named.html">@Named</a></td>
- <td>UI hint to override name inferred from class. Required for parameter names (prior to Java8)
+ <th>UI</th>
+ <td>Override name inferred from class. Required for parameter names (prior to Java8)
</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td><a href="./NotContributed.html">@NotContributed</a></td>
- <td>UI hint indicating that a domain service action is not rendered as an action on the (entity) types of its
+ <th>UI</th>
+ <td>Indicates that a domain service action is not rendered as an action on the (entity) types of its
parameters. For 1-arg query-only actions, controls whether the domain service action is rendered as a property
or collection on the entity type of its parameter.
</td>
@@ -297,7 +340,8 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./NotInServiceMenu.html">@NotInServiceMenu</a></td>
- <td>UI hint indicating that a domain service should not be rendered in the application menu (at top of page in
+ <th>UI</th>
+ <td>Indicates that a domain service should not be rendered in the application menu (at top of page in
Wicket viewer).
</td>
<td></td>
@@ -305,6 +349,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./NotPersistable.html">@NotPersistable</a></td>
+ <th>Domain/persistence</th>
<td>Indicates that a domain object may not be programmatically persisted (partly supported).
</td>
<td></td>
@@ -312,6 +357,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./NotPersisted.html">@NotPersisted</a></td>
+ <th>Domain/persistence</th>
<td>Indicates that an object property is derived, is not persisted.
</td>
<td></td>
@@ -319,6 +365,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./ObjectType.html">@ObjectType</a></td>
+ <th>Domain</th>
<td>For constructing the external identifier (URI) of an entity instance (part of its URL in both Wicket viewer and
Restful Objects viewer).
</td>
@@ -327,6 +374,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Optional.html">@Optional</a></td>
+ <th>Domain</th>
<td>Specifies that a property or action parameter is not mandatory.
</td>
<td></td>
@@ -334,13 +382,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Paged.html">@Paged</a></td>
- <td>UI hint for (client-side) paging of collections (parented or standalone).
+ <th>UI</th>
+ <td>Number of instances to display in tables representing (parented or standalone) collections.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./Parseable.html">@Parseable</a></td>
+ <th>UI/domain</th>
<td>Indicates that a (value) class can be reconstructed from a string.
</td>
<td></td>
@@ -348,13 +398,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Plural.html">@Plural</a></td>
- <td>UI hint for the irregular plural form of an entity type.
+ <th>UI</th>
+ <td>For the irregular plural form of an entity type.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./PostsPropertyChangedEvent-deprecated.html">@PostsPropertyChangedEvent</a></td>
+ <th>Domain</th>
<td>Replaced by @PropertyInteraction
</td>
<td></td>
@@ -362,6 +414,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./PropertyInteraction.html">@PropertyInteraction</a></td>
+ <th>Domain</th>
<td>Enable subscribers to either veto, validate or take further steps before/after a property has been modified or
cleared.
</td>
@@ -370,6 +423,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Programmatic.html">@Programmatic</a></td>
+ <th>Domain</th>
<td>Ignore a public method, excluded from the Isis metamodel.
</td>
<td></td>
@@ -377,13 +431,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Prototype.html">@Prototype</a></td>
- <td>UI hint indicating that an action should only be visible in 'prototype' mode.
+ <th>UI</th>
+ <td>Indicates that an action should only be visible in 'prototype' mode.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./PublishedAction.html">@PublishedAction</a></td>
+ <th>Domain</th>
<td>Action invocation should be serialized and published by configured PublishingService (if any), eg to other
systems.
</td>
@@ -392,6 +448,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./PublishedObject.html">@PublishedObject</a></td>
+ <th>Domain</th>
<td>Change to object should be serialized and published by configured PublishingService (if any), eg to other
systems.
</td>
@@ -400,6 +457,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./QueryOnly-deprecated.html">@QueryOnly</a></td>
+ <th>Domain</th>
<td>Replaced by @ActionSemantics.
</td>
<td></td>
@@ -407,6 +465,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./RegEx.html">@RegEx</a></td>
+ <th>Domain</th>
<td>Validate change to value of string property.
</td>
<td></td>
@@ -414,20 +473,23 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Render.html">@Render</a></td>
- <td>UI hint to eagerly (or lazily) render the contents of a collection.
+ <th>UI</th>
+ <td>Eagerly (or lazily) render the contents of a collection.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./RenderedAsDayBefore.html">@RenderedAsDayBefore</a></td>
- <td>UI hint to render dates as the day before; ie store [a,b) internally but render [a,b-1]) to end-user.
+ <th>UI</th>
+ <td>Render dates as the day before; ie store [a,b) internally but render [a,b-1]) to end-user.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./RequestScoped.html">@javax.enterprise.context.RequestScoped</a></td>
+ <th>Domain</th>
<td>Specify that a domain service has request-scope (rather than a singleton).
</td>
<td></td>
@@ -435,6 +497,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./Resolve-deprecated.html">@Resolve</a></td>
+ <th>UI</th>
<td>Replaced by @Render.
</td>
<td></td>
@@ -442,20 +505,23 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./SortedBy.html">@SortedBy</a></td>
- <td>UI hint for collections, display in order determined by specified Comparator.
+ <th>UI</th>
+ <td>Display instances in collections in the order determined by the provided Comparator.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./Title.html">@Title</a></td>
- <td>UI hint indicating which of the object's properties should be used to build up a title for the object.
+ <th>UI</th>
+ <td>Indicates which of the object's properties should be used to build up a title for the object.
</td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="./TypeOf.html">@TypeOf</a></td>
+ <th>Domain</th>
<td>The type of entity stored within a collection (if cannot be otherwise inferred, eg from generics).
</td>
<td></td>
@@ -463,13 +529,15 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./TypicalLength.html">@TypicalLength</a></td>
- <td>UI hint for the typical length of a string property, eg to determine a sensible length for a textbox.
+ <th>UI</th>
+ <td>The typical length of a string property, eg to determine a sensible length for a textbox.
</td>
<td>Y</td>
<td></td>
</tr>
<tr>
<td><a href="./Value.html">@Value</a></td>
+ <th>Domain</th>
<td>Specify that a class has value-semantics.
</td>
<td></td>
@@ -477,6 +545,7 @@ go back to: [documentation](../../docume
</tr>
<tr>
<td><a href="./ViewModel.html">@ViewModel</a></td>
+ <th>Domain/persistence</th>
<td>Specify that a class is a view model (rather than a persisted entity).
</td>
<td></td>