LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.app.behavior
Class LyCommonServiceBehavior

java.lang.Object
  extended by leon.app.behavior.LyBehavior
      extended by leon.app.behavior.LyActionBehavior
          extended by leon.app.behavior.LyUserInputBehavior
              extended by leon.app.behavior.LyCommonServiceBehavior
All Implemented Interfaces:
LyActionBehaviorInterface, LyBehaviorInterface, LyUserInputBehaviorInterface, LyGetSessionInterface

public class LyCommonServiceBehavior
extends LyUserInputBehavior

The default implementation for common services


Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyCommonServiceBehavior()
           
 
Method Summary
 boolean handleDemand(LyController controller, LyDemand demand)
          Handle a demand form the user form If the form contains an 'AutoExec' field, the form is automatically closed and the service is invoked if the form is validated by user, service parameters are setted and the service is invoked.
 void userInputDemand(LyController controller, LyDemand demand)
          handle users demand in case of dynamic service this method allows to update form fields, deleting or creating them.
 
Methods inherited from class leon.app.behavior.LyUserInputBehavior
cancel, close, validate
 
Methods inherited from class leon.app.behavior.LyActionBehavior
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from class leon.app.behavior.LyBehavior
free, getSession, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface
free, init
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyCommonServiceBehavior

public LyCommonServiceBehavior()
Method Detail

handleDemand

public boolean handleDemand(LyController controller,
                            LyDemand demand)
Handle a demand form the user form If the form contains an 'AutoExec' field, the form is automatically closed and the service is invoked if the form is validated by user, service parameters are setted and the service is invoked.

Specified by:
handleDemand in interface LyBehaviorInterface
Overrides:
handleDemand in class LyBehavior
Parameters:
controller - the controller
demand - the demand
Returns:
true if the demand was handled

userInputDemand

public void userInputDemand(LyController controller,
                            LyDemand demand)
handle users demand in case of dynamic service this method allows to update form fields, deleting or creating them.

Specified by:
userInputDemand in interface LyUserInputBehaviorInterface
Overrides:
userInputDemand in class LyUserInputBehavior
Parameters:
controller - the controller
demand - the demand

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com