You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
715 B
Java
32 lines
715 B
Java
10 months ago
|
package com.supervision.neo4j.service;
|
||
|
|
||
|
import com.supervision.common.domain.R;
|
||
|
import com.supervision.neo4j.domain.CaseNode;
|
||
|
import com.supervision.neo4j.domain.Rel;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* @author qmy
|
||
|
* @since 2023-10-26
|
||
|
*/
|
||
|
public interface Neo4jService {
|
||
|
|
||
|
R<?> save(CaseNode caseNode);
|
||
|
|
||
|
R<?> delNode(Long id);
|
||
|
|
||
|
CaseNode findById(Long id);
|
||
|
|
||
|
List<CaseNode> findByName(String caseId, String recordId, String nodeType, String name, String picType);
|
||
|
CaseNode findOneByName(String caseId, String recordId, String nodeType, String name, String picType);
|
||
|
|
||
|
Rel findRelation(Rel rel);
|
||
|
|
||
|
R<?> saveRelation(Rel rel);
|
||
|
|
||
|
R<?> getNode(String picType, String caseId);
|
||
|
|
||
|
R<?> test();
|
||
|
}
|