3 Commits

Author SHA1 Message Date
Felix Förtsch
af0bf3a015 Merge branch 'develop' into feature/protocol-management 2018-04-26 22:38:46 +02:00
Felix Förtsch
13cd4af1a6 Merge branch 'develop' into feature/protocol-management 2018-04-26 22:04:52 +02:00
Felix Förtsch
f89514ca24 add draft classes for protocol management 2018-04-26 21:55:44 +02:00
5 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package de.ul.swtp.modules.protocolmanagement;
import de.ul.swtp.modules.contactmanagement.Contact;
import java.security.Signature;
import java.sql.Timestamp;
import java.util.List;
public class Protocol {
private List<Contact> presentMembers;
private List<Contact> authors;
private List<ProtocolEntry> entries;
private Boolean isLocked;
private Timestamp protocolDate;
private Signature
}

View File

@@ -0,0 +1,8 @@
package de.ul.swtp.modules.protocolmanagement;
import java.sql.Timestamp;
public class ProtocolEntry {
private Timestamp time;
private String text;
}

View File

@@ -0,0 +1,5 @@
package de.ul.swtp.modules.protocolmanagement;
public interface ProtocolManager {
}

View File

@@ -0,0 +1,19 @@
package de.ul.swtp.modules.protocolmanagement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class ProtocolManagerImpl {
private ProtocolRepository protocolRepository;
@Autowired
public ProtocolManagerImpl(ProtocolRepository protocolRepository) {
this.protocolRepository = protocolRepository;
}
public void createProtocol() {
}
}

View File

@@ -0,0 +1,8 @@
package de.ul.swtp.modules.protocolmanagement;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface ProtocolRepository extends JpaRepository<Protocol, Long> {}