Class LayoutManagerCallable


  • @VelocityCallable("singleton")
    public final class LayoutManagerCallable
    extends Object
    • Constructor Detail

      • LayoutManagerCallable

        public LayoutManagerCallable​(org.springframework.context.ApplicationContext p_appCtx)
        Public callable constructor.
        Parameters:
        p_appCtx - The Spring application context.
    • Method Detail

      • hasLayout

        public boolean hasLayout​(String p_strLayout)
                          throws Exception
        Check if this portal has the given layout.
        Parameters:
        p_strLayout - The layout identifier.
        Returns:
        true if the portal has the given layout, or false otherwise.
        Throws:
        Exception - If an error occurred.
      • getLayout

        public Layout getLayout​(String p_strLayout)
                         throws Exception
        Get a specific layout.
        Parameters:
        p_strLayout - The layout identifier.
        Returns:
        The layout, or null if no such layout exists.
        Throws:
        Exception - If an error occurred.
      • getMailLayout

        public String getMailLayout​(String p_strLayout)
                             throws Exception
        Get a specific mail layout directory.
        Parameters:
        p_strLayout - The layout directory.
        Returns:
        The mail layout directory or the given layout directory if no mail layout is defined.
        Throws:
        Exception - If an error occurred.
      • getLayouts

        public List<Layout> getLayouts()
        Get a list of all layouts of the portal.
        Returns:
        A list that contains all layouts of the portal.
      • isFrameless

        @Deprecated
        public boolean isFrameless​(String p_strCurrLayoutDir)
        Deprecated.
        Intrexx version 5.0, and above is frameless.
      • isYellowFading

        public boolean isYellowFading()
      • hasCustomMenuStyles

        public boolean hasCustomMenuStyles​(String p_strCurrLayoutDir)
                                    throws Exception
        Throws:
        Exception