public class PortletConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PREFERENCES
Default preferences.
|
static java.lang.String |
FACEBOOK_INTEGRATION_FBML
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static java.lang.String |
FACEBOOK_INTEGRATION_IFRAME
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static java.lang.String |
INSTANCE_SEPARATOR
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
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 |
USER_SEPARATOR
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static java.lang.String |
WAR_SEPARATOR
War file separator.
|
Constructor and Description |
---|
PortletConstants() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
assemblePortletId(java.lang.String portletId,
long userId)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static java.lang.String |
assemblePortletId(java.lang.String portletId,
long userId,
java.lang.String instanceId)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static java.lang.String |
assemblePortletId(java.lang.String portletId,
java.lang.String instanceId)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static java.lang.String |
generateInstanceId()
Deprecated.
As of Judson (7.1.x), replaced by
PortletIdCodec.generateInstanceId() |
static java.lang.String |
getInstanceId(java.lang.String portletId)
Deprecated.
As of Judson (7.1.x), replaced by
PortletIdCodec.decodeInstanceId(String) |
static java.lang.String |
getRootPortletId(java.lang.String portletId)
Deprecated.
As of Judson (7.1.x), replaced by
PortletIdCodec.decodePortletName(String) |
static long |
getUserId(java.lang.String portletId)
Deprecated.
As of Judson (7.1.x), replaced by
PortletIdCodec.decodeUserId(String) |
static boolean |
hasIdenticalRootPortletId(java.lang.String portletId1,
java.lang.String portletId2)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static boolean |
hasInstanceId(java.lang.String portletId)
Deprecated.
As of Judson (7.1.x), replaced by
PortletIdCodec.hasInstanceId(String) |
static boolean |
hasUserId(java.lang.String portletId)
Deprecated.
As of Judson (7.1.x), replaced by
PortletIdCodec.hasUserId(String) |
public static final java.lang.String DEFAULT_PREFERENCES
@Deprecated public static final java.lang.String FACEBOOK_INTEGRATION_FBML
@Deprecated public static final java.lang.String FACEBOOK_INTEGRATION_IFRAME
@Deprecated public static final java.lang.String INSTANCE_SEPARATOR
public static final java.lang.String LAYOUT_SEPARATOR
public static final java.lang.String USER_PRINCIPAL_STRATEGY_SCREEN_NAME
public static final java.lang.String USER_PRINCIPAL_STRATEGY_USER_ID
@Deprecated public static final java.lang.String USER_SEPARATOR
public static final java.lang.String WAR_SEPARATOR
@Deprecated public static java.lang.String assemblePortletId(java.lang.String portletId, long userId)
portletId
- the portlet IDuserId
- a user ID@Deprecated public static java.lang.String assemblePortletId(java.lang.String portletId, long userId, java.lang.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 java.lang.String assemblePortletId(java.lang.String portletId, java.lang.String instanceId)
portletId
- the portlet IDinstanceId
- an instance ID@Deprecated public static java.lang.String generateInstanceId()
PortletIdCodec.generateInstanceId()
@Deprecated public static java.lang.String getInstanceId(java.lang.String portletId)
PortletIdCodec.decodeInstanceId(String)
portletId
- the portlet ID@Deprecated public static java.lang.String getRootPortletId(java.lang.String portletId)
PortletIdCodec.decodePortletName(String)
portletId
- the portlet ID@Deprecated public static long getUserId(java.lang.String portletId)
PortletIdCodec.decodeUserId(String)
portletId
- the portlet ID@Deprecated public static boolean hasIdenticalRootPortletId(java.lang.String portletId1, java.lang.String portletId2)
@Deprecated public static boolean hasInstanceId(java.lang.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(java.lang.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