Updated references.
Change-Id: I39f976c1f3f96ba2f041d543ab7f15d261db178b
Change-Id: I39f976c1f3f96ba2f041d543ab7f15d261db178b
diff --git a/full/pom.xml b/full/pom.xml
index d4aca6e..7d476e4 100644
--- a/full/pom.xml
+++ b/full/pom.xml
@@ -76,32 +76,6 @@
</processors>
</configuration>
</plugin>
- <!-- <plugin>
- <groupId>org.bsc.maven</groupId>
- <artifactId>maven-processor-plugin</artifactId>
- <version>2.2.4</version>
- <executions>
- <execution>
- <id>process</id>
- <goals>
- <goal>process</goal>
- </goals>
- <phase>generate-sources</phase>
- <configuration>
- <processors>
- <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor,org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
- </processors>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-jpamodelgen</artifactId>
- <version>5.2.12.Final</version>
- </dependency>
- </dependencies>
- </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
@@ -195,7 +169,6 @@
<artifactId>jldap</artifactId>
<version>4.3</version>
</dependency>
- <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
<dependency>
<groupId>com.unboundid</groupId>
<artifactId>unboundid-ldapsdk</artifactId>
diff --git a/full/src/main/java/de/ids_mannheim/korap/constant/GroupMemberStatus.java b/full/src/main/java/de/ids_mannheim/korap/constant/GroupMemberStatus.java
index 39a2015..59c1154 100644
--- a/full/src/main/java/de/ids_mannheim/korap/constant/GroupMemberStatus.java
+++ b/full/src/main/java/de/ids_mannheim/korap/constant/GroupMemberStatus.java
@@ -1,4 +1,4 @@
-package de.ids_mannheim.korap.constants;
+package de.ids_mannheim.korap.constant;
public enum GroupMemberStatus {
ACTIVE, PENDING, DELETED;
diff --git a/full/src/main/java/de/ids_mannheim/korap/constant/PrivilegeType.java b/full/src/main/java/de/ids_mannheim/korap/constant/PrivilegeType.java
index 3b8b701..ad05f18 100644
--- a/full/src/main/java/de/ids_mannheim/korap/constant/PrivilegeType.java
+++ b/full/src/main/java/de/ids_mannheim/korap/constant/PrivilegeType.java
@@ -1,4 +1,4 @@
-package de.ids_mannheim.korap.constants;
+package de.ids_mannheim.korap.constant;
public enum PrivilegeType {
READ, WRITE, DELETE;
diff --git a/full/src/main/java/de/ids_mannheim/korap/constant/UserGroupStatus.java b/full/src/main/java/de/ids_mannheim/korap/constant/UserGroupStatus.java
index 1cac9ec..0390433 100644
--- a/full/src/main/java/de/ids_mannheim/korap/constant/UserGroupStatus.java
+++ b/full/src/main/java/de/ids_mannheim/korap/constant/UserGroupStatus.java
@@ -1,4 +1,4 @@
-package de.ids_mannheim.korap.constants;
+package de.ids_mannheim.korap.constant;
public enum UserGroupStatus {
ACTIVE, DELETED, HIDDEN;
diff --git a/full/src/main/java/de/ids_mannheim/korap/constant/VirtualCorpusAccessStatus.java b/full/src/main/java/de/ids_mannheim/korap/constant/VirtualCorpusAccessStatus.java
index 530526a..2cbd167 100644
--- a/full/src/main/java/de/ids_mannheim/korap/constant/VirtualCorpusAccessStatus.java
+++ b/full/src/main/java/de/ids_mannheim/korap/constant/VirtualCorpusAccessStatus.java
@@ -1,4 +1,4 @@
-package de.ids_mannheim.korap.constants;
+package de.ids_mannheim.korap.constant;
public enum VirtualCorpusAccessStatus {
diff --git a/full/src/main/java/de/ids_mannheim/korap/constant/VirtualCorpusType.java b/full/src/main/java/de/ids_mannheim/korap/constant/VirtualCorpusType.java
index db4a461..43e26af 100644
--- a/full/src/main/java/de/ids_mannheim/korap/constant/VirtualCorpusType.java
+++ b/full/src/main/java/de/ids_mannheim/korap/constant/VirtualCorpusType.java
@@ -1,4 +1,4 @@
-package de.ids_mannheim.korap.constants;
+package de.ids_mannheim.korap.constant;
public enum VirtualCorpusType {
diff --git a/full/src/main/java/de/ids_mannheim/korap/dao/UserGroupDao.java b/full/src/main/java/de/ids_mannheim/korap/dao/UserGroupDao.java
index 324aeb8..d33845f 100644
--- a/full/src/main/java/de/ids_mannheim/korap/dao/UserGroupDao.java
+++ b/full/src/main/java/de/ids_mannheim/korap/dao/UserGroupDao.java
@@ -14,9 +14,9 @@
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
-import de.ids_mannheim.korap.constants.GroupMemberStatus;
-import de.ids_mannheim.korap.constants.UserGroupStatus;
-import de.ids_mannheim.korap.constants.VirtualCorpusAccessStatus;
+import de.ids_mannheim.korap.constant.GroupMemberStatus;
+import de.ids_mannheim.korap.constant.UserGroupStatus;
+import de.ids_mannheim.korap.constant.VirtualCorpusAccessStatus;
import de.ids_mannheim.korap.entity.UserGroup;
import de.ids_mannheim.korap.entity.UserGroupMember;
import de.ids_mannheim.korap.entity.UserGroupMember_;
diff --git a/full/src/main/java/de/ids_mannheim/korap/dao/UserGroupMemberDao.java b/full/src/main/java/de/ids_mannheim/korap/dao/UserGroupMemberDao.java
index 301de3b..f0789ac 100644
--- a/full/src/main/java/de/ids_mannheim/korap/dao/UserGroupMemberDao.java
+++ b/full/src/main/java/de/ids_mannheim/korap/dao/UserGroupMemberDao.java
@@ -14,7 +14,7 @@
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
-import de.ids_mannheim.korap.constants.GroupMemberStatus;
+import de.ids_mannheim.korap.constant.GroupMemberStatus;
import de.ids_mannheim.korap.entity.Role;
import de.ids_mannheim.korap.entity.UserGroupMember;
import de.ids_mannheim.korap.entity.UserGroupMember_;
diff --git a/full/src/main/java/de/ids_mannheim/korap/dao/VirtualCorpusDao.java b/full/src/main/java/de/ids_mannheim/korap/dao/VirtualCorpusDao.java
index 6085309..266a788 100644
--- a/full/src/main/java/de/ids_mannheim/korap/dao/VirtualCorpusDao.java
+++ b/full/src/main/java/de/ids_mannheim/korap/dao/VirtualCorpusDao.java
@@ -17,10 +17,10 @@
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
-import de.ids_mannheim.korap.constants.GroupMemberStatus;
-import de.ids_mannheim.korap.constants.UserGroupStatus;
-import de.ids_mannheim.korap.constants.VirtualCorpusAccessStatus;
-import de.ids_mannheim.korap.constants.VirtualCorpusType;
+import de.ids_mannheim.korap.constant.GroupMemberStatus;
+import de.ids_mannheim.korap.constant.UserGroupStatus;
+import de.ids_mannheim.korap.constant.VirtualCorpusAccessStatus;
+import de.ids_mannheim.korap.constant.VirtualCorpusType;
import de.ids_mannheim.korap.entity.UserGroup;
import de.ids_mannheim.korap.entity.VirtualCorpus;
import de.ids_mannheim.korap.entity.VirtualCorpusAccessGroup;
diff --git a/full/src/main/java/de/ids_mannheim/korap/entity/Privilege.java b/full/src/main/java/de/ids_mannheim/korap/entity/Privilege.java
index 3d41d34..beedd48 100644
--- a/full/src/main/java/de/ids_mannheim/korap/entity/Privilege.java
+++ b/full/src/main/java/de/ids_mannheim/korap/entity/Privilege.java
@@ -8,7 +8,7 @@
import javax.persistence.ManyToOne;
import javax.persistence.Table;
-import de.ids_mannheim.korap.constants.PrivilegeType;
+import de.ids_mannheim.korap.constant.PrivilegeType;
/**
*
diff --git a/full/src/main/java/de/ids_mannheim/korap/entity/UserGroup.java b/full/src/main/java/de/ids_mannheim/korap/entity/UserGroup.java
index 0e4a26b..7dc49b8 100644
--- a/full/src/main/java/de/ids_mannheim/korap/entity/UserGroup.java
+++ b/full/src/main/java/de/ids_mannheim/korap/entity/UserGroup.java
@@ -16,7 +16,7 @@
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
-import de.ids_mannheim.korap.constants.UserGroupStatus;
+import de.ids_mannheim.korap.constant.UserGroupStatus;
import lombok.Getter;
import lombok.Setter;
diff --git a/full/src/main/java/de/ids_mannheim/korap/entity/UserGroupMember.java b/full/src/main/java/de/ids_mannheim/korap/entity/UserGroupMember.java
index 75e2e54..696c5c7 100644
--- a/full/src/main/java/de/ids_mannheim/korap/entity/UserGroupMember.java
+++ b/full/src/main/java/de/ids_mannheim/korap/entity/UserGroupMember.java
@@ -18,7 +18,7 @@
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
-import de.ids_mannheim.korap.constants.GroupMemberStatus;
+import de.ids_mannheim.korap.constant.GroupMemberStatus;
import de.ids_mannheim.korap.exceptions.KustvaktException;
import lombok.Getter;
import lombok.Setter;
diff --git a/full/src/main/java/de/ids_mannheim/korap/entity/VirtualCorpus.java b/full/src/main/java/de/ids_mannheim/korap/entity/VirtualCorpus.java
index 06b0a25..e7714d7 100644
--- a/full/src/main/java/de/ids_mannheim/korap/entity/VirtualCorpus.java
+++ b/full/src/main/java/de/ids_mannheim/korap/entity/VirtualCorpus.java
@@ -13,7 +13,7 @@
import javax.persistence.OneToMany;
import javax.persistence.Table;
-import de.ids_mannheim.korap.constants.VirtualCorpusType;
+import de.ids_mannheim.korap.constant.VirtualCorpusType;
import lombok.Getter;
import lombok.Setter;
diff --git a/full/src/main/java/de/ids_mannheim/korap/entity/VirtualCorpusAccessGroup.java b/full/src/main/java/de/ids_mannheim/korap/entity/VirtualCorpusAccessGroup.java
index 76e49eb..6fbedf6 100644
--- a/full/src/main/java/de/ids_mannheim/korap/entity/VirtualCorpusAccessGroup.java
+++ b/full/src/main/java/de/ids_mannheim/korap/entity/VirtualCorpusAccessGroup.java
@@ -12,7 +12,7 @@
import javax.persistence.ManyToOne;
import javax.persistence.Table;
-import de.ids_mannheim.korap.constants.VirtualCorpusAccessStatus;
+import de.ids_mannheim.korap.constant.VirtualCorpusAccessStatus;
import lombok.Getter;
import lombok.Setter;
diff --git a/full/src/test/java/de/ids_mannheim/korap/dao/VirtualCorpusDaoTest.java b/full/src/test/java/de/ids_mannheim/korap/dao/VirtualCorpusDaoTest.java
index d3def19..9774865 100644
--- a/full/src/test/java/de/ids_mannheim/korap/dao/VirtualCorpusDaoTest.java
+++ b/full/src/test/java/de/ids_mannheim/korap/dao/VirtualCorpusDaoTest.java
@@ -15,7 +15,7 @@
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
-import de.ids_mannheim.korap.constants.VirtualCorpusType;
+import de.ids_mannheim.korap.constant.VirtualCorpusType;
import de.ids_mannheim.korap.dao.VirtualCorpusDao;
import de.ids_mannheim.korap.entity.VirtualCorpus;
import de.ids_mannheim.korap.exceptions.KustvaktException;
@@ -25,7 +25,7 @@
public class VirtualCorpusDaoTest {
@Autowired
- VirtualCorpusDao dao;
+ private VirtualCorpusDao dao;
@Autowired
protected ApplicationContext context;
@@ -71,7 +71,7 @@
* @throws KustvaktException
*/
@Test
- public void retrieveVirtualCorpusByUserDory () throws KustvaktException {
+ public void retrieveVCByUserDory () throws KustvaktException {
Set<VirtualCorpus> virtualCorpora = dao.retrieveVCByUser("dory");
assertEquals(3, virtualCorpora.size());
Iterator<VirtualCorpus> i = virtualCorpora.iterator();
@@ -86,7 +86,7 @@
* @throws KustvaktException
*/
@Test
- public void retrieveVirtualCorpusByUserNemo () throws KustvaktException {
+ public void retrieveVCByUserNemo () throws KustvaktException {
Set<VirtualCorpus> virtualCorpora = dao.retrieveVCByUser("nemo");
assertEquals(2, virtualCorpora.size());
Iterator<VirtualCorpus> i = virtualCorpora.iterator();
@@ -100,7 +100,7 @@
* @throws KustvaktException
*/
@Test
- public void retrieveVirtualCorpusByUserMarlin () throws KustvaktException {
+ public void retrieveVCByUserMarlin () throws KustvaktException {
Set<VirtualCorpus> virtualCorpora = dao.retrieveVCByUser("marlin");
assertEquals(2, virtualCorpora.size());
Iterator<VirtualCorpus> i = virtualCorpora.iterator();
@@ -115,7 +115,7 @@
* @throws KustvaktException
*/
@Test
- public void retrieveVirtualCorpusByUserPearl () throws KustvaktException {
+ public void retrieveVCByUserPearl () throws KustvaktException {
Set<VirtualCorpus> virtualCorpora = dao.retrieveVCByUser("pearl");
assertEquals(2, virtualCorpora.size());
Iterator<VirtualCorpus> i = virtualCorpora.iterator();