Class LayoutManagerCallable
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.LayoutManagerCallable
-
@VelocityCallable("singleton") public final class LayoutManagerCallable extends Object
-
-
Constructor Summary
Constructors Constructor Description LayoutManagerCallable(org.springframework.context.ApplicationContext p_appCtx)
Public callable constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Layout
getLayout(String p_strLayout)
Get a specific layout.List<Layout>
getLayouts()
Get a list of all layouts of the portal.String
getMailLayout(String p_strLayout)
Get a specific mail layout directory.boolean
hasCustomMenuStyles(String p_strCurrLayoutDir)
boolean
hasLayout(String p_strLayout)
Check if this portal has the given layout.boolean
isFrameless(String p_strCurrLayoutDir)
Deprecated.Intrexx version 5.0, and above is frameless.boolean
isYellowFading()
-
-
-
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, orfalse
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()
-
-