com.ibm.portal
Interface LocatorProvider<E>
- All Known Subinterfaces:
- AdminPortletModelController, ClientList<T>, ClientListController<T,M>, CommonPortletModelController, CommunicationEndpointProvider<E>, ContentModel<E>, ContentModelController<T,M>, DeviceClassModel<E>, DialogModel<T>, LanguageList<E>, LayoutModel<E>, LayoutModelController<T,M>, MappingURLTreeModel, MarkupList<T>, MarkupListController<T,M>, NavigationModel<E>, NavigationSelectionModel<E>, PortletDefinitionList<T>, PortletList<E>, PortletModelController, PortletWindowList<T>, PublicRenderParameterList<T>, RatingModel<R>, RatingModelController<R,M>, ResourceModel<R>, ResourceModelController<R,M>, SearchableIterableListModel<E>, SearchableListModel<T>, SearchableListModelController<T,M>, SearchableTreeModel<E>, SearchableTreeModelController<T,M>, SelectionModel<T>, SkinList<T>, SkinListController<T,M>, TagModel<T>, TagModelController<T,M>, ThemeList<T>, ThemeListController<T,M>, TransitionEndpointModel<T>, TransitionModel<T>, VanityURLModel<T>, VanityURLModelController<E,M>, VirtualPortalList<T>, WebApplicationList<E>, WireModel<T>, WireModelController<T,M>
-
public interface LocatorProvider<E>
An interface providing a way to obtain a set of search methods.
Coding example:
Locator loc = provider.getLocator();
if (loc instanceof MyLocator) { String result = ((MyLocator) loc).myMethodCall();
...
} else { String result = loc.findByUniqueName("myUniqueName");
...
}
- Since:
- 5.1.0.1
- See Also:
- Locator
Method Summary
|
Locator<E> |
getLocator()
Return an interface that allows locating specific resources in a model. |
getLocator
Locator<E> getLocator()
- Returns an interface that allows locating specific resources in a model.
Some models may return specialized locators that inherit from the universal
locator interface.
- Returns:
- the search interface.