public class WidgetInstance extends Object implements Serializable
Widget
instance.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.
|
WidgetInstanceHolder |
getHolder()
Returns the holder on which this widget instance is.
|
int |
getHolderPosition()
Returns the position of this widget instance on its holder.
|
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 |
moveTo(WidgetInstanceHolder destHolder,
int position)
Moves this widget instance to a holder at the specified position.
|
public String getId()
public String getInterfaceInstanceId()
public String getWidgetContentId()
public WidgetInstanceHolder getHolder()
public int getHolderPosition()
public void moveTo(WidgetInstanceHolder destHolder, int position) throws PortalException
destHolder
- the destination holder.position
- the position for the widget instance in the destination holder.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.Lumisportal 10.3.0.171201 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.