Class PreviewUtil


  • public class PreviewUtil
    extends java.lang.Object
    Contains methods used abroad related to previewing contents
    Since:
    10.2.0
    Version:
    $Revision$ $Date$
    • 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