Class ExplorerAppManager

  • All Implemented Interfaces:
    com.jalios.util.JPropertiesListener

    public class ExplorerAppManager
    extends java.lang.Object
    implements com.jalios.util.JPropertiesListener
    • Field Detail

      • EXPLORER_BREADCRUMB_SESSION_ENTRY_PREFIX

        public static final java.lang.String EXPLORER_BREADCRUMB_SESSION_ENTRY_PREFIX
        See Also:
        Constant Field Values
      • ICON_PROP_SUFFIX

        public static final java.lang.String ICON_PROP_SUFFIX
        See Also:
        Constant Field Values
      • ORDER_PROP_SUFFIX

        public static final java.lang.String ORDER_PROP_SUFFIX
        See Also:
        Constant Field Values
      • TAB_URL_PROP_SUFFIX

        public static final java.lang.String TAB_URL_PROP_SUFFIX
        See Also:
        Constant Field Values
      • TAB_TYPES_PROP_SUFFIX

        public static final java.lang.String TAB_TYPES_PROP_SUFFIX
        See Also:
        Constant Field Values
      • CONTEXT_MENU_PUB_JSP_PROP

        public static final java.lang.String CONTEXT_MENU_PUB_JSP_PROP
        See Also:
        Constant Field Values
      • CONTEXT_MENU_DOCUMENT_JSP_PROP

        public static final java.lang.String CONTEXT_MENU_DOCUMENT_JSP_PROP
        See Also:
        Constant Field Values
      • CONTEXT_MENU_CATEGORY_JSP_PROP

        public static final java.lang.String CONTEXT_MENU_CATEGORY_JSP_PROP
        See Also:
        Constant Field Values
      • CONTAINED_IMAGE_ASPECT_RATIO_PROP

        public static final java.lang.String CONTAINED_IMAGE_ASPECT_RATIO_PROP
        See Also:
        Constant Field Values
      • SCROLL_TO_PREVIOUS_FOLDER_PROP

        public static final java.lang.String SCROLL_TO_PREVIOUS_FOLDER_PROP
        See Also:
        Constant Field Values
      • DEBUG_MODE_ENABLED_PROP

        public static final java.lang.String DEBUG_MODE_ENABLED_PROP
        See Also:
        Constant Field Values
      • BREADCRUMB_FULLDISPLAY_ENABLED_PROP

        public static final java.lang.String BREADCRUMB_FULLDISPLAY_ENABLED_PROP
        See Also:
        Constant Field Values
    • Method Detail

      • propertiesChange

        public void propertiesChange​(com.jalios.util.JProperties properties)
        Specified by:
        propertiesChange in interface com.jalios.util.JPropertiesListener
      • getSortedTabSet

        public java.util.Set<ExplorerSidebarTab> getSortedTabSet​(java.lang.String userLang)
      • isSidebarCompatiblePublication

        public boolean isSidebarCompatiblePublication​(com.jalios.jcms.Publication pub)
      • getSidebarPreviewContentTypes

        public java.util.List<java.lang.String> getSidebarPreviewContentTypes()
      • getSidebarPreviewGenericContentTypes

        public java.util.List<java.lang.String> getSidebarPreviewGenericContentTypes()
      • isSidebarPreviewDisplay

        public boolean isSidebarPreviewDisplay​(com.jalios.jcms.FileDocument doc)
      • getContainedImageAspectRatio

        public double getContainedImageAspectRatio()
      • isExplorerScrollToPreviousFolder

        public boolean isExplorerScrollToPreviousFolder()
      • isDebugModeEnabled

        public boolean isDebugModeEnabled()
      • isBreadcrumbFullDisplayEnabled

        public boolean isBreadcrumbFullDisplayEnabled()
      • getContextMenuJsp

        public java.lang.String getContextMenuJsp​(com.jalios.jcms.Data data)
      • getContextMenuCategoryJsp

        public java.lang.String getContextMenuCategoryJsp()
      • getContextMenuPubJsp

        public java.lang.String getContextMenuPubJsp()
      • getContextMenuDocumentJsp

        public java.lang.String getContextMenuDocumentJsp()
      • getDataThumbIcon

        public java.lang.String getDataThumbIcon​(com.jalios.jcms.Data data)
      • getBreadCrumbs

        public java.util.List<com.jalios.jcms.uicomponent.BreadcrumbItem> getBreadCrumbs​(com.jalios.jcms.workspace.Workspace workspace,
                                                                                         com.jalios.jcms.Member member,
                                                                                         generated.PortletExplorer explorer,
                                                                                         java.lang.String userLang,
                                                                                         com.jalios.jcms.Category cat,
                                                                                         java.util.Locale locale)
      • getPortletExplorerTypeClasses

        public java.util.Set<java.lang.Class<? extends com.jalios.jcms.Publication>> getPortletExplorerTypeClasses​(generated.PortletExplorer explorer,
                                                                                                                   com.jalios.jcms.workspace.Workspace workspace)
      • hasDocumentType

        public boolean hasDocumentType​(generated.PortletExplorer portletExplorer,
                                       com.jalios.jcms.workspace.Workspace workspace)
      • getPortletExplorerDocumentClasses

        public java.util.List<java.lang.Class> getPortletExplorerDocumentClasses​(generated.PortletExplorer explorer,
                                                                                 com.jalios.jcms.workspace.Workspace workspace)
        Parameters:
        explorer - the PortletExplorer
        workspace - the Workspace
        Returns:
        all document classes used in portlet QueryHandlers
      • getPortletExplorerSuperCommonDocumentClass

        public java.lang.Class<? extends com.jalios.jcms.Publication> getPortletExplorerSuperCommonDocumentClass​(generated.PortletExplorer explorer,
                                                                                                                 com.jalios.jcms.workspace.Workspace workspace)
        Parameters:
        explorer - the PortletExplorer
        workspace - the Workspace
        Returns:
        the super common class for Documents
      • getExplorerFields

        public java.lang.String[] getExplorerFields​(generated.PortletExplorer explorer)
        Parameters:
        explorer - the PortletExplorer
        Returns:
        the PortletExplorer fields
      • getFolderIconSrc

        public java.lang.String getFolderIconSrc​(com.jalios.jcms.Category cat)
        Returns the given category icon Note that it always return the same icon currently)
        Parameters:
        cat - the Category
        Returns:
        the given category icon
        Since:
        explorer-4.6
      • getFolderColor

        public java.lang.String getFolderColor​(com.jalios.jcms.Category cat)
        Returns the category color by searching on the given category, or on one of its parents
        Parameters:
        cat - the Category
        Returns:
        the given Category color
        Since:
        explorer-4.6