Liferay 7.0-ce-b4

com.liferay.portal.model
Class PortletInstance

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

public class PortletInstance
extends Object


Field Summary
static int PORTLET_INSTANCE_KEY_MAX_LENGTH
           
 
Constructor Summary
PortletInstance(String portletName)
           
PortletInstance(String portletName, long userId)
           
PortletInstance(String portletName, long userId, String instanceId)
           
PortletInstance(String portletName, String instanceId)
           
 
Method Summary
static PortletInstance fromPortletInstanceKey(String portletInstanceKey)
           
 String getInstanceId()
           
 String getPortletInstanceKey()
           
 String getPortletName()
           
 long getUserId()
           
 boolean hasIdenticalPortletName(PortletInstance portletInstance)
           
 boolean hasIdenticalPortletName(String portletName)
           
 boolean hasInstanceId()
           
 boolean hasUserId()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PORTLET_INSTANCE_KEY_MAX_LENGTH

public static final int PORTLET_INSTANCE_KEY_MAX_LENGTH
Constructor Detail

PortletInstance

public PortletInstance(String portletName)

PortletInstance

public PortletInstance(String portletName,
                       long userId)

PortletInstance

public PortletInstance(String portletName,
                       long userId,
                       String instanceId)

PortletInstance

public PortletInstance(String portletName,
                       String instanceId)
Method Detail

fromPortletInstanceKey

public static PortletInstance fromPortletInstanceKey(String portletInstanceKey)

getInstanceId

public String getInstanceId()

getPortletInstanceKey

public String getPortletInstanceKey()

getPortletName

public String getPortletName()

getUserId

public long getUserId()

hasIdenticalPortletName

public boolean hasIdenticalPortletName(PortletInstance portletInstance)

hasIdenticalPortletName

public boolean hasIdenticalPortletName(String portletName)

hasInstanceId

public boolean hasInstanceId()

hasUserId

public boolean hasUserId()

toString

public String toString()
Overrides:
toString in class Object

Liferay 7.0-ce-b4