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 LayoutgetLayout(String p_strLayout)Get a specific layout.List<Layout>getLayouts()Get a list of all layouts of the portal.StringgetMailLayout(String p_strLayout)Get a specific mail layout directory.booleanhasCustomMenuStyles(String p_strCurrLayoutDir)booleanhasLayout(String p_strLayout)Check if this portal has the given layout.booleanisFrameless(String p_strCurrLayoutDir)Deprecated.Intrexx version 5.0, and above is frameless.booleanisYellowFading()
-
-
-
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:
trueif the portal has the given layout, orfalseotherwise.- 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
nullif 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()
-
-