com.ibm.portal
Interface ObjectID

All Superinterfaces:
Identifiable

public interface ObjectID
extends Identifiable

Represents a unique identifier for a resource in Portal. ObjectIDs can be used to load persistent resources from the database and they represent the linking between persistent resources in the database.

Since:
5.1

Nested Class Summary
static interface ObjectID.Deserializer
          Reads ObjectIDs.
static interface ObjectID.Serializer
          Writes ObjectIDs.
 
Method Summary
 ObjectType getObjectType()
          Returns the type of the resource that is identified by this ObjectID.
 com.ibm.portal.ResourceType getResourceType()
          Deprecated. use getObjectType() instead
 java.lang.String getUniqueName()
          Returns the unique name that corresponds to this ObjectID
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 

Method Detail

getResourceType

com.ibm.portal.ResourceType getResourceType()
Deprecated. use getObjectType() instead

Returns the type of the resource that is identified by this ObjectID.

Returns:
the type of the resource that is identified by this ObjectID, can never be null.

getObjectType

ObjectType getObjectType()
Returns the type of the resource that is identified by this ObjectID.

Returns:
the type of the resource that is identified by this ObjectID, can never be null.

getUniqueName

java.lang.String getUniqueName()
Returns the unique name that corresponds to this ObjectID

Returns:
the corresponding unique name or null if no unique name defined for the ObjectID