public class PortletConstants
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFERENCES
Default preferences.
|
static String |
FACEBOOK_INTEGRATION_FBML
Facebook integration method for FBML.
|
static String |
FACEBOOK_INTEGRATION_IFRAME
Facebook integration method for IFrame.
|
static String |
INSTANCE_SEPARATOR
Deprecated.
As of 7.0.0, with no direct replacement
|
static String |
LAYOUT_SEPARATOR
Layout separator.
|
static String |
USER_PRINCIPAL_STRATEGY_SCREEN_NAME
User principal strategy for screen name.
|
static String |
USER_PRINCIPAL_STRATEGY_USER_ID
User principal strategy for screen name.
|
static String |
USER_SEPARATOR
Deprecated.
As of 7.0.0, with no direct replacement
|
static String |
WAR_SEPARATOR
War file separator.
|
Constructor and Description |
---|
PortletConstants() |
Modifier and Type | Method and Description |
---|---|
static String |
assemblePortletId(String portletId,
long userId)
Deprecated.
As of 7.0.0, with no direct replacement
|
static String |
assemblePortletId(String portletId,
long userId,
String instanceId)
Deprecated.
As of 7.0.0, with no direct replacement
|
static String |
assemblePortletId(String portletId,
String instanceId)
Deprecated.
As of 7.0.0, with no direct replacement
|
static String |
generateInstanceId()
Deprecated.
As of 7.0.0, replaced by
PortletIdCodec.generateInstanceId() |
static String |
getInstanceId(String portletId)
Deprecated.
As of 7.0.0, replaced by
PortletIdCodec.decodeInstanceId(String) |
static String |
getRootPortletId(String portletId)
Deprecated.
As of 7.0.0, replaced by
PortletIdCodec.decodePortletName(String) |
static long |
getUserId(String portletId)
Deprecated.
As of 7.0.0, replaced by
PortletIdCodec.decodeUserId(String) |
static boolean |
hasIdenticalRootPortletId(String portletId1,
String portletId2)
Deprecated.
As of 7.0.0, with no direct replacement
|
static boolean |
hasInstanceId(String portletId)
Deprecated.
As of 7.0.0, replaced by
PortletIdCodec.hasInstanceId(String) |
static boolean |
hasUserId(String portletId)
Deprecated.
As of 7.0.0, replaced by
PortletIdCodec.hasUserId(String) |
public static final String DEFAULT_PREFERENCES
public static final String FACEBOOK_INTEGRATION_FBML
public static final String FACEBOOK_INTEGRATION_IFRAME
@Deprecated public static final String INSTANCE_SEPARATOR
public static final String LAYOUT_SEPARATOR
public static final String USER_PRINCIPAL_STRATEGY_SCREEN_NAME
public static final String USER_PRINCIPAL_STRATEGY_USER_ID
@Deprecated public static final String USER_SEPARATOR
public static final String WAR_SEPARATOR
@Deprecated public static String assemblePortletId(String portletId, long userId)
portletId
- the portlet IDuserId
- a user ID@Deprecated public static String assemblePortletId(String portletId, long userId, String instanceId)
portletId
- the portlet IDuserId
- the user IDinstanceId
- an instance ID. If null
, an instance
ID is derived from the portlet ID.@Deprecated public static String assemblePortletId(String portletId, String instanceId)
portletId
- the portlet IDinstanceId
- an instance ID@Deprecated public static String generateInstanceId()
PortletIdCodec.generateInstanceId()
@Deprecated public static String getInstanceId(String portletId)
PortletIdCodec.decodeInstanceId(String)
portletId
- the portlet ID@Deprecated public static String getRootPortletId(String portletId)
PortletIdCodec.decodePortletName(String)
portletId
- the portlet ID@Deprecated public static long getUserId(String portletId)
PortletIdCodec.decodeUserId(String)
portletId
- the portlet ID@Deprecated public static boolean hasIdenticalRootPortletId(String portletId1, String portletId2)
@Deprecated public static boolean hasInstanceId(String portletId)
PortletIdCodec.hasInstanceId(String)
true
if the portlet ID contains an instance ID.portletId
- the portlet IDtrue
if the portlet ID contains an instance ID;
false
otherwise@Deprecated public static boolean hasUserId(String portletId)
PortletIdCodec.hasUserId(String)
true
if the portlet ID contains a user ID.portletId
- the portlet IDtrue
if the portlet ID contains a user ID;
false
otherwise