Class PreviewUtil


  • public class PreviewUtil
    extends java.lang.Object
    Contains methods used abroad related to previewing contents
    Since:
    10.2.0
    Version:
    $Revision: 22734 $ $Date: 2019-05-13 18:54:11 -0300 (Mon, 13 May 2019) $
    • Constructor Detail

      • PreviewUtil

        public PreviewUtil()
    • Method Detail

      • getServiceInstancePreviewPage

        public static java.util.Set<PreviewUtil.PreviewInformation> getServiceInstancePreviewPage​(java.util.Collection<java.lang.String> serviceInstanceIds,
                                                                                                  SessionConfig sessionConfig,
                                                                                                  DouiContext douiContext,
                                                                                                  java.lang.String contentSourceId,
                                                                                                  ITransaction transaction)
                                                                                           throws PortalException
        Get a list of pages capable of previewing the content
        Parameters:
        serviceInstanceIds - a list containing all service instances to consider capable of displaying the content
        sessionConfig - the current session config
        douiContext - the douiContext
        contentSourceId - the source identifier of the content being previewed. If null, the source won't be considered.
        transaction - the transaction
        Returns:
        Throws:
        PortalException
        Since:
        10.2.0