Class AddPopupInterface
- java.lang.Object
-
- lumis.portal.serviceinterface.menu.AddPopupInterface
-
- All Implemented Interfaces:
IServiceInstanceMenuItem
,IServiceInterfaceMenuItem
- Direct Known Subclasses:
AddStylePopupInterface
public class AddPopupInterface extends java.lang.Object implements IServiceInterfaceMenuItem, IServiceInstanceMenuItem
- Since:
- 4.0.0
- Version:
- $Revision: 20938 $ $Date: 2018-02-06 15:08:12 -0200 (Tue, 06 Feb 2018) $
-
-
Constructor Summary
Constructors Constructor Description AddPopupInterface()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActionJavascript(ServiceInstanceConfig serviceInstance, org.w3c.dom.Element menuItemDefinition)
Returns the javascript code to be executed when this menu item is triggered by the user.java.lang.String
getActionJavascript(IServiceInterfaceMenuItemRequest menuItemRequest)
Returns the javascript code to be executed when this menu item is triggered by the user.
-
-
-
Method Detail
-
getActionJavascript
public java.lang.String getActionJavascript(ServiceInstanceConfig serviceInstance, org.w3c.dom.Element menuItemDefinition) throws PortalException
Description copied from interface:IServiceInstanceMenuItem
Returns the javascript code to be executed when this menu item is triggered by the user.- Specified by:
getActionJavascript
in interfaceIServiceInstanceMenuItem
- Parameters:
serviceInstance
- the service instance this menu item is being triggered on.menuItemDefinition
- the xml element containing the definition of this menu item.- Returns:
- the javascript code.
- Throws:
PortalException
- if the menu item cannot be executed, the message of this exception is to be displayed to the user.
-
getActionJavascript
public java.lang.String getActionJavascript(IServiceInterfaceMenuItemRequest menuItemRequest) throws PortalException
Description copied from interface:IServiceInterfaceMenuItem
Returns the javascript code to be executed when this menu item is triggered by the user.- Specified by:
getActionJavascript
in interfaceIServiceInterfaceMenuItem
- Parameters:
menuItemRequest
- information about the request for the menu item.- Returns:
- the javascript code.
- Throws:
PortalException
- if the menu item cannot be executed, the message of this exception is to be displayed to the user.
-
-