@Service @Transactional public class ModelRelationService extends Object
| Constructor and Description |
|---|
ModelRelationService() |
| Modifier and Type | Method and Description |
|---|---|
List<ModelInformation> |
findParentModels(String modelId)
Returns the models which have a
ModelRelation with the given model, where the given model is the one that is referenced. |
List<ModelInformation> |
findReferencedModels(String modelId)
Returns the models which have a
ModelRelation with the given model, where the model references those directly or indirectly. |
public List<ModelInformation> findReferencedModels(String modelId)
ModelRelation with the given model, where the model references those directly or indirectly.
ie modelId here is the parent of the relation.public List<ModelInformation> findParentModels(String modelId)
ModelRelation with the given model, where the given model is the one that is referenced.
ie modelId is the child of the relationCopyright © 2018 Flowable. All rights reserved.