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
Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter
org.springframework.core.convert.converter.GenericConverter.ConvertiblePair -
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()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-