Package com.liferay.portal.odata.entity
Class DateTimeEntityField
java.lang.Object
com.liferay.portal.odata.entity.EntityField
com.liferay.portal.odata.entity.DateTimeEntityField
Models an date entity field. A Entity field with a type
EntityField.Type.DATE_TIME-
Nested Class Summary
Nested classes/interfaces inherited from class com.liferay.portal.odata.entity.EntityField
EntityField.Type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.liferay.portal.odata.entity.EntityField
getFilterableName, getFilterableValue, getName, getSortableName, getType, toString
-
Constructor Details
-
DateTimeEntityField
public DateTimeEntityField(String name, Function<Locale, String> sortableFieldNameFunction, Function<Locale, String> filterableFieldNameFunction) Creates a newEntityFieldwith aFunctionto convert the entity field's name to a filterable/sortable field name for a locale.- Parameters:
name- the entity field's namesortableFieldNameFunction- the sortable field nameFunctionfilterableFieldNameFunction- the filterable field nameFunction
-