Class PagePersonalizationManager
- java.lang.Object
-
- lumis.service.pagepersonalization.widgetmanipulationaction.PagePersonalizationManager
-
public class PagePersonalizationManager extends java.lang.Object
Manager of the Page Personalization.- Since:
- 6.0.0
- Version:
- $Revision: 21235 $ $Date: 2018-04-25 17:35:41 -0300 (Wed, 25 Apr 2018) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PagePersonalizationManager.DeletedWidgetData
-
Constructor Summary
Constructors Constructor Description PagePersonalizationManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<PagePersonalizationManager.DeletedWidgetData>
getDeletedWidgetsData(java.lang.String serviceInstanceId)
static java.util.Set<PagePersonalizationManager.DeletedWidgetData>
getDeletedWidgetsData(java.lang.String[] widgetIds)
static WidgetInstanceHolder
getOrGeneratePersonalizedHolder(java.lang.String holderInterfaceInstanceId, java.lang.String userId, java.lang.String holderContentId)
Returns an existent personalized holder or generates a new one, copying the widget instances from the corresponding default holder.static WidgetInstanceHolder
getOrGenerateTemporaryHolder(java.lang.String holderInterfaceInstanceId, java.lang.String holderContentId)
Returns an existent temporary holder or generates a new one, copying the widget instances from the corresponding default holder.
-
-
-
Method Detail
-
getDeletedWidgetsData
public static java.util.Set<PagePersonalizationManager.DeletedWidgetData> getDeletedWidgetsData(java.lang.String[] widgetIds) throws PortalException
- Throws:
PortalException
-
getDeletedWidgetsData
public static java.util.Set<PagePersonalizationManager.DeletedWidgetData> getDeletedWidgetsData(java.lang.String serviceInstanceId) throws PortalException
- Throws:
PortalException
-
getOrGeneratePersonalizedHolder
public static WidgetInstanceHolder getOrGeneratePersonalizedHolder(java.lang.String holderInterfaceInstanceId, java.lang.String userId, java.lang.String holderContentId) throws PortalException
Returns an existent personalized holder or generates a new one, copying the widget instances from the corresponding default holder.- Parameters:
holderInterfaceInstanceId
- the holder interface instance identifier.userId
- the identifier of the user that will use this personalization.holderContentId
- the identifier of the content the holder is personalized for, ornull
if it is not personalized for a content.- Returns:
- the personalized holder, as a persistent entity.
- Throws:
PortalException
- Since:
- 10.2.0
-
getOrGenerateTemporaryHolder
public static WidgetInstanceHolder getOrGenerateTemporaryHolder(java.lang.String holderInterfaceInstanceId, java.lang.String holderContentId) throws PortalException
Returns an existent temporary holder or generates a new one, copying the widget instances from the corresponding default holder.- Parameters:
holderInterfaceInstanceId
- the holder interface instance identifier.holderContentId
- the identifier of the content the holder is personalized for, ornull
if it is not personalized for a content.- Returns:
- the temporary holder, as a persistent entity.
- Throws:
PortalException
- Since:
- 10.2.0
-
-