public class PortalDefaultContentHelper extends Object
It reads the given request and looks in the property file "portaldefault.properties" for a match.
Modifier and Type | Field and Description |
---|---|
private static Map<String,String> |
cache |
private static com.gentics.cr.CRConfigFileLoader |
crConf |
private static org.apache.log4j.Logger |
log
The logger.
|
private static String |
PORTALCONTEXT_KEY_KEY |
private static String |
portalContextKey |
static String |
PROPERTY_FILENAME
The Constant Property Filename.
|
Modifier | Constructor and Description |
---|---|
private |
PortalDefaultContentHelper()
Instantiates a new permission checker factory.
|
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultContentId(javax.portlet.RenderRequest request)
Returns the specified value of the property file
|
private static void |
init()
Inits a new instance of the PortalPermissionChecker with the given
parameters from property file.
|
private static final org.apache.log4j.Logger log
public static final String PROPERTY_FILENAME
private static final String PORTALCONTEXT_KEY_KEY
private static String portalContextKey
private static com.gentics.cr.CRConfigFileLoader crConf
private PortalDefaultContentHelper()
private static void init()
public static String getDefaultContentId(javax.portlet.RenderRequest request)
If the config is not initialized yet, we initialize it here
Copyright © 2014 Gentics Software GmbH. All Rights Reserved.