From 9599d5854380c3abc13469dbfde652d0099d143d Mon Sep 17 00:00:00 2001 From: Filip Izydorczyk Date: Wed, 23 Sep 2020 18:39:43 +0200 Subject: [PATCH] Removed unimplemented classes (no longer needed due to coneption changed) --- .../main/java/com/plannaplan/Acceptor.java | 9 ---- .../src/main/java/com/plannaplan/App.java | 46 ------------------- .../main/java/com/plannaplan/Assigner.java | 19 -------- .../src/main/java/com/plannaplan/Emailer.java | 9 ---- .../main/java/com/plannaplan/EventChcker.java | 13 ------ .../main/java/com/plannaplan/GroupAdder.java | 19 -------- .../main/java/com/plannaplan/GroupEditor.java | 11 ----- .../java/com/plannaplan/HistoryResolver.java | 14 ------ .../java/com/plannaplan/TransferCreator.java | 19 -------- .../com/plannaplan/TransferValidator.java | 19 -------- .../com/plannaplan/UnavailabilityAdder.java | 19 -------- .../plannaplan/abstracts/EventWatcher.java | 26 ----------- .../com/plannaplan/entities/Assignment.java | 24 ---------- .../java/com/plannaplan/entities/Event.java | 32 ------------- .../plannaplan/entities/HistoryElement.java | 25 ---------- .../com/plannaplan/entities/Transfer.java | 28 ----------- .../plannaplan/entities/Unavailability.java | 30 ------------ .../plannaplan/interfaces/EventCreator.java | 5 -- .../com/plannaplan/interfaces/Historable.java | 5 -- .../repositories/AssignmentRepository.java | 11 ----- .../repositories/EventRepository.java | 11 ----- .../repositories/HistoryRepository.java | 11 ----- .../repositories/TransferRepository.java | 11 ----- .../UnavailabilityRepository.java | 11 ----- .../services/AssignmentService.java | 17 ------- .../com/plannaplan/services/EventService.java | 12 ----- .../plannaplan/services/HistoryService.java | 12 ----- .../plannaplan/services/TransferService.java | 17 ------- .../services/UnavailabilityService.java | 12 ----- .../com/plannaplan/services/UserService.java | 3 +- .../security/AuthenticationProvider.java | 6 +-- 31 files changed, 4 insertions(+), 502 deletions(-) delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/Acceptor.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/App.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/Assigner.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/Emailer.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/EventChcker.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/GroupAdder.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/GroupEditor.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/HistoryResolver.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/TransferCreator.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/TransferValidator.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/UnavailabilityAdder.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/abstracts/EventWatcher.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/entities/Assignment.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/entities/Event.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/entities/HistoryElement.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/entities/Transfer.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/entities/Unavailability.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/interfaces/EventCreator.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/interfaces/Historable.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/repositories/AssignmentRepository.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/repositories/EventRepository.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/repositories/HistoryRepository.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/repositories/TransferRepository.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/repositories/UnavailabilityRepository.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/services/AssignmentService.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/services/EventService.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/services/HistoryService.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/services/TransferService.java delete mode 100755 buisnesslogic/src/main/java/com/plannaplan/services/UnavailabilityService.java diff --git a/buisnesslogic/src/main/java/com/plannaplan/Acceptor.java b/buisnesslogic/src/main/java/com/plannaplan/Acceptor.java deleted file mode 100755 index b549da9..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/Acceptor.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.plannaplan; - -public class Acceptor { - public Acceptor() { - } - - public void run() { - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/App.java b/buisnesslogic/src/main/java/com/plannaplan/App.java deleted file mode 100755 index 23725b2..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/App.java +++ /dev/null @@ -1,46 +0,0 @@ -package com.plannaplan; - -import java.util.Date; - -import com.plannaplan.types.AppStates; - -public class App { - private static App instance; - private Date round1; - private Date round2; - private AppStates state; - - private App() { - } - - public AppStates getState() { - return state; - } - - public void setState(AppStates state) { - this.state = state; - } - - public Date getRound2() { - return round2; - } - - public void setRound2(Date round2) { - this.round2 = round2; - } - - public Date getRound1() { - return round1; - } - - public void setRound1(Date round1) { - this.round1 = round1; - } - - public App getInstance() { - if (App.instance == null) { - App.instance = new App(); - } - return App.instance; - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/Assigner.java b/buisnesslogic/src/main/java/com/plannaplan/Assigner.java deleted file mode 100755 index 79dc1dc..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/Assigner.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.plannaplan; - -import com.plannaplan.interfaces.Historable; - -public class Assigner implements Historable { - - public Assigner() { - } - - public void assing() { - } - - @Override - public void addActionToHistory() { - // TODO Auto-generated method stub - - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/Emailer.java b/buisnesslogic/src/main/java/com/plannaplan/Emailer.java deleted file mode 100755 index 22ec932..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/Emailer.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.plannaplan; - -public class Emailer { - public Emailer() { - } - - public void performAllMails() { - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/EventChcker.java b/buisnesslogic/src/main/java/com/plannaplan/EventChcker.java deleted file mode 100755 index db8b927..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/EventChcker.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.plannaplan; - -import com.plannaplan.interfaces.EventCreator; - -public class EventChcker implements EventCreator { - - @Override - public void update() { - // TODO Auto-generated method stub - - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/GroupAdder.java b/buisnesslogic/src/main/java/com/plannaplan/GroupAdder.java deleted file mode 100755 index fec5d84..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/GroupAdder.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.plannaplan; - -import com.plannaplan.interfaces.Historable; - -public class GroupAdder implements Historable { - - public GroupAdder() { - } - - public void addGroup() { - } - - @Override - public void addActionToHistory() { - // TODO Auto-generated method stub - - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/GroupEditor.java b/buisnesslogic/src/main/java/com/plannaplan/GroupEditor.java deleted file mode 100755 index e607f3a..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/GroupEditor.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.plannaplan; - -public class GroupEditor { - - public GroupEditor() { - } - - public void setNewCapacity(int capaity) { - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/HistoryResolver.java b/buisnesslogic/src/main/java/com/plannaplan/HistoryResolver.java deleted file mode 100755 index e265117..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/HistoryResolver.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.plannaplan; - -public class HistoryResolver { - - public HistoryResolver() { - } - - public void getHistoryAtPoint() { - } - - public void reproduce() { - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/TransferCreator.java b/buisnesslogic/src/main/java/com/plannaplan/TransferCreator.java deleted file mode 100755 index 4a9508f..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/TransferCreator.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.plannaplan; - -import com.plannaplan.interfaces.Historable; - -public class TransferCreator implements Historable { - - public TransferCreator() { - } - - public void createTransfer() { - } - - @Override - public void addActionToHistory() { - // TODO Auto-generated method stub - - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/TransferValidator.java b/buisnesslogic/src/main/java/com/plannaplan/TransferValidator.java deleted file mode 100755 index 2849f82..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/TransferValidator.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.plannaplan; - -import com.plannaplan.interfaces.Historable; - -public class TransferValidator implements Historable { - - public TransferValidator() { - } - - public void performAllTransfers() { - } - - @Override - public void addActionToHistory() { - // TODO Auto-generated method stub - - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/UnavailabilityAdder.java b/buisnesslogic/src/main/java/com/plannaplan/UnavailabilityAdder.java deleted file mode 100755 index 56977ee..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/UnavailabilityAdder.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.plannaplan; - -import com.plannaplan.interfaces.Historable; - -public class UnavailabilityAdder implements Historable { - - public UnavailabilityAdder() { - } - - public void add() { - } - - @Override - public void addActionToHistory() { - // TODO Auto-generated method stub - - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/abstracts/EventWatcher.java b/buisnesslogic/src/main/java/com/plannaplan/abstracts/EventWatcher.java deleted file mode 100755 index 7bb4a25..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/abstracts/EventWatcher.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.plannaplan.abstracts; - -import java.util.ArrayList; -import java.util.List; - -import com.plannaplan.interfaces.EventCreator; - -public abstract class EventWatcher { - - protected List creators; - - public EventWatcher() { - this.creators = new ArrayList<>(); - } - - public void attach(EventCreator creator) { - this.creators.add(creator); - } - - public void detach(EventCreator creator) { - this.creators.remove(creator); - } - //why update method is both in eventwatcher and eventcreator??? - public void update() { - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/entities/Assignment.java b/buisnesslogic/src/main/java/com/plannaplan/entities/Assignment.java deleted file mode 100755 index 72e52f8..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/entities/Assignment.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.plannaplan.entities; - -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; - -@Entity -public class Assignment { - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - private Long id; - @ManyToOne - @JoinColumn(name = "group_id") - private Groups group; - @ManyToOne - @JoinColumn(name = "user_id") - private User user; - - public Assignment() { - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/entities/Event.java b/buisnesslogic/src/main/java/com/plannaplan/entities/Event.java deleted file mode 100755 index 8edf34c..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/entities/Event.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.plannaplan.entities; - -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; - -import com.plannaplan.types.EventTypes; - -@Entity -public class Event { - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - private Long id; - private EventTypes type; - @ManyToOne - @JoinColumn(name = "user_id") - private User user; - - public Event() { - } - - public EventTypes getType() { - return type; - } - - public void setType(EventTypes type) { - this.type = type; - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/entities/HistoryElement.java b/buisnesslogic/src/main/java/com/plannaplan/entities/HistoryElement.java deleted file mode 100755 index dc5a33b..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/entities/HistoryElement.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.plannaplan.entities; - -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; - -@Entity -public class HistoryElement { - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - private Long id; - @ManyToOne - @JoinColumn(name = "user_id") - private User user; - @ManyToOne - @JoinColumn(name = "incoming_id") - private Groups incoming; - @ManyToOne - @JoinColumn(name = "outcoming_id") - private Groups outcoming; - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/entities/Transfer.java b/buisnesslogic/src/main/java/com/plannaplan/entities/Transfer.java deleted file mode 100755 index 238bebe..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/entities/Transfer.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.plannaplan.entities; - -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; - -@Entity -public class Transfer { - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - private Long id; - @ManyToOne - @JoinColumn(name = "owner_id") - private User ownerUser; - @ManyToOne - @JoinColumn(name = "group_id") - private Groups ownerGroup; - @ManyToOne - @JoinColumn(name = "target_id") - private Groups targetGroup; - - public Transfer() { - } - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/entities/Unavailability.java b/buisnesslogic/src/main/java/com/plannaplan/entities/Unavailability.java deleted file mode 100755 index adfcbad..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/entities/Unavailability.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.plannaplan.entities; - -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; - -@Entity -public class Unavailability { - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - private Long id; - @ManyToOne - @JoinColumn(name = "user_id") - private User lecturer; - private int time; - - public Unavailability() { - } - - public int getTime() { - return time; - } - - public void setTime(int time) { - this.time = time; - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/interfaces/EventCreator.java b/buisnesslogic/src/main/java/com/plannaplan/interfaces/EventCreator.java deleted file mode 100755 index 3d1cd32..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/interfaces/EventCreator.java +++ /dev/null @@ -1,5 +0,0 @@ -package com.plannaplan.interfaces; - -public interface EventCreator { - void update(); -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/interfaces/Historable.java b/buisnesslogic/src/main/java/com/plannaplan/interfaces/Historable.java deleted file mode 100755 index db1ea92..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/interfaces/Historable.java +++ /dev/null @@ -1,5 +0,0 @@ -package com.plannaplan.interfaces; - -public interface Historable { - void addActionToHistory(); -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/repositories/AssignmentRepository.java b/buisnesslogic/src/main/java/com/plannaplan/repositories/AssignmentRepository.java deleted file mode 100755 index 19af52d..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/repositories/AssignmentRepository.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.plannaplan.repositories; - -import com.plannaplan.entities.Assignment; - -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface AssignmentRepository extends JpaRepository { - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/repositories/EventRepository.java b/buisnesslogic/src/main/java/com/plannaplan/repositories/EventRepository.java deleted file mode 100755 index 5639fc9..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/repositories/EventRepository.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.plannaplan.repositories; - -import com.plannaplan.entities.Event; - -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface EventRepository extends JpaRepository { - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/repositories/HistoryRepository.java b/buisnesslogic/src/main/java/com/plannaplan/repositories/HistoryRepository.java deleted file mode 100755 index d6ff2e1..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/repositories/HistoryRepository.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.plannaplan.repositories; - -import com.plannaplan.entities.HistoryElement; - -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface HistoryRepository extends JpaRepository { - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/repositories/TransferRepository.java b/buisnesslogic/src/main/java/com/plannaplan/repositories/TransferRepository.java deleted file mode 100755 index 0d740df..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/repositories/TransferRepository.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.plannaplan.repositories; - -import com.plannaplan.entities.Transfer; - -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface TransferRepository extends JpaRepository { - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/repositories/UnavailabilityRepository.java b/buisnesslogic/src/main/java/com/plannaplan/repositories/UnavailabilityRepository.java deleted file mode 100755 index 7bb302c..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/repositories/UnavailabilityRepository.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.plannaplan.repositories; - -import com.plannaplan.entities.Unavailability; - -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface UnavailabilityRepository extends JpaRepository { - -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/services/AssignmentService.java b/buisnesslogic/src/main/java/com/plannaplan/services/AssignmentService.java deleted file mode 100755 index 53e74cf..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/services/AssignmentService.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.plannaplan.services; - -import com.plannaplan.abstracts.EventWatcher; -import com.plannaplan.repositories.AssignmentRepository; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class AssignmentService extends EventWatcher { - @Autowired - private AssignmentRepository repo; - - public AssignmentService() { - super(); - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/services/EventService.java b/buisnesslogic/src/main/java/com/plannaplan/services/EventService.java deleted file mode 100755 index c21b8ea..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/services/EventService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.plannaplan.services; - -import com.plannaplan.repositories.EventRepository; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class EventService { - @Autowired - private EventRepository repo; -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/services/HistoryService.java b/buisnesslogic/src/main/java/com/plannaplan/services/HistoryService.java deleted file mode 100755 index 7f69ecf..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/services/HistoryService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.plannaplan.services; - -import com.plannaplan.repositories.HistoryRepository; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class HistoryService { - @Autowired - private HistoryRepository repo; -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/services/TransferService.java b/buisnesslogic/src/main/java/com/plannaplan/services/TransferService.java deleted file mode 100755 index 6d864aa..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/services/TransferService.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.plannaplan.services; - -import com.plannaplan.abstracts.EventWatcher; -import com.plannaplan.repositories.TransferRepository; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class TransferService extends EventWatcher { - @Autowired - private TransferRepository repo; - - public TransferService() { - super(); - } -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/services/UnavailabilityService.java b/buisnesslogic/src/main/java/com/plannaplan/services/UnavailabilityService.java deleted file mode 100755 index 3a16237..0000000 --- a/buisnesslogic/src/main/java/com/plannaplan/services/UnavailabilityService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.plannaplan.services; - -import com.plannaplan.repositories.UnavailabilityRepository; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class UnavailabilityService { - @Autowired - private UnavailabilityRepository repos; -} \ No newline at end of file diff --git a/buisnesslogic/src/main/java/com/plannaplan/services/UserService.java b/buisnesslogic/src/main/java/com/plannaplan/services/UserService.java index d7fbe55..d94e269 100755 --- a/buisnesslogic/src/main/java/com/plannaplan/services/UserService.java +++ b/buisnesslogic/src/main/java/com/plannaplan/services/UserService.java @@ -2,7 +2,6 @@ package com.plannaplan.services; import java.util.UUID; -import com.plannaplan.abstracts.EventWatcher; import com.plannaplan.entities.User; import com.plannaplan.exceptions.UserNotFoundException; import com.plannaplan.repositories.UserRepository; @@ -11,7 +10,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service -public class UserService extends EventWatcher { +public class UserService { @Autowired private UserRepository repo; diff --git a/restservice/src/main/java/com/plannaplan/security/AuthenticationProvider.java b/restservice/src/main/java/com/plannaplan/security/AuthenticationProvider.java index aa9ff3d..37a8139 100755 --- a/restservice/src/main/java/com/plannaplan/security/AuthenticationProvider.java +++ b/restservice/src/main/java/com/plannaplan/security/AuthenticationProvider.java @@ -23,7 +23,7 @@ public class AuthenticationProvider extends AbstractUserDetailsAuthenticationPro @Override protected void additionalAuthenticationChecks(UserDetails userDetails, UsernamePasswordAuthenticationToken authentication) throws AuthenticationException { - // TODO Auto-generated method stub + // is being done in other task } @@ -48,7 +48,7 @@ public class AuthenticationProvider extends AbstractUserDetailsAuthenticationPro @Override public Collection getAuthorities() { - // TODO Auto-generated method stub + // is being done in other task return null; } @@ -74,7 +74,7 @@ public class AuthenticationProvider extends AbstractUserDetailsAuthenticationPro @Override public boolean isCredentialsNonExpired() { - // TODO Auto-generated method stub + // is being done in other task return true; }