Class NodeRefConverter
- java.lang.Object
-
- com.gradecak.alfresco.mvc.rest.converter.NodeRefConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.ConditionalConverter,org.springframework.core.convert.converter.ConditionalGenericConverter,org.springframework.core.convert.converter.Converter<String,org.alfresco.service.cmr.repository.NodeRef>,org.springframework.core.convert.converter.GenericConverter
public class NodeRefConverter extends Object implements org.springframework.core.convert.converter.ConditionalGenericConverter, org.springframework.core.convert.converter.Converter<String,org.alfresco.service.cmr.repository.NodeRef>
-
-
Constructor Summary
Constructors Constructor Description NodeRefConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectconvert(Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)org.alfresco.service.cmr.repository.NodeRefconvert(String source)Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair>getConvertibleTypes()booleanmatches(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
-
-
-
Method Detail
-
matches
public boolean matches(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)- Specified by:
matchesin interfaceorg.springframework.core.convert.converter.ConditionalConverter
-
getConvertibleTypes
public Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
- Specified by:
getConvertibleTypesin interfaceorg.springframework.core.convert.converter.GenericConverter
-
convert
public Object convert(Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.GenericConverter
-
-