public class ThemeViewNameSelector extends Object implements IViewNameSelector
ThemeViewNameSelector class.
| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
MOBILE_THEMES_DEFAULT
Constant
MOBILE_THEMES_DEFAULT |
protected static String |
MOBILE_THEMES_KEY
Constant
MOBILE_THEMES_KEY="mobileThemes" |
protected static String |
THEME_NAME_PROPERTY
Constant
THEME_NAME_PROPERTY="themeName" |
| Constructor and Description |
|---|
ThemeViewNameSelector() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isMobile(javax.portlet.PortletRequest request)
isMobile.
|
String |
select(javax.portlet.PortletRequest req,
String baseViewName)
select.
|
void |
setMobileKey(String mobileKey)
Setter for the field
mobileKey. |
protected static final String THEME_NAME_PROPERTY
THEME_NAME_PROPERTY="themeName"protected static final String MOBILE_THEMES_KEY
MOBILE_THEMES_KEY="mobileThemes"protected static final String[] MOBILE_THEMES_DEFAULT
MOBILE_THEMES_DEFAULTpublic void setMobileKey(String mobileKey)
Setter for the field mobileKey.
mobileKey - a String object.public String select(javax.portlet.PortletRequest req, String baseViewName)
select.
select in interface IViewNameSelectorreq - a PortletRequest object.baseViewName - a String object.String object.protected boolean isMobile(javax.portlet.PortletRequest request)
isMobile.
request - a PortletRequest object.Copyright © 2019 Jasig, Inc.. All rights reserved.