Class CmsResourceTableProperty.DateConverter

java.lang.Object
org.opencms.ui.components.CmsResourceTableProperty.DateConverter
All Implemented Interfaces:
com.vaadin.v7.data.util.converter.Converter<String,Long>, Serializable
Enclosing class:
CmsResourceTableProperty

public static class CmsResourceTableProperty.DateConverter extends Object implements com.vaadin.v7.data.util.converter.Converter<String,Long>
Converter for dates represented by their time stamp.

See Also:
  • Constructor Details

  • Method Details

    • convertToModel

      public Long convertToModel(String value, Class<? extends Long> targetType, Locale locale) throws com.vaadin.v7.data.util.converter.Converter.ConversionException
      Specified by:
      convertToModel in interface com.vaadin.v7.data.util.converter.Converter<String,Long>
      Throws:
      com.vaadin.v7.data.util.converter.Converter.ConversionException
      See Also:
      • Converter.convertToModel(java.lang.Object, java.lang.Class, java.util.Locale)
    • convertToPresentation

      public String convertToPresentation(Long value, Class<? extends String> targetType, Locale locale) throws com.vaadin.v7.data.util.converter.Converter.ConversionException
      Specified by:
      convertToPresentation in interface com.vaadin.v7.data.util.converter.Converter<String,Long>
      Throws:
      com.vaadin.v7.data.util.converter.Converter.ConversionException
      See Also:
      • Converter.convertToPresentation(java.lang.Object, java.lang.Class, java.util.Locale)
    • getModelType

      public Class<Long> getModelType()
      Specified by:
      getModelType in interface com.vaadin.v7.data.util.converter.Converter<String,Long>
      See Also:
      • Converter.getModelType()
    • getPresentationType

      Specified by:
      getPresentationType in interface com.vaadin.v7.data.util.converter.Converter<String,Long>
      See Also:
      • Converter.getPresentationType()