com.ibm.portal.mappingurl
Interface Context

All Superinterfaces:
Identifiable

Deprecated.

public interface Context
extends Identifiable

This interface describes a context of the Mapping URL Model. A context is always associated with at least one label. Note: Only characters allowed in URLs are allowed for the label.
Contexts are hierarchically structured. The parent of a context as well as its children can be obtained via the appropriate methods of the MappingURLModel. Contexts can be located via the MappingURLLocator, providing a compound name.
To each context exactly one Portal Resource can be assigned.

Since:
8.0

Method Summary
 java.lang.Object getAssignedObject()
          Deprecated. Returns the resource assigned to this context.
 ObjectType getAssignedObjectType()
          Deprecated. Returns the resource type of the assigned resource.
 java.lang.String getLabel()
          Deprecated. Returns the first label of the context.
 java.util.Iterator<java.lang.String> getLabels()
          Deprecated. Returns all labels of the context.
 
Methods inherited from interface com.ibm.portal.Identifiable
getObjectID
 

Method Detail

getLabel

java.lang.String getLabel()
Deprecated. 
Returns the first label of the context.

Returns:
String The label of the context.

getLabels

java.util.Iterator<java.lang.String> getLabels()
Deprecated. 
Returns all labels of the context.

Returns:
Iterator An iterator over all labels of the context as Strings.

getAssignedObjectType

ObjectType getAssignedObjectType()
Deprecated. 
Returns the resource type of the assigned resource.

Returns:
ResourceType The ResourceType of the assigned resource.

getAssignedObject

java.lang.Object getAssignedObject()
                                   throws ModelException
Deprecated. 
Returns the resource assigned to this context.

Returns:
Object The object assigned to this context.
Throws:
ModelException - Throws exception if the assigned object could not be retrieved.