Interface PortletToolbarContributorLocator
public interface PortletToolbarContributorLocator
Provides an interface responsible for providing
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.
- Author:
- Sergio González
-
Method Summary
Modifier and TypeMethodDescriptiongetPortletToolbarContributors
(String portletId, PortletRequest portletRequest) Returns portlet toolbar contributors for a particular portlet and request.
-
Method Details
-
getPortletToolbarContributors
List<PortletToolbarContributor> getPortletToolbarContributors(String portletId, PortletRequest portletRequest) Returns portlet toolbar contributors for a particular portlet and request.- Parameters:
portletId
- the portlet's IDportletRequest
- the portlet request- Returns:
- portlet toolbar contributors for a particular portlet and request
-