com.sysord.mad.configuration
Interface UICommandDefinition


public interface UICommandDefinition

Description of an UI command defined in a MAD configuration.

Author:
philippe.palau@sysord.com http://www.sysord.com
See Also:
CommandDefinition, WidgetConfiguration

Nested Class Summary
static class UICommandDefinition.UICOMMAND_TYPE
          Types of UICommandDefinitions.
 
Method Summary
 UICommandDefinition.UICOMMAND_TYPE getCommandType()
          Returns the type of this command.
 QueryDefinition<?> getFindTargetQuery()
          Returns a query that can retrieve the targeted element of this command.
 java.util.List<java.lang.String> getTargetsWidgetsIds()
          Returns the IDs of all the widgets concerned by this command.
 

Method Detail

getCommandType

UICommandDefinition.UICOMMAND_TYPE getCommandType()
Returns the type of this command.

Returns:
the type of this command.

getFindTargetQuery

QueryDefinition<?> getFindTargetQuery()
Returns a query that can retrieve the targeted element of this command.

Used for the DISPLAY_VIEW type of command.

Returns:
a query that can retrieve the targeted element of this command.

getTargetsWidgetsIds

java.util.List<java.lang.String> getTargetsWidgetsIds()
Returns the IDs of all the widgets concerned by this command.

Used for the RELOAD_WIDGETS type of commands.

Returns:
the IDs of all the widgets concerned by this command.