public interface ItemSelector
ItemSelectorRendering and the
PortletURL for the item selector.| Modifier and Type | Method and Description |
|---|---|
java.util.List<ItemSelectorCriterion> |
getItemSelectorCriteria(java.util.Map<java.lang.String,java.lang.String[]> parameters) |
ItemSelectorRendering |
getItemSelectorRendering(com.liferay.portal.kernel.portlet.RequestBackedPortletURLFactory requestBackedPortletURLFactory,
java.util.Map<java.lang.String,java.lang.String[]> parameters,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns the
ItemSelectorRendering according to the parameters. |
javax.portlet.PortletURL |
getItemSelectorURL(com.liferay.portal.kernel.portlet.RequestBackedPortletURLFactory requestBackedPortletURLFactory,
com.liferay.portal.kernel.model.Group group,
long refererGroupId,
java.lang.String itemSelectedEventName,
ItemSelectorCriterion... itemSelectorCriteria)
Returns a generated item selector
PortletURL according to the
parameters. |
javax.portlet.PortletURL |
getItemSelectorURL(com.liferay.portal.kernel.portlet.RequestBackedPortletURLFactory requestBackedPortletURLFactory,
java.lang.String itemSelectedEventName,
ItemSelectorCriterion... itemSelectorCriteria)
Returns a generated item selector
PortletURL according to the
parameters. |
java.util.List<ItemSelectorCriterion> getItemSelectorCriteria(java.util.Map<java.lang.String,java.lang.String[]> parameters)
ItemSelectorRendering getItemSelectorRendering(com.liferay.portal.kernel.portlet.RequestBackedPortletURLFactory requestBackedPortletURLFactory, java.util.Map<java.lang.String,java.lang.String[]> parameters, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
ItemSelectorRendering according to the parameters.requestBackedPortletURLFactory - the factory used to generate the
PortletURLparameters - the map of parameters received in the URL. The item
selector framework uses them to get and render the views.themeDisplay - the current theme displayItemSelectorRenderingjavax.portlet.PortletURL getItemSelectorURL(com.liferay.portal.kernel.portlet.RequestBackedPortletURLFactory requestBackedPortletURLFactory,
com.liferay.portal.kernel.model.Group group,
long refererGroupId,
java.lang.String itemSelectedEventName,
ItemSelectorCriterion... itemSelectorCriteria)
PortletURL according to the
parameters. This method is not recommended for external use. The client
should use it to render the item selector and show the selection views
scoped to the group matching the ItemSelectorCriterion and ItemSelectorReturnType.requestBackedPortletURLFactory - the factory used to generate the
PortletURLgroup - the group from which to select itemsrefererGroupId - the group ID of the item selector clientitemSelectedEventName - the event name for views to fireitemSelectorCriteria - an array of criteria for the item selector
to use to retrieve viewsPortletURLjavax.portlet.PortletURL getItemSelectorURL(com.liferay.portal.kernel.portlet.RequestBackedPortletURLFactory requestBackedPortletURLFactory,
java.lang.String itemSelectedEventName,
ItemSelectorCriterion... itemSelectorCriteria)
PortletURL according to the
parameters. The client should call this method to render the item
selector and show the selection views matching the ItemSelectorCriterion and ItemSelectorReturnType.requestBackedPortletURLFactory - the factory used to generate the
PortletURLitemSelectedEventName - the event name for views to fireitemSelectorCriteria - an array of criteria for the item selector
to use to retrieve the viewsPortletURL