Class StringEntityField

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

public class StringEntityField extends EntityField
Models a string entity field. An Entity field with a type EntityField.Type.STRING
  • Constructor Details

    • StringEntityField

      public StringEntityField(String name, Function<Locale,String> filterableAndSortableFieldNameFunction)
      Creates a new StringEntityField 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
    • StringEntityField

      public StringEntityField(String name, Function<Locale,String> sortableFieldNameFunction, Function<Locale,String> filterableFieldNameFunction)
      Creates a new StringEntityField 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