ing
This commit is contained in:
parent
eb6ae510ae
commit
64a3f7fd8f
2
pom.xml
2
pom.xml
|
@ -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.21-SNAPSHOT</version>
|
<version>1.0.22-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaCryptoTypeDAO extends JpaRepository<MetaCryptoType, Short> {
|
public interface MetaCryptoTypeDAO extends JpaRepository<MetaCryptoType, Short> {
|
||||||
|
MetaCryptoType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaEmailTypeDAO extends JpaRepository<MetaEmailType, Short> {
|
public interface MetaEmailTypeDAO extends JpaRepository<MetaEmailType, Short> {
|
||||||
|
MetaEmailType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaHistoryTypeDAO extends JpaRepository<MetaHistoryType, Integer> {
|
public interface MetaHistoryTypeDAO extends JpaRepository<MetaHistoryType, Integer> {
|
||||||
|
MetaHistoryType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaIPTypeDAO extends JpaRepository<MetaIPType, Short> {
|
public interface MetaIPTypeDAO extends JpaRepository<MetaIPType, Short> {
|
||||||
|
MetaIPType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaInfraTypeDAO extends JpaRepository<MetaInfraType, Integer> {
|
public interface MetaInfraTypeDAO extends JpaRepository<MetaInfraType, Integer> {
|
||||||
|
MetaInfraType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaInputTypeDAO extends JpaRepository<MetaInputType, Short> {
|
public interface MetaInputTypeDAO extends JpaRepository<MetaInputType, Short> {
|
||||||
|
MetaInputType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaMemberStatusDAO extends JpaRepository<MetaMemberStatus, Short> {
|
public interface MetaMemberStatusDAO extends JpaRepository<MetaMemberStatus, Short> {
|
||||||
|
MetaMemberStatus findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,5 +9,6 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaNoAuthProbeStatusDAO extends JpaRepository<MetaNoAuthProbeStatus, Short> {
|
public interface MetaNoAuthProbeStatusDAO extends JpaRepository<MetaNoAuthProbeStatus, Short> {
|
||||||
|
MetaNoAuthProbeStatus findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaPortTypeDAO extends JpaRepository<MetaPortType, Short> {
|
public interface MetaPortTypeDAO extends JpaRepository<MetaPortType, Short> {
|
||||||
|
MetaPortType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaProbeStatusDAO extends JpaRepository<MetaProbeStatus, Short> {
|
public interface MetaProbeStatusDAO extends JpaRepository<MetaProbeStatus, Short> {
|
||||||
|
MetaProbeStatus findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,6 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaTargetHostTypeDAO extends JpaRepository<MetaTargetHostType, Integer> {
|
public interface MetaTargetHostTypeDAO extends JpaRepository<MetaTargetHostType, Integer> {
|
||||||
|
MetaTargetHostType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaTargetServiceTypeDAO extends JpaRepository<MetaTargetServiceType, Integer> {
|
public interface MetaTargetServiceTypeDAO extends JpaRepository<MetaTargetServiceType, Integer> {
|
||||||
|
MetaTargetServiceType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaTargetStatusDAO extends JpaRepository<MetaTargetStatus, Short> {
|
public interface MetaTargetStatusDAO extends JpaRepository<MetaTargetStatus, Short> {
|
||||||
|
MetaTargetStatus findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaTargetTypeCategoryDAO extends JpaRepository<MetaTargetTypeCategory, Integer> {
|
public interface MetaTargetTypeCategoryDAO extends JpaRepository<MetaTargetTypeCategory, Integer> {
|
||||||
|
MetaTargetTypeCategory findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaTargetTypeDAO extends JpaRepository<MetaTargetType, Integer> {
|
public interface MetaTargetTypeDAO extends JpaRepository<MetaTargetType, Integer> {
|
||||||
|
MetaTargetType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,5 @@ import org.springframework.stereotype.Repository;
|
||||||
*/
|
*/
|
||||||
@Repository
|
@Repository
|
||||||
public interface MetaTargetZoneTypeDAO extends JpaRepository<MetaTargetZoneType, Integer> {
|
public interface MetaTargetZoneTypeDAO extends JpaRepository<MetaTargetZoneType, Integer> {
|
||||||
|
MetaTargetZoneType findByKey(String key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,9 +16,10 @@ import java.util.List;
|
||||||
public class CentralMetaCrawlerInputItemService implements MetaCrawlerInputItemService {
|
public class CentralMetaCrawlerInputItemService implements MetaCrawlerInputItemService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaCrawlerInputItemDAO crawlerInputItemDAO;
|
private MetaCrawlerInputItemDAO metaCrawlerInputItemDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaCrawlerInputItem> readAllByMetaCrawlerID(Short metaCrawlerID) throws OverflowException {
|
public List<MetaCrawlerInputItem> readAllByMetaCrawlerID(Short metaCrawlerID) throws OverflowException {
|
||||||
return this.crawlerInputItemDAO.findAllByMetaCrawlerId(metaCrawlerID);
|
return this.metaCrawlerInputItemDAO.findAllByMetaCrawlerId(metaCrawlerID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaCrawlerMappingDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaCrawlerMappingDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaCrawlerMapping;
|
import com.loafle.overflow.model.meta.MetaCrawlerMapping;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaCrawlerMappingService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,12 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaCrawlerMappingService")
|
@Service("MetaCrawlerMappingService")
|
||||||
public class CentralMetaCrawlerMappingService {
|
public class CentralMetaCrawlerMappingService implements MetaCrawlerMappingService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaCrawlerMappingDAO metaCrawlerMappingDAO;
|
private MetaCrawlerMappingDAO metaCrawlerMappingDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaCrawlerMapping> readAll() throws OverflowException {
|
public List<MetaCrawlerMapping> readAll() throws OverflowException {
|
||||||
return this.metaCrawlerMappingDAO.findAll();
|
return this.metaCrawlerMappingDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaCrawlerDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaCrawlerDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaCrawler;
|
import com.loafle.overflow.model.meta.MetaCrawler;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaCrawlerService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,12 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaCrawlerService")
|
@Service("MetaCrawlerService")
|
||||||
public class CentralMetaCrawlerService {
|
public class CentralMetaCrawlerService implements MetaCrawlerService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaCrawlerDAO metaCrawlerDAO;
|
private MetaCrawlerDAO metaCrawlerDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaCrawler> readAll() throws OverflowException {
|
public List<MetaCrawler> readAll() throws OverflowException {
|
||||||
return this.metaCrawlerDAO.findAll();
|
return this.metaCrawlerDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaCryptoTypeDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaCryptoTypeDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaCryptoType;
|
import com.loafle.overflow.model.meta.MetaCryptoType;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaCryptoTypeService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,21 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaCryptoTypeService")
|
@Service("MetaCryptoTypeService")
|
||||||
public class CentralMetaCryptoTypeService {
|
public class CentralMetaCryptoTypeService implements MetaCryptoTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaCryptoTypeDAO metaCryptoTypeDAO;
|
private MetaCryptoTypeDAO metaCryptoTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaCryptoType regist(MetaCryptoType metaCryptoType) throws OverflowException {
|
||||||
|
return this.metaCryptoTypeDAO.save(metaCryptoType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaCryptoType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaCryptoTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaCryptoType> readAll() throws OverflowException {
|
public List<MetaCryptoType> readAll() throws OverflowException {
|
||||||
return this.metaCryptoTypeDAO.findAll();
|
return this.metaCryptoTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaEmailTypeDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaEmailTypeDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaEmailType;
|
import com.loafle.overflow.model.meta.MetaEmailType;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaEmailTypeService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,22 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaEmailTypeService")
|
@Service("MetaEmailTypeService")
|
||||||
public class CentralMetaEmailTypeService {
|
public class CentralMetaEmailTypeService implements MetaEmailTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaEmailTypeDAO metaEmailTypeDAO;
|
private MetaEmailTypeDAO metaEmailTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaEmailType regist(MetaEmailType metaCryptoType) throws OverflowException {
|
||||||
|
return this.metaEmailTypeDAO.save(metaCryptoType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaEmailType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaEmailTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaEmailType> readAll() throws OverflowException {
|
public List<MetaEmailType> readAll() throws OverflowException {
|
||||||
return this.metaEmailTypeDAO.findAll();
|
return this.metaEmailTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,17 +17,24 @@ import java.util.List;
|
||||||
public class CentralMetaHistoryTypeService implements MetaHistoryTypeService {
|
public class CentralMetaHistoryTypeService implements MetaHistoryTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaHistoryTypeDAO hisotyTypeDAO;
|
private MetaHistoryTypeDAO metaHistoryTypeDAO;
|
||||||
|
|
||||||
public List<MetaHistoryType> readAll() throws OverflowException {
|
|
||||||
return this.hisotyTypeDAO.findAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
public MetaHistoryType regist(MetaHistoryType type) throws OverflowException {
|
public MetaHistoryType regist(MetaHistoryType type) throws OverflowException {
|
||||||
return this.hisotyTypeDAO.save(type);
|
return this.metaHistoryTypeDAO.save(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaHistoryType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaHistoryTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<MetaHistoryType> readAll() throws OverflowException {
|
||||||
|
return this.metaHistoryTypeDAO.findAll();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaHistoryType> registAll(List<MetaHistoryType> metaHistoryTypes) throws OverflowException {
|
public List<MetaHistoryType> registAll(List<MetaHistoryType> metaHistoryTypes) throws OverflowException {
|
||||||
return (List<MetaHistoryType>) this.hisotyTypeDAO.saveAll(metaHistoryTypes);
|
return (List<MetaHistoryType>) this.metaHistoryTypeDAO.saveAll(metaHistoryTypes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaIPTypeDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaIPTypeDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaIPType;
|
import com.loafle.overflow.model.meta.MetaIPType;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaIPTypeService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,22 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaIPTypeService")
|
@Service("MetaIPTypeService")
|
||||||
public class CentralMetaIPTypeService {
|
public class CentralMetaIPTypeService implements MetaIPTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaIPTypeDAO metaIPTypeDAO;
|
private MetaIPTypeDAO metaIPTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaIPType regist(MetaIPType metaIPType) throws OverflowException {
|
||||||
|
return this.metaIPTypeDAO.save(metaIPType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaIPType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaIPTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaIPType> readAll() throws OverflowException {
|
public List<MetaIPType> readAll() throws OverflowException {
|
||||||
return this.metaIPTypeDAO.findAll();
|
return this.metaIPTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,9 +17,20 @@ import java.util.List;
|
||||||
public class CentralMetaInfraTypeService implements MetaInfraTypeService {
|
public class CentralMetaInfraTypeService implements MetaInfraTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaInfraTypeDAO infraTypeDAO;
|
private MetaInfraTypeDAO metaInfraTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaInfraType regist(MetaInfraType metaCryptoType) throws OverflowException {
|
||||||
|
return this.metaInfraTypeDAO.save(metaCryptoType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaInfraType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaInfraTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaInfraType> readAll() throws OverflowException {
|
public List<MetaInfraType> readAll() throws OverflowException {
|
||||||
return this.infraTypeDAO.findAll();
|
return this.metaInfraTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,9 +16,20 @@ import java.util.List;
|
||||||
public class CentralMetaInputTypeService implements MetaInputTypeService {
|
public class CentralMetaInputTypeService implements MetaInputTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaInputTypeDAO inputTypeDAO;
|
private MetaInputTypeDAO metaInputTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaInputType regist(MetaInputType metaInputType) throws OverflowException {
|
||||||
|
return this.metaInputTypeDAO.save(metaInputType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaInputType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaInputTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaInputType> readAll() throws OverflowException {
|
public List<MetaInputType> readAll() throws OverflowException {
|
||||||
return this.inputTypeDAO.findAll();
|
return this.metaInputTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,9 +16,20 @@ import java.util.List;
|
||||||
public class CentralMetaMemberStatusService implements MetaMemberStatusService {
|
public class CentralMetaMemberStatusService implements MetaMemberStatusService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaMemberStatusDAO memberStatusDAO;
|
private MetaMemberStatusDAO metaMemberStatusDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaMemberStatus regist(MetaMemberStatus metaMemberStatus) throws OverflowException {
|
||||||
|
return this.metaMemberStatusDAO.save(metaMemberStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaMemberStatus readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaMemberStatusDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaMemberStatus> readAll() throws OverflowException {
|
public List<MetaMemberStatus> readAll() throws OverflowException {
|
||||||
return this.memberStatusDAO.findAll();
|
return this.metaMemberStatusDAO.findAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,9 +16,20 @@ import java.util.List;
|
||||||
@Service("MetaNoAuthProbeStatusService")
|
@Service("MetaNoAuthProbeStatusService")
|
||||||
public class CentralMetaNoAuthProbeStatusService implements MetaNoAuthProbeStatusService {
|
public class CentralMetaNoAuthProbeStatusService implements MetaNoAuthProbeStatusService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaNoAuthProbeStatusDAO noAuthProbeStatusDAO;
|
private MetaNoAuthProbeStatusDAO metaNoAuthProbeStatusDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaNoAuthProbeStatus regist(MetaNoAuthProbeStatus metaNoAuthProbeStatus) throws OverflowException {
|
||||||
|
return this.metaNoAuthProbeStatusDAO.save(metaNoAuthProbeStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaNoAuthProbeStatus readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaNoAuthProbeStatusDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaNoAuthProbeStatus> readAll() throws OverflowException {
|
public List<MetaNoAuthProbeStatus> readAll() throws OverflowException {
|
||||||
return this.noAuthProbeStatusDAO.findAll();
|
return this.metaNoAuthProbeStatusDAO.findAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaPortTypeDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaPortTypeDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaPortType;
|
import com.loafle.overflow.model.meta.MetaPortType;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaPortTypeService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,22 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaPortTypeService")
|
@Service("MetaPortTypeService")
|
||||||
public class CentralMetaPortTypeService {
|
public class CentralMetaPortTypeService implements MetaPortTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaPortTypeDAO metaPortTypeDAO;
|
private MetaPortTypeDAO metaPortTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaPortType regist(MetaPortType metaCryptoType) throws OverflowException {
|
||||||
|
return this.metaPortTypeDAO.save(metaCryptoType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaPortType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaPortTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaPortType> readAll() throws OverflowException {
|
public List<MetaPortType> readAll() throws OverflowException {
|
||||||
return this.metaPortTypeDAO.findAll();
|
return this.metaPortTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,9 +16,20 @@ import java.util.List;
|
||||||
public class CentralMetaProbeStatusService implements MetaProbeStatusService {
|
public class CentralMetaProbeStatusService implements MetaProbeStatusService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaProbeStatusDAO probeStatusDAO;
|
private MetaProbeStatusDAO metaProbeStatusDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaProbeStatus regist(MetaProbeStatus metaProbeStatus) throws OverflowException {
|
||||||
|
return this.metaProbeStatusDAO.save(metaProbeStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaProbeStatus readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaProbeStatusDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaProbeStatus> readAll() throws OverflowException {
|
public List<MetaProbeStatus> readAll() throws OverflowException {
|
||||||
return this.probeStatusDAO.findAll();
|
return this.metaProbeStatusDAO.findAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaTargetHostTypeDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaTargetHostTypeDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaTargetHostType;
|
import com.loafle.overflow.model.meta.MetaTargetHostType;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaTargetHostTypeService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,22 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaTargetHostTypeService")
|
@Service("MetaTargetHostTypeService")
|
||||||
public class CentralMetaTargetHostTypeService {
|
public class CentralMetaTargetHostTypeService implements MetaTargetHostTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaTargetHostTypeDAO metaTargetHostTypeDAO;
|
private MetaTargetHostTypeDAO metaTargetHostTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetHostType regist(MetaTargetHostType metaTargetHostType) throws OverflowException {
|
||||||
|
return this.metaTargetHostTypeDAO.save(metaTargetHostType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetHostType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaTargetHostTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaTargetHostType> readAll() throws OverflowException {
|
public List<MetaTargetHostType> readAll() throws OverflowException {
|
||||||
return this.metaTargetHostTypeDAO.findAll();
|
return this.metaTargetHostTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaTargetServiceTypeDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaTargetServiceTypeDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaTargetServiceType;
|
import com.loafle.overflow.model.meta.MetaTargetServiceType;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaTargetServiceTypeService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,22 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaTargetServiceTypeService")
|
@Service("MetaTargetServiceTypeService")
|
||||||
public class CentralMetaTargetServiceTypeService {
|
public class CentralMetaTargetServiceTypeService implements MetaTargetServiceTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaTargetServiceTypeDAO metaTargetServiceTypeDAO;
|
private MetaTargetServiceTypeDAO metaTargetServiceTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetServiceType regist(MetaTargetServiceType metaTargetServiceType) throws OverflowException {
|
||||||
|
return this.metaTargetServiceTypeDAO.save(metaTargetServiceType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetServiceType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaTargetServiceTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaTargetServiceType> readAll() throws OverflowException {
|
public List<MetaTargetServiceType> readAll() throws OverflowException {
|
||||||
return this.metaTargetServiceTypeDAO.findAll();
|
return this.metaTargetServiceTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaTargetStatusDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaTargetStatusDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaTargetStatus;
|
import com.loafle.overflow.model.meta.MetaTargetStatus;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaTargetStatusService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,22 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaTargetStatusService")
|
@Service("MetaTargetStatusService")
|
||||||
public class CentralMetaTargetStatusService {
|
public class CentralMetaTargetStatusService implements MetaTargetStatusService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaTargetStatusDAO metaTargetStatusDAO;
|
private MetaTargetStatusDAO metaTargetStatusDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetStatus regist(MetaTargetStatus metaTargetStatus) throws OverflowException {
|
||||||
|
return this.metaTargetStatusDAO.save(metaTargetStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetStatus readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaTargetStatusDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaTargetStatus> readAll() throws OverflowException {
|
public List<MetaTargetStatus> readAll() throws OverflowException {
|
||||||
return this.metaTargetStatusDAO.findAll();
|
return this.metaTargetStatusDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaTargetTypeCategoryMappingDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaTargetTypeCategoryMappingDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaTargetTypeCategoryMapping;
|
import com.loafle.overflow.model.meta.MetaTargetTypeCategoryMapping;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaTargetTypeCategoryMappingService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,12 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaTargetTypeCategoryMappingService")
|
@Service("MetaTargetTypeCategoryMappingService")
|
||||||
public class CentralMetaTargetTypeCategoryMappingService {
|
public class CentralMetaTargetTypeCategoryMappingService implements MetaTargetTypeCategoryMappingService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaTargetTypeCategoryMappingDAO metaTargetTypeCategoryMappingDAO;
|
private MetaTargetTypeCategoryMappingDAO metaTargetTypeCategoryMappingDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaTargetTypeCategoryMapping> readAll() throws OverflowException {
|
public List<MetaTargetTypeCategoryMapping> readAll() throws OverflowException {
|
||||||
return this.metaTargetTypeCategoryMappingDAO.findAll();
|
return this.metaTargetTypeCategoryMappingDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaTargetTypeCategoryDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaTargetTypeCategoryDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaTargetTypeCategory;
|
import com.loafle.overflow.model.meta.MetaTargetTypeCategory;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaTargetTypeCategoryService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,22 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaTargetTypeCategoryService")
|
@Service("MetaTargetTypeCategoryService")
|
||||||
public class CentralMetaTargetTypeCategoryService {
|
public class CentralMetaTargetTypeCategoryService implements MetaTargetTypeCategoryService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaTargetTypeCategoryDAO metaTargetTypeCategoryDAO;
|
private MetaTargetTypeCategoryDAO metaTargetTypeCategoryDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetTypeCategory regist(MetaTargetTypeCategory metaTargetTypeCategory) throws OverflowException {
|
||||||
|
return this.metaTargetTypeCategoryDAO.save(metaTargetTypeCategory);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetTypeCategory readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaTargetTypeCategoryDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaTargetTypeCategory> readAll() throws OverflowException {
|
public List<MetaTargetTypeCategory> readAll() throws OverflowException {
|
||||||
return this.metaTargetTypeCategoryDAO.findAll();
|
return this.metaTargetTypeCategoryDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaTargetTypeDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaTargetTypeDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaTargetType;
|
import com.loafle.overflow.model.meta.MetaTargetType;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaTargetTypeService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,11 +14,22 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaTargetTypeService")
|
@Service("MetaTargetTypeService")
|
||||||
public class CentralMetaTargetTypeService {
|
public class CentralMetaTargetTypeService implements MetaTargetTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaTargetTypeDAO metaTargetTypeDAO;
|
private MetaTargetTypeDAO metaTargetTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetType regist(MetaTargetType metaTargetType) throws OverflowException {
|
||||||
|
return this.metaTargetTypeDAO.save(metaTargetType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaTargetTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaTargetType> readAll() throws OverflowException {
|
public List<MetaTargetType> readAll() throws OverflowException {
|
||||||
return this.metaTargetTypeDAO.findAll();
|
return this.metaTargetTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.loafle.overflow.central.module.meta.service;
|
||||||
import com.loafle.overflow.central.module.meta.dao.MetaTargetZoneTypeDAO;
|
import com.loafle.overflow.central.module.meta.dao.MetaTargetZoneTypeDAO;
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.model.meta.MetaTargetZoneType;
|
import com.loafle.overflow.model.meta.MetaTargetZoneType;
|
||||||
|
import com.loafle.overflow.service.central.meta.MetaTargetZoneTypeService;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@ -12,12 +14,23 @@ import java.util.List;
|
||||||
* Created by snoop on 17. 7. 27.
|
* Created by snoop on 17. 7. 27.
|
||||||
*/
|
*/
|
||||||
@Service("MetaTargetZoneTypeService")
|
@Service("MetaTargetZoneTypeService")
|
||||||
public class CentralMetaTargetZoneTypeService {
|
public class CentralMetaTargetZoneTypeService implements MetaTargetZoneTypeService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MetaTargetZoneTypeDAO metaTargetZoneType;
|
private MetaTargetZoneTypeDAO metaTargetZoneTypeDAO;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetZoneType regist(MetaTargetZoneType metaTargetZoneType) throws OverflowException {
|
||||||
|
return this.metaTargetZoneTypeDAO.save(metaTargetZoneType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MetaTargetZoneType readByKey(String key) throws OverflowException {
|
||||||
|
return this.metaTargetZoneTypeDAO.findByKey(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<MetaTargetZoneType> readAll() throws OverflowException {
|
public List<MetaTargetZoneType> readAll() throws OverflowException {
|
||||||
return this.metaTargetZoneType.findAll();
|
return this.metaTargetZoneTypeDAO.findAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user