|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.portal.PortalDefaultContentHelper
public class PortalDefaultContentHelper
provides the possibility to read a property file for default contentids.
It reads the given request and looks in the property file "portaldefault.properties" for a match.
![]() |
![]() |
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
private |
PortalDefaultContentHelper()
Instantiates a new permission checker factory. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 static Map<String,String> cache
Constructor Detail |
---|
private PortalDefaultContentHelper()
Method Detail |
---|
private static void init()
public static String getDefaultContentId(javax.portlet.RenderRequest request)
If the config is not initialized yet, we initialize it here
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |