Class SubtopicServiceImpl

  • All Implemented Interfaces:
    EntityPartService<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic,​de.digitalcollections.model.api.identifiable.entity.Entity>, SubtopicService, IdentifiableService<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic>, NodeService<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic>

    @Service
    public class SubtopicServiceImpl
    extends EntityPartServiceImpl<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic,​de.digitalcollections.model.api.identifiable.entity.Entity>
    implements SubtopicService
    Service for Subtopic handling.
    • Constructor Detail

      • SubtopicServiceImpl

        @Autowired
        public SubtopicServiceImpl​(SubtopicRepository repository)
    • Method Detail

      • getChildren

        public List<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic> getChildren​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic)
        Specified by:
        getChildren in interface NodeService<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic>
      • getChildren

        public List<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic> getChildren​(UUID uuid)
        Specified by:
        getChildren in interface NodeService<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic>
      • getChildren

        public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic> getChildren​(UUID uuid,
                                                                                                                                                   de.digitalcollections.model.api.paging.PageRequest pageRequest)
        Specified by:
        getChildren in interface NodeService<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic>
      • getEntities

        public List<de.digitalcollections.model.api.identifiable.entity.Entity> getEntities​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic)
        Specified by:
        getEntities in interface SubtopicService
      • getEntities

        public List<de.digitalcollections.model.api.identifiable.entity.Entity> getEntities​(UUID subtopicUuid)
        Specified by:
        getEntities in interface SubtopicService
      • getParent

        public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic getParent​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic node)
        Specified by:
        getParent in interface NodeService<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic>
      • getParent

        public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic getParent​(UUID nodeUuid)
        Specified by:
        getParent in interface NodeService<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic>
      • saveEntities

        public List<de.digitalcollections.model.api.identifiable.entity.Entity> saveEntities​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic,
                                                                                             List<de.digitalcollections.model.api.identifiable.entity.Entity> entities)
        Specified by:
        saveEntities in interface SubtopicService
      • saveEntities

        public List<de.digitalcollections.model.api.identifiable.entity.Entity> saveEntities​(UUID subtopicUuid,
                                                                                             List<de.digitalcollections.model.api.identifiable.entity.Entity> entities)
        Specified by:
        saveEntities in interface SubtopicService
      • getFileResources

        public List<de.digitalcollections.model.api.identifiable.resource.FileResource> getFileResources​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic)
        Specified by:
        getFileResources in interface SubtopicService
      • getFileResources

        public List<de.digitalcollections.model.api.identifiable.resource.FileResource> getFileResources​(UUID subtopicUuid)
        Specified by:
        getFileResources in interface SubtopicService
      • saveFileResources

        public List<de.digitalcollections.model.api.identifiable.resource.FileResource> saveFileResources​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic,
                                                                                                          List<de.digitalcollections.model.api.identifiable.resource.FileResource> fileResources)
        Specified by:
        saveFileResources in interface SubtopicService
      • saveFileResources

        public List<de.digitalcollections.model.api.identifiable.resource.FileResource> saveFileResources​(UUID subtopicUuid,
                                                                                                          List<de.digitalcollections.model.api.identifiable.resource.FileResource> fileResources)
        Specified by:
        saveFileResources in interface SubtopicService