public class WidgetInstance extends Object implements Serializable
Widget
instance.Constructor and Description |
---|
WidgetInstance(String widgetContentId)
Creates a new widget instance for the specified widget.
|
Modifier and Type | Method and Description |
---|---|
static WidgetInstance |
findByInterfaceInstanceId(String interfaceInstanceId)
Returns the widget instance defined with the specified interface instance.
|
static List<WidgetInstance> |
findByWidgetContentId(String widgetContentId)
Returns the widget instances that belong to the specified widget content.
|
String |
getId()
Returns the identifier of this widget instance.
|
String |
getInterfaceInstanceId()
Returns the identifier of the service interface instance that corresponds to this widget instance.
|
String |
getWidgetContentId()
Returns the identifier of the content of the widget this instance is of.
|
void |
remove() |
public WidgetInstance(String widgetContentId)
widgetContentId
- the content identifier of the widget.public String getId()
public String getInterfaceInstanceId()
public String getWidgetContentId()
public void remove() throws PortalException
PortalException
public static WidgetInstance findByInterfaceInstanceId(String interfaceInstanceId)
interfaceInstanceId
- the interface instance identifier.null
if it was not found.public static List<WidgetInstance> findByWidgetContentId(String widgetContentId)
widgetContentId
- the widget content identifier.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.