com.liferay.portal.model
Class PortletConstants

java.lang.Object
  extended by com.liferay.portal.model.PortletConstants

public class PortletConstants
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String DEFAULT_PREFERENCES
          Default preferences.
static java.lang.String FACEBOOK_INTEGRATION_FBML
          Facebook integration method for FBML.
static java.lang.String FACEBOOK_INTEGRATION_IFRAME
          Facebook integration method for IFrame.
static java.lang.String INSTANCE_SEPARATOR
          Instance separator.
static java.lang.String LAYOUT_SEPARATOR
          Layout separator.
static java.lang.String USER_PRINCIPAL_STRATEGY_SCREEN_NAME
          User principal strategy for screen name.
static java.lang.String USER_PRINCIPAL_STRATEGY_USER_ID
          User principal strategy for screen name.
static java.lang.String WAR_SEPARATOR
          War file separator.
 
Constructor Summary
PortletConstants()
           
 
Method Summary
static java.lang.String getInstanceId(java.lang.String portletId)
          Gets the instance id of the portlet.
static java.lang.String getRootPortletId(java.lang.String portletId)
          Gets the root portlet id of the portlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WAR_SEPARATOR

public static final java.lang.String WAR_SEPARATOR
War file separator.

See Also:
Constant Field Values

INSTANCE_SEPARATOR

public static final java.lang.String INSTANCE_SEPARATOR
Instance separator.

See Also:
Constant Field Values

LAYOUT_SEPARATOR

public static final java.lang.String LAYOUT_SEPARATOR
Layout separator.

See Also:
Constant Field Values

DEFAULT_PREFERENCES

public static final java.lang.String DEFAULT_PREFERENCES
Default preferences.

See Also:
Constant Field Values

USER_PRINCIPAL_STRATEGY_SCREEN_NAME

public static final java.lang.String USER_PRINCIPAL_STRATEGY_SCREEN_NAME
User principal strategy for screen name.

See Also:
Constant Field Values

USER_PRINCIPAL_STRATEGY_USER_ID

public static final java.lang.String USER_PRINCIPAL_STRATEGY_USER_ID
User principal strategy for screen name.

See Also:
Constant Field Values

FACEBOOK_INTEGRATION_FBML

public static final java.lang.String FACEBOOK_INTEGRATION_FBML
Facebook integration method for FBML.

See Also:
Constant Field Values

FACEBOOK_INTEGRATION_IFRAME

public static final java.lang.String FACEBOOK_INTEGRATION_IFRAME
Facebook integration method for IFrame.

See Also:
Constant Field Values
Constructor Detail

PortletConstants

public PortletConstants()
Method Detail

getRootPortletId

public static java.lang.String getRootPortletId(java.lang.String portletId)
Gets the root portlet id of the portlet.

Parameters:
portletId - the portlet id of the portlet
Returns:
the root portlet id of the portlet

getInstanceId

public static java.lang.String getInstanceId(java.lang.String portletId)
Gets the instance id of the portlet.

Parameters:
portletId - the portlet id of the portlet
Returns:
the instance id of the portlet