|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.beanfabrics.AbstractBean
org.beanfabrics.ValidatableBean
org.beanfabrics.model.AbstractPM
org.beanfabrics.model.AbstractOperationPM
org.beanfabrics.model.OperationPM
public class OperationPM
The Operation is a presentation model that maintains a list of
ExecutionMethods that will be executed whenever the
execute() method is invoked.
| Nested Class Summary | |
|---|---|
class |
OperationPM.DefaultValidationRule
|
| Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractPM |
|---|
AbstractPM.PropertiesValidationRule |
| Field Summary | |
|---|---|
protected static java.lang.String |
KEY_MESSAGE_NO_EXECUTION_METHODS
|
| Constructor Summary | |
|---|---|
OperationPM()
|
|
| Method Summary | |
|---|---|
void |
addExecutionMethod(ExecutionMethod exe)
|
boolean |
containsExecutionMethod(ExecutionMethod exe)
|
void |
execute()
|
java.util.Collection<ExecutionMethod> |
getExecutionMethods()
|
boolean |
hasExecutionMethods()
|
void |
removeExecutionMethod(ExecutionMethod exe)
|
void |
setExecutionMethods(java.util.Collection<ExecutionMethod> newExecutionMethods)
|
| Methods inherited from class org.beanfabrics.model.AbstractOperationPM |
|---|
check, getDescription, getIcon, getTitle, isEnabled, setDescription, setIcon, setIconUrl, setTitle |
| Methods inherited from class org.beanfabrics.model.AbstractPM |
|---|
createPropertiesValidationRule, getContext, getSupportMap, revalidateProperties |
| Methods inherited from class org.beanfabrics.ValidatableBean |
|---|
getValidationState, getValidator, isValid, revalidate, setValidationState |
| Methods inherited from class org.beanfabrics.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, equals, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.beanfabrics.model.IOperationPM |
|---|
getValidator |
| Methods inherited from interface org.beanfabrics.Bean |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface org.beanfabrics.validation.Validatable |
|---|
getValidationState, isValid, revalidate |
| Methods inherited from interface org.beanfabrics.support.Supportable |
|---|
getSupportMap |
| Methods inherited from interface org.beanfabrics.context.ContextOwner |
|---|
getContext |
| Field Detail |
|---|
protected static final java.lang.String KEY_MESSAGE_NO_EXECUTION_METHODS
| Constructor Detail |
|---|
public OperationPM()
| Method Detail |
|---|
public void execute()
throws java.lang.Throwable
execute in interface IOperationPMexecute in class AbstractOperationPMjava.lang.Throwablepublic java.util.Collection<ExecutionMethod> getExecutionMethods()
public void setExecutionMethods(java.util.Collection<ExecutionMethod> newExecutionMethods)
public void addExecutionMethod(ExecutionMethod exe)
public void removeExecutionMethod(ExecutionMethod exe)
public boolean containsExecutionMethod(ExecutionMethod exe)
public boolean hasExecutionMethods()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||