lumis.portal.presentation.perspective.admin
Class AddInterfaceBehavior

Package class diagram package AddInterfaceBehavior
java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by lumis.portal.presentation.perspective.admin.AddInterfaceBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor

public class AddInterfaceBehavior
extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

Behavior that provides the javascript for processing an add of an interface, during the edit of a page.

Since:
6.0.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
AddInterfaceBehavior()
           
 
Method Summary
protected  String getFunctionName()
          Returns the javascript function name that calls this behavior.
protected  void insertInterfaceInstance(String serviceInterfaceInstanceId, org.apache.wicket.ajax.AjaxRequestTarget target)
          Inserts an interface instance in a holder, according to the current request.
 void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
           
protected  void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
           
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, throttleScript
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, onComponentTag, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution
 
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior
afterRender, beforeRender, cleanup, detach, detachModel, exception, isEnabled, isTemporary, onException, rendered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddInterfaceBehavior

public AddInterfaceBehavior()
Method Detail

respond

protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
Specified by:
respond in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

getFunctionName

protected String getFunctionName()
Returns the javascript function name that calls this behavior.

Returns:
the javascript function name.

insertInterfaceInstance

protected void insertInterfaceInstance(String serviceInterfaceInstanceId,
                                       org.apache.wicket.ajax.AjaxRequestTarget target)
Inserts an interface instance in a holder, according to the current request.

Parameters:
serviceInterfaceInstanceId - the service interface instance identifier.
target - the AJAX request target.
Since:
6.0.0

renderHead

public void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
Specified by:
renderHead in interface org.apache.wicket.markup.html.IHeaderContributor
Overrides:
renderHead in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.