com.ibm.portal.runtime
Interface RuntimeLocator<E>

All Known Subinterfaces:
RuntimeClientListLocator<T>

public interface RuntimeLocator<E>

Runtime-aware version of Locator.


Method Summary
 E findByID(RuntimeContext aRuntimeContext, ObjectID anObjectID)
          Returns an entity of a model with the given ID.
 E findByUniqueName(RuntimeContext aRuntimeContext, java.lang.String aName)
          Returns an entity of a model with the given name.
 

Method Detail

findByID

E findByID(RuntimeContext aRuntimeContext,
           ObjectID anObjectID)
Returns an entity of a model with the given ID.

Parameters:
aRuntimeContext - the current runtime context
anObjectID - the id of the object to find.
Returns:
the element of the tree with the given object ID or null if the element cannot be found.

findByUniqueName

E findByUniqueName(RuntimeContext aRuntimeContext,
                   java.lang.String aName)
Returns an entity of a model with the given name.

Parameters:
aRuntimeContext - the current runtime context
aName - the name of the object to find.
Returns:
the element of the tree with the given name or null if the element cannot be found.