public interface IArcService extends IBaseDomainObjectService<Arc>
限定符和类型 | 方法和说明 |
---|---|
List<Arc> |
getArcs(long parentId,
String parentType)
根据父对象的id和父对象的类型,获得所有父对象所包含的arc
|
Arc |
getByName(String name)
根据arc的名字获得Arc信息
|
Arc |
getByNameAndParentIdAndParentType(String name,
long parentId,
String parentType)
根据arc的名称和父对象的信息获得arc
|
Arc |
getByNameAndParentType(String name,
String parentType)
根据arc 的名字和父对象类型,获得arc
|
List<Arc> |
getByParent(long parentId,
String parentType)
根据父节点类型和父节点id,获得所有该对象所拥有的arc信息
|
List<Arc> |
getInComingArcs(long parentId,
String parentType,
long connectableId,
String nodeType)
根据当前的节点,获得上游的arc
|
List<? extends Connectable<?>> |
getIncomingByToNode(long parentId,
String parentType,
long connectableId,
String nodeType)
根据当前的节点,获得上游对象的节点
|
List<Arc> |
getOutgoingArcs(long parentId,
String parentType,
long connectableId,
String nodeType)
根据当前的节点,获得下游的arc
|
List<? extends Connectable<?>> |
getOutgoingByFromNode(long parentId,
String parentType,
long connectableId,
String nodeType)
根据当前的节点,获得下游的节点对象
|
Arc |
getOutgoingMainArcByFromStep(long parentId,
long fromNodeId)
通过父对象的id和当前节点的id,获得下游的arc
|
List<Arc> |
listByConnectable(long connectableId,
String connectableType)
根据节点的id和类型信息,获得该对象所有的arc
|
List<Arc> |
listIncomingMainArcByToQueue(long parentId,
long toNodeId)
通过父对象的id和当前节点的id,获得上游的arc
|
void |
saveArc(long parentId,
String parentObjectType,
List<Arc> arcList)
保存父对象的arc
|
countByFilter, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAll
List<Arc> getByParent(long parentId, String parentType)
parentId
- 父节点的id,如果想要获得route的arc,那么这个id就是route的idparentType
- 父节点的类型,如果是要获得route的arc,那么这个值就是MesObjectType。Route。getName(),如果是productionline,那么这个值就应该是MesObjectType。ProductionLine。getName()List<? extends Connectable<?>> getIncomingByToNode(long parentId, String parentType, long connectableId, String nodeType)
parentId
- 包含当前节点的父对象parentType
- 父对象的类型connectableId
- 当前节点的id,如果当前节点是routestep,那么该id就是routestep的idnodeType
- 当前节点的node type,如果当前节点是routestep,那么该值就是MesObjectType。RouteStep。getClazz()List<Arc> getOutgoingArcs(long parentId, String parentType, long connectableId, String nodeType)
parentId
- 包含当前节点的父对象parentType
- 父对象的类型connectableId
- 当前节点的id,如果当前节点是routestep,那么该id就是routestep的idnodeType
- 当前节点的node type,如果当前节点是routestep,那么该值就是MesObjectType。RouteStep。getClazz()List<? extends Connectable<?>> getOutgoingByFromNode(long parentId, String parentType, long connectableId, String nodeType)
parentId
- 父节点的id,如果想要获得route的arc,那么这个id就是route的idparentType
- 父节点的类型,如果是要获得route的arc,那么这个值就是MesObjectType。Route。getName(),如果是productionline,那么这个值就应该是MesObjectType。ProductionLine。getName()connectableId
- 当前节点的id,如果当前节点是routestep,那么该id就是routestep的idnodeType
- 当前节点的node type,如果当前节点是routestep,那么该值就是MesObjectType。RouteStep。getClazz()List<Arc> getInComingArcs(long parentId, String parentType, long connectableId, String nodeType)
parentId
- 父节点的id,如果想要获得route的arc,那么这个id就是route的idparentType
- 父节点的类型,如果是要获得route的arc,那么这个值就是MesObjectType。Route。getName(),如果是productionline,那么这个值就应该是MesObjectType。ProductionLine。getName()connectableId
- 当前节点的id,如果当前节点是routestep,那么该id就是routestep的idnodeType
- 当前节点的node type,如果当前节点是routestep,那么该值就是MesObjectType。RouteStep。getClazz()List<Arc> getArcs(long parentId, String parentType)
parentId
- 父节点的id,如果想要获得route的arc,那么这个id就是route的idparentType
- 父节点的类型,如果是要获得route的arc,那么这个值就是MesObjectType。Route。getName(),如果是productionline,那么这个值就应该是MesObjectType。ProductionLine。getName()void saveArc(long parentId, String parentObjectType, List<Arc> arcList)
parentId
- 父节点的id,如果想要获得route的arc,那么这个id就是route的idparentObjectType
- 父节点的类型,如果是要获得route的arc,那么这个值就是MesObjectType。Route。getName(),如果是productionline,那么这个值就应该是MesObjectType。ProductionLine。getName()arcList
- 要保存的arc清单Arc getByNameAndParentType(String name, String parentType)
name
- arc的名称parentType
- 父节点的类型,如果是要获得route的arc,那么这个值就是MesObjectType。Route。getName(),如果是productionline,那么这个值就应该是MesObjectType。ProductionLine。getName()Arc getByNameAndParentIdAndParentType(String name, long parentId, String parentType)
name
- parentId
- 父节点的id,如果想要获得route的arc,那么这个id就是route的idparentType
- 父节点的类型,如果是要获得route的arc,那么这个值就是MesObjectType。Route。getName(),如果是productionline,那么这个值就应该是MesObjectType。ProductionLine。getName()List<Arc> listByConnectable(long connectableId, String connectableType)
connectableId
- 当前节点的id,如果当前节点是routestep,那么该id就是routestep的idconnectableType
- 当前节点的node type,如果当前节点是routestep,那么该值就是MesObjectType。RouteStep。getClazz()List<Arc> listIncomingMainArcByToQueue(long parentId, long toNodeId)
parentId
- 父节点的id,如果想要获得route的arc,那么这个id就是route的idtoNodeId
- 当前节点的idArc getOutgoingMainArcByFromStep(long parentId, long fromNodeId)
parentId
- 父节点的id,如果想要获得route的arc,那么这个id就是route的idfromNodeId
- 当前节点的idCopyright © 2019. All rights reserved.