Applib
Default configuration for applib annotations.
Property | Default | Description |
---|---|---|
causeway.applib.annotation. |
[all.:fa-solid fa-list, list. |
null |
causeway.applib.annotation. |
[add.:btn-info, remove. |
null |
causeway.applib.annotation.action. |
NONE |
null |
causeway.applib.annotation.action. |
true |
null |
causeway.applib.annotation.action. |
NONE |
null |
causeway.applib.annotation. |
TABLE |
null |
causeway.applib.annotation. |
12 |
null |
causeway.applib.annotation. |
AS_PER_SEQUENCE |
null |
causeway.applib.annotation. |
org.apache.causeway.applib. |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
null |
|
causeway.applib.annotation. |
null |
|
causeway.applib.annotation. |
null |
|
causeway.applib.annotation. |
25 |
null |
causeway.applib.annotation. |
org.apache.causeway.applib. |
null |
causeway.applib.annotation. |
null |
|
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
FALSE |
null |
causeway.applib.annotation. |
NONE |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
RESET |
null |
causeway.applib.annotation. |
AS_PER_SEQUENCE |
null |
causeway.applib.annotation. |
NONE |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
NONE |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
true |
null |
causeway.applib.annotation. |
null |
|
causeway.applib.service. |
COUNTERS_ONLY |
null |
causeway.applib.annotation. |
NOT_SPECIFIED |
null |
causeway.applib.annotation. |
NOT_SPECIFIED |
null |
Events
Note:
-
In order for the lifecycle events to fire (
persisting
,loaded
etc) the class must be annotated using@DomainObject
(even if no attributes on that annotation are set). -
Similarly, for UI events to fire (
title
,icon
etc) the class must be annotated using@DomainObjectLayout
(even if no attributes on that annotation are set). -
Similarly, for domain events to fire (
title
,icon
etc) the action/property/collection must be annotated using the appropriate@XxxLayout
(even if no attributes on that annotation are set).
Non-editable Objects
The causeway.applib.annotation.domain-object.editing
configuration property determines whether properties can be edited or not.
By default it is disabled:
causeway.applib.annotation.domain-object.editing=false
We recommend leaving this at its default, and only selectively enabling property editing where there are likely to be no business rules, such as "notes" or "comments" properties. Doing so will help drive out the underlying business operations (processes and procedures) that require objects to change; these can then be captured as actions.