Package lumis.portal.serviceinstance
Interface IServiceInstanceMenuItem
-
- All Known Implementing Classes:
AddPopupInterface
,AddStylePopupInterface
@StableMinor(version="14.2", sinceVersion="8.2") public interface IServiceInstanceMenuItem
Interface to be implemented by custom service instance configuration menu item.- Since:
- 8.2.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getActionJavascript(ServiceInstanceConfig serviceInstance, Element menuItemDefinition)
Returns the javascript code to be executed when this menu item is triggered by the user.
-
-
-
Method Detail
-
getActionJavascript
String getActionJavascript(ServiceInstanceConfig serviceInstance, Element menuItemDefinition) throws PortalException
Returns the javascript code to be executed when this menu item is triggered by the user.- 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.- Since:
- 8.2.0
-
-