public interface CommandFacet extends Facet
Command object, if possible.
In the standard Apache Isis Programming Model, corresponds to annotating the action method using @Command.
| Modifier and Type | Method and Description |
|---|---|
org.apache.isis.applib.annotation.Command.ExecuteIn |
executeIn() |
boolean |
isDisabled()
Indicates that the action to which this
Facet is
attached should not be treated as an action. |
org.apache.isis.applib.annotation.Command.Persistence |
persistence() |
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetorg.apache.isis.applib.annotation.Command.Persistence persistence()
org.apache.isis.applib.annotation.Command.ExecuteIn executeIn()
boolean isDisabled()
Facet is
attached should not be treated as an action.
Exists to allow implementations that configure all actions to be treated as
commands, but which can then be disabled for selected actions (eg using
Command.disabled()).
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.