email token duplication check

This commit is contained in:
geek 2018-06-28 19:52:44 +09:00
parent 7e13d150ec
commit 3fbc080d70
5 changed files with 21 additions and 17 deletions

View File

@ -50,7 +50,7 @@
<dependency> <dependency>
<groupId>com.loafle.overflow</groupId> <groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId> <artifactId>commons-java</artifactId>
<version>1.0.109-SNAPSHOT</version> <version>1.0.110-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -27,10 +27,4 @@ public class CentralMetaCollectionItemService implements MetaCollectionItemServi
public MetaCollectionItem readByKey(String key) throws OverflowException { public MetaCollectionItem readByKey(String key) throws OverflowException {
return this.metaCollectionItemDAO.findByKey(key); return this.metaCollectionItemDAO.findByKey(key);
} }
@Override
public MetaCollectionItem readByID(Integer id) throws OverflowException {
return this.metaCollectionItemDAO.getOne(id);
}
} }

View File

@ -33,11 +33,6 @@ public class CentralMetaDisplayItemMappingService implements MetaDisplayItemMapp
return this.metaDisplayItemMappingDAO.findAllByMetaCrawlerMappingId(metaCrawlerMappingID); return this.metaDisplayItemMappingDAO.findAllByMetaCrawlerMappingId(metaCrawlerMappingID);
} }
@Override
public MetaDisplayItemMapping read(Long ID) throws OverflowException {
return null;
}
@Override @Override
public List<MetaDisplayItemMapping> readAll() throws OverflowException { public List<MetaDisplayItemMapping> readAll() throws OverflowException {
return this.metaDisplayItemMappingDAO.findAll(); return this.metaDisplayItemMappingDAO.findAll();

View File

@ -22,11 +22,6 @@ public class CentralMetaDisplayItemService implements MetaDisplayItemService {
return this.metaDisplayItemDAO.save(metaDisplayItem); return this.metaDisplayItemDAO.save(metaDisplayItem);
} }
@Override
public MetaDisplayItem read(Long id) throws OverflowException {
return null;
}
@Override @Override
public List<MetaDisplayItem> readAll() throws OverflowException { public List<MetaDisplayItem> readAll() throws OverflowException {
return this.metaDisplayItemDAO.findAll(); return this.metaDisplayItemDAO.findAll();

View File

@ -0,0 +1,20 @@
package com.loafle.overflow.central.module.meta.service;
import org.junit.Test;
import static org.junit.Assert.*;
public class CentralMetaCollectionItemServiceTest {
@Test
public void readAll() {
}
@Test
public void readByKey() {
}
@Test
public void readByID() {
}
}