|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.PortletConstants
public class PortletConstants
Field Summary | |
---|---|
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
Instance separator. |
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
User separator. |
static String |
WAR_SEPARATOR
War file separator. |
Constructor Summary | |
---|---|
PortletConstants()
|
Method Summary | |
---|---|
static String |
assemblePortletId(String portletId,
long userId)
Returns a properly assembled portlet ID from the parameters passed. |
static String |
assemblePortletId(String portletId,
long userId,
String instanceId)
Returns a properly assembled portlet ID from the parameters passed. |
static String |
assemblePortletId(String portletId,
String instanceId)
Returns a properly assembled portlet ID from the parameters passed. |
static String |
getInstanceId(String portletId)
Returns the instance ID of the portlet. |
static String |
getRootPortletId(String portletId)
Returns the root portlet ID of the portlet. |
static long |
getUserId(String portletId)
Returns the user ID of the portlet. |
static boolean |
hasIdenticalRootPortletId(String portletId1,
String portletId2)
|
static boolean |
hasInstanceId(String portletId)
Returns true if the portlet ID contains an instance ID. |
static boolean |
hasUserId(String portletId)
Returns true if the portlet ID contains a user ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_PREFERENCES
public static final String FACEBOOK_INTEGRATION_FBML
public static final String FACEBOOK_INTEGRATION_IFRAME
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
public static final String USER_SEPARATOR
public static final String WAR_SEPARATOR
Constructor Detail |
---|
public PortletConstants()
Method Detail |
---|
public static String assemblePortletId(String portletId, long userId)
portletId
- the portlet IDuserId
- a user ID
public static String assemblePortletId(String portletId, long userId, String instanceId)
portletId
- the portlet IDuserId
- the user IDinstanceId
- an instance ID
public static String assemblePortletId(String portletId, String instanceId)
portletId
- the portlet IDinstanceId
- an instance ID
public static String getInstanceId(String portletId)
portletId
- the portlet ID
public static String getRootPortletId(String portletId)
portletId
- the portlet ID
public static long getUserId(String portletId)
portletId
- the portlet ID
public static boolean hasIdenticalRootPortletId(String portletId1, String portletId2)
public static boolean hasInstanceId(String portletId)
true
if the portlet ID contains an instance ID.
portletId
- the portlet ID
true
if the portlet ID contains an instance ID;
false
otherwisepublic static boolean hasUserId(String portletId)
true
if the portlet ID contains a user ID.
portletId
- the portlet ID
true
if the portlet ID contains a user ID;
false
otherwise
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |