Browse Source

Removed combined

Andrew Grant 1 month ago
parent
commit
500cfcb2c1

+ 0 - 20
src/main/java/scot/carricksoftware/grants/combined/Combined.java

@@ -1,20 +0,0 @@
-/*
- * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
- *
- */
-
-package scot.carricksoftware.grants.combined;
-
-public interface Combined {
-    String getContentType();
-
-    void setContentType(String contentType);
-
-    String getOrder();
-
-    void setOrder(String order);
-
-    Long getContentId();
-
-    void setContentId(Long contentId);
-}

+ 0 - 26
src/main/java/scot/carricksoftware/grants/combined/CombinedContentList.java

@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
- *
- */
-
-package scot.carricksoftware.grants.combined;
-
-import scot.carricksoftware.grants.domains.images.Image;
-
-import java.util.List;
-
-public interface CombinedContentList {
-    @SuppressWarnings("EmptyMethod")
-    void addPersonImage(Image image);
-
-    @SuppressWarnings("EmptyMethod")
-    void addPersonText(List<Image> images);
-
-    @SuppressWarnings("EmptyMethod")
-    void sort();
-
-    List<Combined> getList();
-
-    @SuppressWarnings("EmptyMethod")
-    void clear();
-}

+ 0 - 42
src/main/java/scot/carricksoftware/grants/combined/CombinedContentListImpl.java

@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
- *
- */
-
-package scot.carricksoftware.grants.combined;
-
-import scot.carricksoftware.grants.domains.images.Image;
-
-import java.util.List;
-
-public class CombinedContentListImpl implements CombinedContentList {
-
-    private List<Combined> combinedList;
-
-    @Override
-    public void addPersonImage(Image image) {
-
-    }
-
-    @Override
-    public void addPersonText(List<Image> images) {
-
-    }
-
-    @Override
-    public void sort() {
-
-    }
-
-    @Override
-    public List<Combined> getList() {
-        return this.combinedList;
-    }
-
-    @Override
-    public void clear() {
-
-    }
-
-
-}

+ 0 - 18
src/main/java/scot/carricksoftware/grants/combined/CombinedContentType.java

@@ -1,18 +0,0 @@
-/*
- * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
- *
- */
-
-package scot.carricksoftware.grants.combined;
-
-public enum CombinedContentType {
-
-    TEXT("text"),
-    IMAGE("image");
-
-    public final String label;
-
-    CombinedContentType(String label) {
-        this.label = label;
-    }
-}

+ 0 - 43
src/main/java/scot/carricksoftware/grants/combined/CombinedImpl.java

@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
- *
- */
-
-package scot.carricksoftware.grants.combined;
-
-public class CombinedImpl implements Combined {
-
-    private String contentType;
-    private String order;
-    private Long contentId;
-
-    @Override
-    public String getContentType() {
-        return contentType;
-    }
-
-    @Override
-    public void setContentType(String contentType) {
-        this.contentType = contentType;
-    }
-
-    @Override
-    public String getOrder() {
-        return order;
-    }
-
-    @Override
-    public void setOrder(String order) {
-        this.order = order;
-    }
-
-    @Override
-    public Long getContentId() {
-        return contentId;
-    }
-
-    @Override
-    public void setContentId(Long contentId) {
-        this.contentId = contentId;
-    }
-}