Class HolderWidgetInstance
- java.lang.Object
-
- lumis.service.pagepersonalization.bean.WidgetInstance
-
- lumis.service.pagepersonalization.bean.HolderWidgetInstance
-
- All Implemented Interfaces:
java.io.Serializable
public class HolderWidgetInstance extends WidgetInstance
Holder Widget instance is a concrete derivation of aWidgetInstance
.- Since:
- 10.4.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HolderWidgetInstance(java.lang.String widgetContentId)
Creates a new widget instance for the specified widget.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WidgetInstanceHolder
getHolder()
Returns the holder on which this widget instance is.int
getHolderPosition()
Returns the position of this widget instance on its holder.void
moveTo(WidgetInstanceHolder destHolder, int position)
Moves this widget instance to a holder at the specified position.-
Methods inherited from class lumis.service.pagepersonalization.bean.WidgetInstance
findByInterfaceInstanceId, findByWidgetContentId, getId, getInterfaceInstanceId, getWidgetContentId, remove
-
-
-
-
Method Detail
-
getHolder
public WidgetInstanceHolder getHolder()
Returns the holder on which this widget instance is.- Returns:
- this widget instance's holder.
- Since:
- 10.2.0
-
getHolderPosition
public int getHolderPosition()
Returns the position of this widget instance on its holder. When displayed on a holder, its widget instances are ordered by this value.- Returns:
- the position.
- Since:
- 10.2.0
-
moveTo
public void moveTo(WidgetInstanceHolder destHolder, int position) throws PortalException
Moves this widget instance to a holder at the specified position. The destination holder must be of same type of the this widget instance's holder.- Parameters:
destHolder
- the destination holder.position
- the position for the widget instance in the destination holder.- Throws:
PortalException
- Since:
- 10.2.0
-
-