Package org.flowable.ui.modeler.service
Class ModelRelationService
- java.lang.Object
-
- org.flowable.ui.modeler.service.ModelRelationService
-
@Service @Transactional public class ModelRelationService extends Object
- Author:
- Joram Barrez
-
-
Constructor Summary
Constructors Constructor Description ModelRelationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ModelInformation>findParentModels(String modelId)Returns the models which have aModelRelationwith the given model, where the given model is the one that is referenced.List<ModelInformation>findReferencedModels(String modelId)Returns the models which have aModelRelationwith the given model, where the model references those directly or indirectly.
-
-
-
Method Detail
-
findReferencedModels
public List<ModelInformation> findReferencedModels(String modelId)
Returns the models which have aModelRelationwith the given model, where the model references those directly or indirectly. ie modelId here is the parent of the relation.
-
findParentModels
public List<ModelInformation> findParentModels(String modelId)
Returns the models which have aModelRelationwith the given model, where the given model is the one that is referenced. ie modelId is the child of the relation
-
-