Package com.liferay.item.selector
Class BaseItemSelectorCriterion
java.lang.Object
com.liferay.item.selector.BaseItemSelectorCriterion
- All Implemented Interfaces:
ItemSelectorCriterion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the desired return types that the caller expects and can handle, ordered by preference.voidsetDesiredItemSelectorReturnTypes(ItemSelectorReturnType... desiredItemSelectorReturnType) voidsetDesiredItemSelectorReturnTypes(List<ItemSelectorReturnType> desiredItemSelectorReturnTypes) Sets a list of desired return types that the caller expects and can handle, ordered by preference.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.item.selector.ItemSelectorCriterion
getMimeTypeRestriction
-
Constructor Details
-
BaseItemSelectorCriterion
public BaseItemSelectorCriterion()
-
-
Method Details
-
getDesiredItemSelectorReturnTypes
Description copied from interface:ItemSelectorCriterionReturns the desired return types that the caller expects and can handle, ordered by preference.The order of return types is important because the first return type that can be used will be used.
- Specified by:
getDesiredItemSelectorReturnTypesin interfaceItemSelectorCriterion- Returns:
- the return types ordered by preference
-
setDesiredItemSelectorReturnTypes
public void setDesiredItemSelectorReturnTypes(ItemSelectorReturnType... desiredItemSelectorReturnType) - Specified by:
setDesiredItemSelectorReturnTypesin interfaceItemSelectorCriterion
-
setDesiredItemSelectorReturnTypes
public void setDesiredItemSelectorReturnTypes(List<ItemSelectorReturnType> desiredItemSelectorReturnTypes) Description copied from interface:ItemSelectorCriterionSets a list of desired return types that the caller expects and can handle, ordered by preference.The order of return types is important because the first return type that can be used will be used.
- Specified by:
setDesiredItemSelectorReturnTypesin interfaceItemSelectorCriterion- Parameters:
desiredItemSelectorReturnTypes- a preference ordered list of the return types the caller can handle
-