|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogicMethod
A business logic method.
| Method Summary | |
|---|---|
String |
execute(Object component,
LogicRequest context,
Object[] params)
Executes the logic by invoking the method |
ComponentType |
getComponentType()
|
Method |
getMetadata()
|
String |
getName()
Returns the logic's name |
List<MethodParameter> |
getParameters()
|
boolean |
shouldRedirect()
Should execute a redirect after business logic execution. |
ValidationErrors |
validate(Object component,
LogicRequest context,
ResourceBundle bundle,
Object[] methodParamObjects)
Validates this logic. |
| Method Detail |
|---|
String getName()
String execute(Object component,
LogicRequest context,
Object[] params)
throws LogicException
component - the component to invoke the method oncontext -
LogicException - something wrong happennedboolean shouldRedirect()
ValidationErrors validate(Object component,
LogicRequest context,
ResourceBundle bundle,
Object[] methodParamObjects)
throws UnstableValidationException
component - context - methodParamObjects - method parameters
UnstableValidationExceptionMethod getMetadata()
List<MethodParameter> getParameters()
ComponentType getComponentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||