Class StringToOrderConverter
java.lang.Object
de.digitalcollections.cudami.server.controller.converter.StringToOrderConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.GenericConverter
@Component
public class StringToOrderConverter
extends java.lang.Object
implements org.springframework.core.convert.converter.GenericConverter
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description StringToOrderConverter() -
Method Summary
Modifier and Type Method Description de.digitalcollections.model.api.paging.Orderconvert(java.lang.Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair>getConvertibleTypes()
-
Constructor Details
-
StringToOrderConverter
public StringToOrderConverter()
-
-
Method Details
-
convert
public de.digitalcollections.model.api.paging.Order convert(java.lang.Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)- Specified by:
convertin interfaceorg.springframework.core.convert.converter.GenericConverter
-
getConvertibleTypes
public java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()- Specified by:
getConvertibleTypesin interfaceorg.springframework.core.convert.converter.GenericConverter
-