Class PortletIdCodec
Object
com.liferay.portal.kernel.portlet.PortletIdCodec
- Author:
- Tina Tian
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
decodeInstanceId
(String portletId) static String
decodePortletName
(String portletId) static long
decodeUserId
(String portletId) static ObjectValuePair<Long,
String> decodeUserIdAndInstanceId
(String userIdAndInstanceId) static String
static String
static String
static String
static String
encodeUserIdAndInstanceId
(long userId, String instanceId) static String
static boolean
hasInstanceId
(String portletId) static boolean
static void
validatePortletName
(String portletName)
-
Field Details
-
PORTLET_INSTANCE_KEY_MAX_LENGTH
public static final int PORTLET_INSTANCE_KEY_MAX_LENGTH
-
-
Constructor Details
-
PortletIdCodec
public PortletIdCodec()
-
-
Method Details
-
decodeInstanceId
-
decodePortletName
-
decodeUserId
-
decodeUserIdAndInstanceId
-
encode
-
encode
-
encode
-
encode
-
encodeUserIdAndInstanceId
-
generateInstanceId
-
hasInstanceId
-
hasUserId
-
validatePortletName
-