diff --git a/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverMapper.java b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverMapper.java index 990e59fb12655c64b9e4aca5b5ff804440d9aeb7..ba653c0857dd9b63b7250d92c741f122ae13b6e6 100644 --- a/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverMapper.java +++ b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverMapper.java @@ -15,11 +15,7 @@ package neatlogic.framework.cmdb.crossover; import neatlogic.framework.cmdb.dto.resourcecenter.config.ResourceEntityVo; import neatlogic.framework.crossover.ICrossoverService; -import java.util.List; - public interface IResourceEntityCrossoverMapper extends ICrossoverService { ResourceEntityVo getResourceEntityByName(String name); - - List getAllResourceTypeCiIdList(); } diff --git a/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverService.java b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverService.java new file mode 100644 index 0000000000000000000000000000000000000000..5594e80c3cefef5fe70968e3fc0349d75154a1f5 --- /dev/null +++ b/src/main/java/neatlogic/framework/cmdb/crossover/IResourceEntityCrossoverService.java @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2025 TechSure Co., Ltd. All Rights Reserved. + * This file is part of the NeatLogic software. + * Licensed under the NeatLogic Sustainable Use License (NSUL), Version 4.x – 2025. + * You may use this file only in compliance with the License. + * See the LICENSE file distributed with this work for the full license text. + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + */ + +package neatlogic.framework.cmdb.crossover; + +import neatlogic.framework.cmdb.dto.ci.CiVo; +import neatlogic.framework.crossover.ICrossoverService; + +public interface IResourceEntityCrossoverService extends ICrossoverService { + + CiVo getAssetListRootCi(); + + CiVo getViewRootCi(String viewName); +}