Class LayoutFileUtil
- java.lang.Object
-
- lumis.service.portalmanagement.structure.doui.control.layoutfile.LayoutFileUtil
-
public class LayoutFileUtil extends java.lang.Object
Utility class for Layout file controller- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description LayoutFileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>
getHtmlFilesFromThemeByHint(java.lang.String themeId, java.lang.String hintStr)
Get all html files from www or def directory in a given Theme.static java.util.List<java.lang.String>
getHtmlFilesFromThemesByHint(java.lang.String pageOrChannelType, java.lang.String channelId, boolean inheritedTheme, java.lang.String appliedThemes, java.lang.String hint)
Get Html files from a list of themes applied and his inheritance themes in a given channel or his parent, based on a given type
-
-
-
Method Detail
-
getHtmlFilesFromThemesByHint
public static java.util.List<java.lang.String> getHtmlFilesFromThemesByHint(java.lang.String pageOrChannelType, java.lang.String channelId, boolean inheritedTheme, java.lang.String appliedThemes, java.lang.String hint) throws PortalException
Get Html files from a list of themes applied and his inheritance themes in a given channel or his parent, based on a given type- Parameters:
pageOrChannelType
- specify if current type is one of the followinglum_NewPage, lum_ExistingPage, lum_NewChannel, lum_ExistingChannel
channelId
- channel identifier used for theme inheritance.inheritedTheme
- true if theme inheritance will be appliedappliedThemes
- string list of applied themeshint
- a hint to be used as filter, ifnull
ignore hint.- Returns:
- list of html files related to all applied themes
- Throws:
PortalException
- Since:
- 8.1.0
-
getHtmlFilesFromThemeByHint
public static java.util.List<java.lang.String> getHtmlFilesFromThemeByHint(java.lang.String themeId, java.lang.String hintStr) throws PortalException
Get all html files from www or def directory in a given Theme.- Parameters:
themeId
- a theme identifierhint
- a hint to be used as filter, ifnull
ignore hint.- Returns:
- list of html files related to a given Theme root directory
- Throws:
PortalException
- Since:
- 8.1.0
-
-