Class CommunityConverter

    • Constructor Detail

      • CommunityConverter

        public CommunityConverter()
    • Method Detail

      • getModelClass

        public Class<org.dspace.content.Community> getModelClass()
        Description copied from interface: DSpaceConverter
        For what DSpace API model class does this converter convert?
        Specified by:
        getModelClass in interface DSpaceConverter<org.dspace.content.Community,​CommunityRest>
        Returns:
        Class of model objects represented.
      • supportsModel

        public boolean supportsModel​(org.dspace.discovery.IndexableObject idxo)
        Specified by:
        supportsModel in interface IndexableObjectConverter<org.dspace.content.Community,​CommunityRest>
        Parameters:
        idxo - the IndexableObject to check
        Returns:
        true if the actual converter implementation is able to manage the supplied IndexableObject