Service for IntraComponentDependencySpecifications. Provides functions to create, update and delete
Parameters
the associated repository used for CRUD functionality
used to get ComponentVersions by id
used to get Interfaces by id
used to get InterfaceParts by id
used to get IntraComponentDependencyParticipants by id
used to get IntraComponentDependencySpecificationTypes by id
Constructors
Properties
Injected, used for the checkPermission function
Injected, used to get a user based on a GropiusAuthorizationContext
Functions
Checks if the user defined by authorizationContext is a global admin
Checks if the permission is granted on node If checkPermission on the permission.context is false, no permission is evaluated Does not handle the case that the user is an admin
Checks if the IntraComponentDependencySpecificationType is compatible with the IntraComponentDependencySpecification
Creates a IntraComponentDependencyParticipant based on the provided input Does not check the authorization status Does not save the created IntraComponentDependencyParticipant
Creates a new IntraComponentDependencySpecification based on the provided input Checks the authorization status
Deletes a IntraComponentDependencySpecification by id Checks the authorization status
Evaluates if the permission is granted on node If checkPermission on the permission.context is false, no permission is evaluated Does not handle the case that the user is an admin
Gets a GropiusUser based on the userId from the authorizationContext
Removes IntraComponentDependencyParticipant from either incoming or outgoing participants Validates that all participants to remove are actually in part of the property
Updates a IntraComponentDependencySpecification based on the provided input Checks the authorization status
Updates the incoming and outgoing participants of intraComponentDependencySpecification based on input Does not check the authorization status