public interface PortletToolbarContributorLocator
PortletToolbarContributor
instances that extend the portlet toolbar by
adding more elements.
Implementations of this class must use the OSGI Registry to return PortletToolbarContributor
implementations. The way that the PortletToolbarContributor
s are registered in OSGI Registry must be
synchronized with the way that implementations of this class searches for
them.
Typically, implementations of this class leverage the MVC pattern used the by the portlet. This allows for different extensions to the portlet toolbar for different views of the portlet.
Implementations of this class must be OSGI components.
Modifier and Type | Method and Description |
---|---|
List<PortletToolbarContributor> |
getPortletToolbarContributors(String portletId,
PortletRequest portletRequest)
Returns portlet toolbar contributors for a particular portlet and
request.
|
List<PortletToolbarContributor> getPortletToolbarContributors(String portletId, PortletRequest portletRequest)
portletId
- the portlet's IDportletRequest
- the portlet request