Class IdEntityField

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

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

    • IdEntityField

      public IdEntityField(String name, Function<Locale,String> filterableAndSortableFieldNameFunction, Function<Object,String> filterableFieldValueFunction)
      Creates a new IdEntityField 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
      filterableAndSortableFieldNameFunction - the Function that converts the entity field's name to a filterable/sortable field name for a locale
      filterableFieldValueFunction - the Function that converts the entity field's value to a filterable field value