com.ibm.portal.pcm.dialog.model
Interface TransitionEndpointLocator<E extends java.lang.Object & TransitionEndpoint>

Type Parameters:
E -
All Superinterfaces:
Locator<E>, MetaDataLocator<java.lang.String,E>

public interface TransitionEndpointLocator<E extends java.lang.Object & TransitionEndpoint>
extends Locator<E>, MetaDataLocator<java.lang.String,E>

A locator for finding TransitionEndpoints in a transition endpoint model. This locator interface is optionally implemented by TransitionEndpointModel implementations.

Since:
8.0.0
See Also:
TransitionEndpoint

Method Summary
 E findByName(java.lang.String name)
          Finds the transition endpoint with the given name.
 IterableListModel<E> findByPortalResourceID(ObjectID portalResourceObjectID)
          Finds the transition endpoints for the given portal resource ObjectID.
 IterableListModel<E> findByPortalResourceID(ObjectID resourceObjectID, ReferencedResource.ResourceType resourceType)
          Finds the transition endpoints for the given portal resource ObjectID and the given resource type.
 IterableListModel<E> findByReferencedResourceMetaDataKeys(java.util.Collection<java.lang.String> metaDataKeys)
          Finds the transition endpoints which are referenced by the provided meta data keys.
 
Methods inherited from interface com.ibm.portal.MetaDataLocator
findByMetaData, findSingleByMetaData
 
Methods inherited from interface com.ibm.portal.Locator
findByID, findByUniqueName
 

Method Detail

findByName

E findByName(java.lang.String name)
Finds the transition endpoint with the given name.

Parameters:
name - The name of the transition endpoint to search for. Must not be null.
Returns:
The TransitionEndpoint with the given name in the scope of the providing transition endpoint model or null if it does not exist.

findByPortalResourceID

IterableListModel<E> findByPortalResourceID(ObjectID portalResourceObjectID)
Finds the transition endpoints for the given portal resource ObjectID.

Parameters:
portalResourceObjectID - The ObjectID of the portal resource to search transition endpoints for.
Returns:
A list of TransitionEndpoints for registered for the given resource ObjectID in the scope of the providing transition endpoint model. The result list can be empty, but is never null.

findByPortalResourceID

IterableListModel<E> findByPortalResourceID(ObjectID resourceObjectID,
                                            ReferencedResource.ResourceType resourceType)
Finds the transition endpoints for the given portal resource ObjectID and the given resource type.

Parameters:
resourceObjectID - The ObjectID of the portal resource to search transition endpoints for.
resourceType - The ReferencedResource.ResourceType of the referenced portal resource.
Returns:
A list of TransitionEndpoints for registered for the given resource ObjectID in the scope of the providing transition endpoint model. The result list can be empty, but is never null.

findByReferencedResourceMetaDataKeys

IterableListModel<E> findByReferencedResourceMetaDataKeys(java.util.Collection<java.lang.String> metaDataKeys)
Finds the transition endpoints which are referenced by the provided meta data keys.

Parameters:
metaDataKeys - A collection of meta data keys to search for.
Returns:
A list of TransitionEndpoints which specified meta data keys as their referenced resource in the scope of the providing transition endpoint model. The result list can be empty, but is never null.