org.apache.jetspeed.util
Class JetspeedObjectID
java.lang.Object
org.apache.jetspeed.util.JetspeedObjectID
- All Implemented Interfaces:
- org.apache.pluto.om.common.ObjectID, PortalObjectID, Serializable
- public class JetspeedObjectID
- extends Object
- implements PortalObjectID, Serializable
JetspeedObjectID
Wraps around the internal Object IDs. By holding both
the string and the integer version of an Object ID this class
helps speed up the internal processing.
- Version:
- $Id: JetspeedObjectID.java 186388 2004-04-24 19:05:54Z taylor $
- See Also:
- Serialized Form
stringOID
private String stringOID
oid
private long oid
JetspeedObjectID
public JetspeedObjectID(long oid)
JetspeedObjectID
public JetspeedObjectID(long oid,
String stringOID)
equals
public boolean equals(Object object)
hashCode
public int hashCode()
toString
public String toString()
longValue
public long longValue()
createFromString
public static JetspeedObjectID createFromString(String idStr)
createPortletEntityId
public static JetspeedObjectID createPortletEntityId(org.apache.pluto.om.portlet.PortletDefinition portletDefinition,
String instanceName)
- Parameters:
portletDefinition
- instanceName
-
- Returns:
getOID
public long getOID()
- Specified by:
getOID
in interface PortalObjectID
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.