Class DateEntityField

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

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

    • DateEntityField

      public DateEntityField(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
    • DateEntityField

      public DateEntityField(String name, Function<Locale,String> sortableFieldNameFunction, Function<Locale,String> filterableFieldNameFunction, Function<Object,String> filterableFieldValueFunction)
      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