fixed meta
This commit is contained in:
parent
3efe220425
commit
894877a11e
|
@ -0,0 +1,45 @@
|
|||
package com.loafle.overflow.module.meta.model;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
/**
|
||||
* Created by snoop on 18. 4. 24.
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "META_SENSOR_DISPLAY_MAPPING", schema = "public")
|
||||
public class MetaSensorDisplayMapping {
|
||||
|
||||
private long id;
|
||||
private MetaSensorDisplayItem displayItem;
|
||||
private MetaSensorItemKey itemKey;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "DISPLAY_ITEM_ID", nullable = false)
|
||||
public MetaSensorDisplayItem getDisplayItem() {
|
||||
return displayItem;
|
||||
}
|
||||
|
||||
public void setDisplayItem(MetaSensorDisplayItem displayItem) {
|
||||
this.displayItem = displayItem;
|
||||
}
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "ITEM_KEY_ID", nullable = false)
|
||||
public MetaSensorItemKey getItemKey() {
|
||||
return itemKey;
|
||||
}
|
||||
|
||||
public void setItemKey(MetaSensorItemKey itemKey) {
|
||||
this.itemKey = itemKey;
|
||||
}
|
||||
}
|
|
@ -1,7 +1,17 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaCrawler;
|
||||
import com.loafle.overflow.module.meta.model.MetaCrawlerInputItem;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaCrawlerInputItemService {
|
||||
|
||||
@WebappAPI
|
||||
List<MetaCrawlerInputItem> readAllByMetaCrawler(MetaCrawler metaCrawler) throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaCrawler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaCrawlerService {
|
||||
|
||||
@WebappAPI
|
||||
List<MetaCrawler> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,24 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaHistoryType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaHistoryTypeService {
|
||||
|
||||
@WebappAPI
|
||||
List<MetaHistoryType> readAll() throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
MetaHistoryType regist(MetaHistoryType type) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
List<MetaHistoryType> registAll(List<MetaHistoryType> types) throws OverflowException;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaInfraType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaInfraTypeService {
|
||||
|
||||
@WebappAPI
|
||||
List<MetaInfraType> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaInfraType;
|
||||
import com.loafle.overflow.module.meta.model.MetaInfraVendor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaInfraVendorService {
|
||||
@WebappAPI
|
||||
List<MetaInfraVendor> readAllByMetaInfraType(MetaInfraType infraType) throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaInputType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaInputTypeService {
|
||||
@WebappAPI
|
||||
List<MetaInputType> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaMemberStatus;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaMemberStatusService {
|
||||
@WebappAPI
|
||||
List<MetaMemberStatus> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaNoAuthProbeStatus;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaNoAuthProbeStatusService {
|
||||
@WebappAPI
|
||||
List<MetaNoAuthProbeStatus> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaProbeArchitecture;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaProbeArchitectureService {
|
||||
@WebappAPI
|
||||
List<MetaProbeArchitecture> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaProbeOs;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaProbeOsService {
|
||||
@WebappAPI
|
||||
List<MetaProbeOs> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaProbeOs;
|
||||
import com.loafle.overflow.module.meta.model.MetaProbePackage;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaProbePackageService {
|
||||
@WebappAPI
|
||||
List<MetaProbePackage> readAllByOs(MetaProbeOs metaProbeOs) throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaProbeStatus;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaProbeStatusService {
|
||||
@WebappAPI
|
||||
List<MetaProbeStatus> readAll() throws OverflowException;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaProbeTaskType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaProbeTaskTypeService {
|
||||
@WebappAPI
|
||||
List<MetaProbeTaskType> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaProbeVersion;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaProbeVersionService {
|
||||
@WebappAPI
|
||||
List<MetaProbeVersion> readAll() throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,23 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaCrawler;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorDisplayItem;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by insanity on 17. 9. 20.
|
||||
*/
|
||||
|
||||
public interface MetaSensorDisplayItemService {
|
||||
@WebappAPI
|
||||
MetaSensorDisplayItem regist(MetaSensorDisplayItem item) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
MetaSensorDisplayItem read(long id) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
List<MetaSensorDisplayItem> readAllByCrawler(MetaCrawler crawler) throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorDisplayItem;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorDisplayMapping;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorItemKey;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 18. 4. 24.
|
||||
*/
|
||||
public interface MetaSensorDisplayMappingService {
|
||||
@WebappAPI
|
||||
MetaSensorDisplayMapping regist(MetaSensorDisplayMapping m) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
List<MetaSensorItemKey> findAllByDisplayItem(MetaSensorDisplayItem displayItem) throws OverflowException;
|
||||
}
|
|
@ -1,7 +1,20 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaCrawler;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorItemKey;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 8. 29.
|
||||
*/
|
||||
public interface MetaSensorItemKeyService {
|
||||
@WebappAPI
|
||||
List<MetaSensorItemKey> readAllByCrawler(MetaCrawler metaCrawler) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
Map<Integer, MetaSensorItemKey> readAllMapByCrawler(MetaCrawler metaCrawler) throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorItem;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaSensorItemService {
|
||||
|
||||
@WebappAPI
|
||||
List<MetaSensorItem> readAll() throws OverflowException;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,22 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorItemType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaSensorItemTypeService {
|
||||
@WebappAPI
|
||||
List<MetaSensorItemType> readAll() throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
MetaSensorItemType regist(MetaSensorItemType type) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
List<MetaSensorItemType> registAll(List<MetaSensorItemType> list) throws OverflowException;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorItemUnit;
|
||||
|
||||
/**
|
||||
* Created by insanity on 17. 9. 20.
|
||||
*/
|
||||
public interface MetaSensorItemUnitService {
|
||||
|
||||
@WebappAPI
|
||||
MetaSensorItemUnit regist(MetaSensorItemUnit sensorItemUnit) throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaSensorStatus;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaSensorStatusService {
|
||||
|
||||
@WebappAPI
|
||||
List<MetaSensorStatus> readAll() throws OverflowException;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,20 @@
|
|||
package com.loafle.overflow.module.meta.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.meta.model.MetaInfraVendor;
|
||||
import com.loafle.overflow.module.meta.model.MetaVendorCrawler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by snoop on 17. 7. 27.
|
||||
*/
|
||||
public interface MetaVendorCrawlerService {
|
||||
|
||||
@WebappAPI
|
||||
List<MetaVendorCrawler> readAllByInfraVendor(MetaInfraVendor infraVendor) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
MetaVendorCrawler regist(MetaVendorCrawler metaVendorCrawler) throws OverflowException;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user