public abstract class CommandFacetAbstract extends MarkerFacetAbstract implements CommandFacet
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandFacetAbstract.Enablement |
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
CommandFacetAbstract(org.apache.isis.applib.annotation.Command.Persistence persistence,
org.apache.isis.applib.annotation.Command.ExecuteIn executeIn,
CommandFacetAbstract.Enablement enablement,
FacetHolder holder) |
| 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() |
static Class<? extends Facet> |
type() |
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic CommandFacetAbstract(org.apache.isis.applib.annotation.Command.Persistence persistence, org.apache.isis.applib.annotation.Command.ExecuteIn executeIn, CommandFacetAbstract.Enablement enablement, FacetHolder holder)
public org.apache.isis.applib.annotation.Command.Persistence persistence()
persistence in interface CommandFacetpublic org.apache.isis.applib.annotation.Command.ExecuteIn executeIn()
executeIn in interface CommandFacetpublic boolean isDisabled()
CommandFacetFacet 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()).
isDisabled in interface CommandFacetCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.