public interface SegmentsCriteriaContributor
Criteria by adding
more filters.| Modifier and Type | Method and Description |
|---|---|
default void |
contribute(Criteria criteria,
java.lang.String filterString,
Criteria.Conjunction conjunction)
Contributes a criterion to a segment criteria.
|
default Criteria.Criterion |
getCriterion(Criteria criteria)
Returns the contributed criterion from a criteria.
|
com.liferay.portal.odata.entity.EntityModel |
getEntityModel()
Returns the entity model associated to the contributor.
|
java.lang.String |
getEntityName()
Returns the name of the entity model associated to the contributor.
|
java.util.List<Field> |
getFields(javax.portlet.PortletRequest portletRequest)
Returns the list of fields that are supported by this contributor.
|
java.lang.String |
getKey()
Returns the contributor's key.
|
default java.lang.String |
getLabel(java.util.Locale locale)
Returns the label displayed in the user interface.
|
Criteria.Type |
getType()
Returns the contributor's type.
|
default void contribute(Criteria criteria, java.lang.String filterString, Criteria.Conjunction conjunction)
criteria - the criteriafilterString - the filter of the criterion as a stringconjunction - the conjunction of the criteriondefault Criteria.Criterion getCriterion(Criteria criteria)
criteria - the criteriacom.liferay.portal.odata.entity.EntityModel getEntityModel()
java.lang.String getEntityName()
java.util.List<Field> getFields(javax.portlet.PortletRequest portletRequest)
portletRequest - the portlet requestjava.lang.String getKey()
default java.lang.String getLabel(java.util.Locale locale)
Criteria.Type getType()
Criteria.Type.