org.jasig.portal.portlet.registry
Class PortletEntityIdImpl

java.lang.Object
  extended by org.jasig.portal.portlet.registry.PortletEntityIdImpl
All Implemented Interfaces:
Serializable, IObjectId, IPortletEntityId

public class PortletEntityIdImpl
extends Object
implements IPortletEntityId

Standard IPortletEntityId

Version:
$Revision: 22001 $
Author:
Eric Dalquist
See Also:
Serialized Form

Constructor Summary
PortletEntityIdImpl(IPortletDefinitionId portletDefinitionId, String channelSubscribeId, int userId)
           
PortletEntityIdImpl(String portletEntityId)
          Constructor that takes a previously constructed entity ID.
 
Method Summary
 boolean equals(Object obj)
           
 String getStringId()
          Returns the unique string ID of a object
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortletEntityIdImpl

public PortletEntityIdImpl(String portletEntityId)
Constructor that takes a previously constructed entity ID. If not of the correct syntax an IllegalArgumentException is thrown.


PortletEntityIdImpl

public PortletEntityIdImpl(IPortletDefinitionId portletDefinitionId,
                           String channelSubscribeId,
                           int userId)
Method Detail

getStringId

public String getStringId()
Description copied from interface: IObjectId
Returns the unique string ID of a object

Depending on the implementation of toString() is dangerous, because the original implementation in Object is not qualified.

Specified by:
getStringId in interface IObjectId
Returns:
the unique string ID of a object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Jasig. All Rights Reserved.