Class 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>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter

        org.springframework.core.convert.converter.GenericConverter.ConvertiblePair
    • Constructor Detail

      • NodeRefConverter

        public NodeRefConverter()
    • Method Detail

      • matches

        public boolean matches​(org.springframework.core.convert.TypeDescriptor sourceType,
                               org.springframework.core.convert.TypeDescriptor targetType)
        Specified by:
        matches in interface org.springframework.core.convert.converter.ConditionalConverter
      • getConvertibleTypes

        public Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
        Specified by:
        getConvertibleTypes in interface org.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:
        convert in interface org.springframework.core.convert.converter.GenericConverter
      • convert

        public org.alfresco.service.cmr.repository.NodeRef convert​(String source)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<String,​org.alfresco.service.cmr.repository.NodeRef>