Class LayoutFileUtil
- java.lang.Object
-
- lumis.service.portalmanagement.structure.doui.control.layoutfile.LayoutFileUtil
-
public class LayoutFileUtil extends Object
Utility class for Layout file controller- Since:
- 8.1.0
- Version:
- $Revision: 17594 $ $Date: 2015-07-17 11:22:41 -0300 (Fri, 17 Jul 2015) $
-
-
Constructor Summary
Constructors Constructor Description LayoutFileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
getHtmlFilesFromThemeByHint(String themeId, String hintStr)
Get all html files from www or def directory in a given Theme.static List<String>
getHtmlFilesFromThemesByHint(String pageOrChannelType, String channelId, boolean inheritedTheme, String appliedThemes, 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 List<String> getHtmlFilesFromThemesByHint(String pageOrChannelType, String channelId, boolean inheritedTheme, String appliedThemes, 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 List<String> getHtmlFilesFromThemeByHint(String themeId, 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
-
-