Class DateTimeEntityField

java.lang.Object
com.liferay.portal.odata.entity.EntityField
com.liferay.portal.odata.entity.DateTimeEntityField

public class DateTimeEntityField extends EntityField
Models an date entity field. A Entity field with a type EntityField.Type.DATE_TIME
  • Constructor Details

    • DateTimeEntityField

      public DateTimeEntityField(String name, Function<Locale,String> sortableFieldNameFunction, Function<Locale,String> filterableFieldNameFunction)
      Creates a new EntityField with a Function to convert the entity field's name to a filterable/sortable field name for a locale.
      Parameters:
      name - the entity field's name
      sortableFieldNameFunction - the sortable field name Function
      filterableFieldNameFunction - the filterable field name Function