public class PagePersonalizationManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PagePersonalizationManager.DeletedWidgetData |
Constructor and Description |
---|
PagePersonalizationManager() |
Modifier and Type | Method and Description |
---|---|
static Set<PagePersonalizationManager.DeletedWidgetData> |
getDeletedWidgetsData(String serviceInstanceId) |
static Set<PagePersonalizationManager.DeletedWidgetData> |
getDeletedWidgetsData(String[] widgetIds) |
static WidgetInstanceHolder |
getOrGeneratePersonalizedHolder(String holderInterfaceInstanceId,
String userId,
String holderContentId)
Returns an existent personalized holder or generates a new one, copying the widget instances from the
corresponding default holder.
|
static WidgetInstanceHolder |
getOrGenerateTemporaryHolder(String holderInterfaceInstanceId,
String holderContentId)
Returns an existent temporary holder or generates a new one, copying the widget instances from the corresponding
default holder.
|
public static Set<PagePersonalizationManager.DeletedWidgetData> getDeletedWidgetsData(String[] widgetIds) throws PortalException
PortalException
public static Set<PagePersonalizationManager.DeletedWidgetData> getDeletedWidgetsData(String serviceInstanceId) throws PortalException
PortalException
public static WidgetInstanceHolder getOrGeneratePersonalizedHolder(String holderInterfaceInstanceId, String userId, String holderContentId) throws PortalException
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, or null
if it is not
personalized for a content.PortalException
public static WidgetInstanceHolder getOrGenerateTemporaryHolder(String holderInterfaceInstanceId, String holderContentId) throws PortalException
holderInterfaceInstanceId
- the holder interface instance identifier.holderContentId
- the identifier of the content the holder is personalized for, or null
if it is not
personalized for a content.PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.