Base class for services for subclasses of Trackable
Parameters
the associated repository used for CRUD functionality
Inheritors
Properties
Injected ArtefactRepository
Injected, used for the checkPermission function
Injected, used to get a user based on a GropiusAuthorizationContext
Injected IMSProjectService
Injected IssueService
Injected LabelRepository
Injected NodeRepository
Functions
Must be called before node is deleted via the repository Deletes all Artefacts Deletes Labels and Issues, if only present on this Trackable
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
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
Updates node based on input Calls updateNamedAffectedByIssue Updates repositoryURL